Skip to content

Commit ba970d8

Browse files
authored
Temporary pin psycopg2-binary version for macOS (patroni#3186)
1 parent ff27870 commit ba970d8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/install_deps.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ def install_requirements(what):
2525
requirements += ['coverage']
2626
# try to split tests between psycopg2 and psycopg3
2727
requirements += ['psycopg[binary]'] if sys.version_info >= (3, 8, 0) and\
28-
(sys.platform != 'darwin' or what == 'etcd3') else ['psycopg2-binary']
28+
(sys.platform != 'darwin' or what == 'etcd3') else ['psycopg2-binary==2.9.9'
29+
if sys.platform == 'darwin' else 'psycopg2-binary']
2930
for r in read('requirements.txt').split('\n'):
3031
r = r.strip()
3132
if r != '':

requirements.dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
psycopg2-binary==2.9.9; sys_platform == "darwin"
12
psycopg2-binary
23
behave
34
coverage

requirements.docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ sphinx_rtd_theme>1
33
sphinxcontrib-apidoc
44
sphinx-github-style<1.0.3
55
psycopg[binary]
6+
psycopg2-binary==2.9.9; sys_platform == "darwin"
67
psycopg2-binary

0 commit comments

Comments
 (0)