Skip to content

Commit 8beff2a

Browse files
committed
fix: upgrade setuptools and wheel before installing deps. Upgrade psycopg2 to latest version (2.9.3) if possible.
1 parent 5bd65e8 commit 8beff2a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
Start-Process -FilePath "$env:PGBIN\pg_isready" -Wait -PassThru
5959
& $env:PGBIN\psql --command="ALTER USER postgres WITH PASSWORD '123456'" --command="\du"
6060
61+
- name: Upgrade install tools
62+
run: python -m pip install --upgrade setuptools wheel
63+
6164
- name: Install dependencies
6265
run: |
6366
pip install -r requirements.txt

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
casbin>=0.8.4
2-
psycopg2-binary==2.8.6
2+
psycopg2-binary>=2.8.6<=2.9.3

0 commit comments

Comments
 (0)