Skip to content

Commit

Permalink
requirements: Upgrade psycopg2 to 2.7.3.4.
Browse files Browse the repository at this point in the history
psycopg2 package contains both binary and source
currently.The binary would soon be only available
in psycopg2-binary. So currently installing psycopg2
will show a warning about the future migration of binary.
To avoid the warning we should only install the source.

https://www.postgresql.org/message-id/CA%2Bmi_8bd6kJHL
TGkuyHSnqcgDrJ1uHgQWvXCKQFD3tPQBUa2Bw%40mail.gmail.com
  • Loading branch information
hackerkid authored and timabbott committed Feb 21, 2018
1 parent b17d4e1 commit 7d3b41b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/common.in
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ndg-httpsclient==0.4.4
pika==0.11.0

# Needed to access our database
psycopg2==2.7.3.2
psycopg2==2.7.4 --no-binary psycopg2

pyasn1==0.4.2
pyasn1-modules==0.2.1
Expand Down
4 changes: 3 additions & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#
# For details, see requirements/README.md .
#
--no-binary psycopg2

git+https://github.com/zulip/talon.git@7d8bdc4dbcfcc5a73298747293b99fe53da55315#egg=talon==1.2.10.zulip1
git+https://github.com/zulip/ultrajson@70ac02bec#egg=ujson==1.35+git
git+https://github.com/zulip/virtualenv-clone.git@44e831da39ffb6b9bb5c7d103d98babccdca0456#egg=virtualenv-clone==0.2.6.zulip1
Expand Down Expand Up @@ -106,7 +108,7 @@ polib==1.1.0
premailer==3.1.1
prompt-toolkit==1.0.15 # via ipython
psutil==5.4.1 # via mypy
psycopg2==2.7.3.2
psycopg2==2.7.4
ptyprocess==0.5.2 # via pexpect
py3dns==3.1.0
pyaml==17.10.0 # via moto
Expand Down
4 changes: 3 additions & 1 deletion requirements/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#
# For details, see requirements/README.md .
#
--no-binary psycopg2

git+https://github.com/zulip/talon.git@7d8bdc4dbcfcc5a73298747293b99fe53da55315#egg=talon==1.2.10.zulip1
git+https://github.com/zulip/ultrajson@70ac02bec#egg=ujson==1.35+git
git+https://github.com/zulip/virtualenv-clone.git@44e831da39ffb6b9bb5c7d103d98babccdca0456#egg=virtualenv-clone==0.2.6.zulip1
Expand Down Expand Up @@ -74,7 +76,7 @@ pillow==5.0.0
polib==1.1.0
premailer==3.1.1
prompt-toolkit==1.0.15 # via ipython
psycopg2==2.7.3.2
psycopg2==2.7.4
ptyprocess==0.5.2 # via pexpect
py3dns==3.1.0
pyasn1-modules==0.2.1
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
# Typically, adding a dependency only requires a minor version bump, and
# removing a dependency requires a major version bump.

PROVISION_VERSION = '15.0'
PROVISION_VERSION = '15.1'

0 comments on commit 7d3b41b

Please sign in to comment.