Skip to content

Commit

Permalink
install setuptools in unit tests workflow
Browse files Browse the repository at this point in the history
Fix unit tests failing with Python 3.12 by installing setuptools package
explicitly. Since Python 3.12 ensurepip no longer provides setuptools,
and it's not installed by default in a virtual environment anymore.

https://docs.python.org/dev/whatsnew/3.12.html#ensurepip
  • Loading branch information
arcctgx committed Aug 4, 2024
1 parent f125a0d commit 5a83a70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
run: |
python3 --version
python3 -m pip install --upgrade pip
pip3 install setuptools
pip3 install -r requirements.txt
pip3 list
Expand Down

0 comments on commit 5a83a70

Please sign in to comment.