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']
|
requirements += ['coverage']
|
||||||
# try to split tests between psycopg2 and psycopg3
|
# try to split tests between psycopg2 and psycopg3
|
||||||
requirements += ['psycopg[binary]'] if sys.version_info >= (3, 8, 0) and\
|
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'):
|
for r in read('requirements.txt').split('\n'):
|
||||||
r = r.strip()
|
r = r.strip()
|
||||||
if r != '':
|
if r != '':
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
psycopg2-binary==2.9.9; sys_platform == "darwin"
|
||||||
psycopg2-binary
|
psycopg2-binary
|
||||||
behave
|
behave
|
||||||
coverage
|
coverage
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ sphinx_rtd_theme>1
|
|||||||
sphinxcontrib-apidoc
|
sphinxcontrib-apidoc
|
||||||
sphinx-github-style<1.0.3
|
sphinx-github-style<1.0.3
|
||||||
psycopg[binary]
|
psycopg[binary]
|
||||||
|
psycopg2-binary==2.9.9; sys_platform == "darwin"
|
||||||
psycopg2-binary
|
psycopg2-binary
|
||||||
|
|||||||
Reference in New Issue
Block a user