diff --git a/docs/source/conf.py b/docs/source/conf.py index da65266..3b1fe93 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -56,9 +56,9 @@ # built documents. # # The short X.Y version. -version = '3.0' +version = '3.1' # The full version, including alpha/beta/rc tags. -release = '3.0' +release = '3.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pyproject.toml b/pyproject.toml index 56435e4..591deac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "wrds" -version = "3.1.0" +version = "3.1.1" description = "Python access to WRDS Data" authors = [ "Eric Stein ", diff --git a/setup.py b/setup.py index 8b60903..b9bbfda 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ setup( name='wrds', - version='3.1.0', + version='3.1.1', description="Python access to WRDS Data", long_description=open('README.rst').read(), author='WRDS', diff --git a/wrds/__init__.py b/wrds/__init__.py index 2e58b4b..771e18a 100644 --- a/wrds/__init__.py +++ b/wrds/__init__.py @@ -25,7 +25,7 @@ """ __title__ = 'wrds-py' -__version__ = '3.1.0' +__version__ = '3.1.1' __author__ = 'Wharton Research Data Services' __copyright__ = '2017-2021 Wharton Research Data Services' diff --git a/wrds/sql.py b/wrds/sql.py index e5ced77..66f3a14 100644 --- a/wrds/sql.py +++ b/wrds/sql.py @@ -5,6 +5,7 @@ import stat import pandas as pd import sqlalchemy as sa +import urllib.parse from wrds import __version__ as wrds_version from sys import version_info @@ -110,7 +111,7 @@ def connect(self): self.engine = sa.create_engine( pghost.format( usr=self._username, - pwd=self._password, + pwd=urllib.parse.quote_plus(self._password), host=self._hostname, port=self._port, dbname=self._dbname),