Skip to content

Commit

Permalink
upgrade psycopg2 to >=2.7 to handle postgres >=10
Browse files Browse the repository at this point in the history
psycopg2<2.7 looks for the a postgres version like x.xx which
unfortunately crashes trying to match 10.xx see
psycopg/psycopg2#594
  • Loading branch information
Alex Riina committed Jan 18, 2019
1 parent 888777e commit 4068c33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest-django>=2.8.0
pytest>=2.7.3
coverage>=3.7.1

psycopg2>=2.6
psycopg2>=2.7
psycopg2cffi>=2.6.1

Sphinx>=1.3.1
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ deps =
django110: Django>=1.10,<1.11
django111: Django>=1.11a1,<2
djangotrunk: https://github.com/django/django/tarball/master
py{26,27,33,34,35,36}-pg: psycopg2==2.6
py{26,27,33,34,35,36}-pg: psycopg2>=2.7
{pypy,pypy3}-pg: psycopg2cffi==2.6.1
mysql: MySQL-python==1.2.5
# Older PyPy versions (and all released PyPy3 versions) don't work with cryptography 1.0
Expand Down

0 comments on commit 4068c33

Please sign in to comment.