Skip to content

Commit

Permalink
fix: upgrade setuptools and wheel before installing deps. Upgrade psy…
Browse files Browse the repository at this point in the history
…copg2 to latest version (2.9.3) if possible.
  • Loading branch information
Tyskiep99 committed Feb 5, 2022
1 parent 5bd65e8 commit 8beff2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
Start-Process -FilePath "$env:PGBIN\pg_isready" -Wait -PassThru
& $env:PGBIN\psql --command="ALTER USER postgres WITH PASSWORD '123456'" --command="\du"
- name: Upgrade install tools
run: python -m pip install --upgrade setuptools wheel

- name: Install dependencies
run: |
pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
casbin>=0.8.4
psycopg2-binary==2.8.6
psycopg2-binary>=2.8.6<=2.9.3

0 comments on commit 8beff2a

Please sign in to comment.