Skip to content

Commit

Permalink
CI: install setuptools and wheel for py>=3.12 in Manylinux_2_28 and D…
Browse files Browse the repository at this point in the history
…raftRelease
  • Loading branch information
ptheywood committed Oct 21, 2024
1 parent 943e244 commit 42f3959
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/Draft-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,11 @@ jobs:
- name: Add custom problem matchers for annotations
run: echo "::add-matcher::.github/problem-matchers.json"

- name: Install setuptools and wheel
if: ${{ env.PYTHON >= 3.12 }}
run: |
python${{env.PYTHON}} -m pip install setuptools wheel
# This patches a bug where ManyLinux doesn't generate buildnumber as git dir is owned by diff user
- name: Enable git safe-directory
run: git config --global --add safe.directory $GITHUB_WORKSPACE
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/Manylinux_2_28.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ jobs:
- name: Add custom problem matchers for annotations
run: echo "::add-matcher::.github/problem-matchers.json"

- name: Install setuptools and wheel
if: ${{ env.PYTHON >= 3.12 }}
run: |
python${{env.PYTHON}} -m pip install setuptools wheel
# This patches a bug where ManyLinux doesn't generate buildnumber as git dir is owned by diff user
- name: Enable git safe-directory
run: git config --global --add safe.directory $GITHUB_WORKSPACE
Expand Down

0 comments on commit 42f3959

Please sign in to comment.