Skip to content

Commit 86d38bb

Browse files
chore: prevent renovate-bot from updating psycopg2-binary to 2.9.10 (#468)
#465 didn't work. It created #467, which wants to update the package to 2.9.10. So checking if updating the renovate.json file will help.
1 parent a616180 commit 86d38bb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/renovate.json5

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,9 @@
2828
"matchLanguages": ["python"],
2929
"matchUpdateTypes": ["minor", "patch"],
3030
},
31+
{
32+
"matchPackageNames": ["psycopg2-binary"],
33+
"allowedVersions": "!/2.9.10/"
34+
},
3135
],
3236
}

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.10 on Python 3.9 for macos-latest runner.
10-
psycopg2-binary<2.9.10; python_version == "3.9" and sys_platform == "darwin"
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"
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)