Skip to content

Commit

Permalink
Install setuptools for Python 3.12 (only)
Browse files Browse the repository at this point in the history
This (or "pip install build" with "python -m build") is needed
for Python 3.12 with "python setup.py sdist"
  • Loading branch information
bartoldeman committed Mar 13, 2024
1 parent 7c71a87 commit 1d4ede3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/eb_command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
# update to latest pip, check version
pip install --upgrade pip
pip --version
if [[ "${{matrix.python}}" == 3.12 ]]; then
# needed for python setup.py sdist
pip install --upgrade setuptools
fi
# for modules tool
APT_PKGS="lua5.2 liblua5.2-dev lua-filesystem lua-posix tcl tcl-dev"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ jobs:
pip install --upgrade pip
pip --version
pip install -r requirements.txt
if [[ "${{matrix.python}}" == 3.12 ]]; then
# needed for python setup.py sdist
pip install --upgrade setuptools
fi
# git config is required to make actual git commits (cfr. tests for GitRepository)
git config --global user.name "Travis CI"
git config --global user.email "[email protected]"
Expand Down

0 comments on commit 1d4ede3

Please sign in to comment.