mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 07:20:20 +00:00
Temporary pin psycopg2-binary version for macOS (#3186)
This commit is contained in:
@@ -25,7 +25,8 @@ def install_requirements(what):
|
||||
requirements += ['coverage']
|
||||
# try to split tests between psycopg2 and psycopg3
|
||||
requirements += ['psycopg[binary]'] if sys.version_info >= (3, 8, 0) and\
|
||||
(sys.platform != 'darwin' or what == 'etcd3') else ['psycopg2-binary']
|
||||
(sys.platform != 'darwin' or what == 'etcd3') else ['psycopg2-binary==2.9.9'
|
||||
if sys.platform == 'darwin' else 'psycopg2-binary']
|
||||
for r in read('requirements.txt').split('\n'):
|
||||
r = r.strip()
|
||||
if r != '':
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
psycopg2-binary==2.9.9; sys_platform == "darwin"
|
||||
psycopg2-binary
|
||||
behave
|
||||
coverage
|
||||
|
||||
@@ -3,4 +3,5 @@ sphinx_rtd_theme>1
|
||||
sphinxcontrib-apidoc
|
||||
sphinx-github-style<1.0.3
|
||||
psycopg[binary]
|
||||
psycopg2-binary==2.9.9; sys_platform == "darwin"
|
||||
psycopg2-binary
|
||||
|
||||
Reference in New Issue
Block a user