Skip to content

Commit

Permalink
Remove PYTHONWARNINGS=error during build
Browse files Browse the repository at this point in the history
build uses pip to install dependencies, and pip raises a
deprecation warning (see pypa/pip#12243).
  • Loading branch information
henriquegemignani committed Sep 10, 2023
1 parent 21b11c8 commit 99183fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:
run: python -m pip install --upgrade build

- name: build
run: PYTHONWARNINGS=error python -m build
# Not adding PYTHONWARNINGS=error as it can trigger errors in pip itself
# See https://github.com/pypa/pip/issues/12243
run: python -m build

- name: Store the packages
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 99183fd

Please sign in to comment.