Skip to content

Commit

Permalink
fix: pin setuptools to <66.0.0
Browse files Browse the repository at this point in the history
The setuptools 66.0.0 requires PEP 440 compatible version numbers.
On the GitHub action the test phase fails as some package has
non-conforming version string. The setuptools does not log
the package, just the offending version string.
Fix is to pin the setuptools to previous version and wait
for the upstream to be more lenient or Ubuntu runner to
be fixed.

See: pypa/setuptools#3772
  • Loading branch information
jjaakola-aiven committed Jan 18, 2023
1 parent 8d5ffe7 commit 85b5252
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ jobs:
- id: dependencies
run: |
python -m pip install --upgrade pip==21.2.4
# Pin the setuptools until upstream issue is either fixed
# or the underlying GH actions operating system fixed.
# See https://github.com/pypa/setuptools/issues/3772
pip install setuptools<66.0.0
pip install pytest
pip install -e .
pytest -vv tests/

0 comments on commit 85b5252

Please sign in to comment.