Skip to content

Commit

Permalink
Build eggs for python 3.12 in release workflow fix
Browse files Browse the repository at this point in the history
From the python 3.12 the setuptools are not part of python and needs to be
installed separately. Let's update the release workflow to handle this issue
until avocado-framework#5754 will be fixed.

Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed Mar 26, 2024
1 parent 0d09867 commit 51b3bab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Build eggs
run: make -f Makefile.gh build-egg
run: |
if python -c 'import sys; exit(0) if sys.version_info.minor > 11 else exit(1)' ; then
pip install setuptools
fi
make -f Makefile.gh build-egg
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit 51b3bab

Please sign in to comment.