Skip to content

Commit a616180

Browse files
chore: prevent renovate-bot from updating psycopg2-binary version (#465)
Currently, renovate-bot creates PRs like #464, which are updating the psycopg2-binary package's version from 2.9.9 to 2.9.10 for Python 3.9 and Darwin. We don't want this update to happen. So setting the version to `<2.9.10` to check if renovate-bot prevents changing this.
1 parent fcdb69f commit a616180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

requirements-test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ pg8000==1.31.2
66
# It is supported for macos-12 runner:
77
# https://github.com/psycopg/psycopg2/issues/1737. But macos-12 runner is
88
# deprecated: https://github.com/actions/runner-images/issues/10721. So we
9-
# install psycopg 2.9.9 on Python 3.9 for macos-latest runner.
10-
psycopg2-binary==2.9.9; python_version == "3.9" and sys_platform == "darwin"
9+
# install psycopg <2.9.10 on Python 3.9 for macos-latest runner.
10+
psycopg2-binary<2.9.10; python_version == "3.9" and sys_platform == "darwin"
1111
psycopg2-binary==2.9.10; python_version != "3.9" or sys_platform != "darwin"
1212

1313
pytest==8.4.1

0 commit comments

Comments
 (0)