Skip to content

Commit 51acc74

Browse files
committed
Use psycopg2 on 32 bit windows
We use psycopg2-binary everywhere else
1 parent 8255469 commit 51acc74

6 files changed

Lines changed: 17 additions & 6 deletions

File tree

requirements/static/ci/common.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,5 @@ genshi>=0.7.3
6464
cheetah3>=3.2.2
6565
mako
6666
wempy
67-
psycopg2-binary
67+
psycopg2-binary; sys_platform != 'win32' or platform_machine != 'x86'
68+
psycopg2; sys_platform == 'win32' and platform_machine == 'x86'

requirements/static/ci/py3.10/freebsd.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,9 @@ psutil==5.9.6
336336
# pytest-salt-factories
337337
# pytest-shell-utilities
338338
# pytest-system-statistics
339-
psycopg2-binary==2.9.11
339+
psycopg2==2.9.11 ; platform_machine == 'x86' and sys_platform == 'win32'
340+
# via -r requirements/static/ci/common.in
341+
psycopg2-binary==2.9.11 ; platform_machine != 'x86' or sys_platform != 'win32'
340342
# via -r requirements/static/ci/common.in
341343
pyasn1==0.6.2
342344
# via

requirements/static/ci/py3.11/freebsd.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ psutil==5.9.6
329329
# pytest-salt-factories
330330
# pytest-shell-utilities
331331
# pytest-system-statistics
332-
psycopg2-binary==2.9.11
332+
psycopg2==2.9.11 ; platform_machine == 'x86' and sys_platform == 'win32'
333+
# via -r requirements/static/ci/common.in
334+
psycopg2-binary==2.9.11 ; platform_machine != 'x86' or sys_platform != 'win32'
333335
# via -r requirements/static/ci/common.in
334336
pyasn1==0.6.2
335337
# via

requirements/static/ci/py3.12/freebsd.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,9 @@ psutil==5.9.6
325325
# pytest-salt-factories
326326
# pytest-shell-utilities
327327
# pytest-system-statistics
328-
psycopg2-binary==2.9.11
328+
psycopg2==2.9.11 ; platform_machine == 'x86' and sys_platform == 'win32'
329+
# via -r requirements/static/ci/common.in
330+
psycopg2-binary==2.9.11 ; platform_machine != 'x86' or sys_platform != 'win32'
329331
# via -r requirements/static/ci/common.in
330332
pyasn1==0.6.2
331333
# via

requirements/static/ci/py3.13/freebsd.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,9 @@ psutil==6.1.0
321321
# pytest-salt-factories
322322
# pytest-shell-utilities
323323
# pytest-system-statistics
324-
psycopg2-binary==2.9.11
324+
psycopg2==2.9.11 ; platform_machine == 'x86' and sys_platform == 'win32'
325+
# via -r requirements/static/ci/common.in
326+
psycopg2-binary==2.9.11 ; platform_machine != 'x86' or sys_platform != 'win32'
325327
# via -r requirements/static/ci/common.in
326328
pyasn1==0.6.2
327329
# via

requirements/static/ci/py3.9/freebsd.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,9 @@ psutil==5.9.6
384384
# pytest-salt-factories
385385
# pytest-shell-utilities
386386
# pytest-system-statistics
387-
psycopg2-binary==2.9.11
387+
psycopg2==2.9.11 ; platform_machine == 'x86' and sys_platform == 'win32'
388+
# via -r requirements/static/ci/common.in
389+
psycopg2-binary==2.9.11 ; platform_machine != 'x86' or sys_platform != 'win32'
388390
# via -r requirements/static/ci/common.in
389391
pyasn1==0.6.2
390392
# via

0 commit comments

Comments
 (0)