Skip to content

Commit

Permalink
Merge pull request #4841 from bzar/upgrade-psycopg2-2.8.2
Browse files Browse the repository at this point in the history
Upgrade psycopg2, fixes #4837
  • Loading branch information
amercader committed Jul 1, 2019
2 parents 8d0d0a1 + 8264104 commit b629833
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Expand Up @@ -286,7 +286,7 @@ General notes:
This is due to a bug in the psycopg2 version pinned to the release. To solve
it, upgrade psycopg2 with the following command::

pip install --upgrade psycopg2==2.7.3.2
pip install --upgrade psycopg2==2.8.2

* This release does not require a Solr schema upgrade, but if you are having the
issues described in #3863 (datasets wrongly indexed in multilingual setups),
Expand Down
2 changes: 1 addition & 1 deletion ckanext/datastore/backend/postgres.py
Expand Up @@ -316,7 +316,7 @@ def _cache_types(connection):
# redo cache types with json now available.
return _cache_types(connection)

register_composite('nested', connection.connection, True)
register_composite('nested', connection.connection.connection, True)


def _pg_version_is_at_least(connection, version):
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Expand Up @@ -13,7 +13,7 @@ passlib==1.6.5
paste==1.7.5.1
PasteScript==2.0.2
polib==1.0.7
psycopg2==2.7.3.2
psycopg2==2.8.2
python-magic==0.4.15
pysolr==3.6.0
Pylons==0.9.7
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -30,7 +30,7 @@ pastedeploy==2.0.1 # via pastescript, pylons
pastescript==2.0.2
pbr==5.2.0 # via sqlalchemy-migrate
polib==1.0.7
psycopg2==2.7.3.2
psycopg2==2.8.2
pygments==2.3.1 # via weberror
pylons==0.9.7
pysolr==3.6.0
Expand Down

0 comments on commit b629833

Please sign in to comment.