Skip to content

Commit

Permalink
Add --use-pep517 flag in pip install
Browse files Browse the repository at this point in the history
Due to warnings such as this:
DEPRECATION: psycopg2 is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
  • Loading branch information
danipran committed Mar 9, 2023
1 parent ccec13c commit 083651d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install codecov -r requirements.txt -r dev-requirements.txt
pip install --use-pep517 codecov -r requirements.txt -r dev-requirements.txt
- name: Configure sysctl limits
run: |
Expand Down

0 comments on commit 083651d

Please sign in to comment.