Skip to content

Commit

Permalink
Revert "CI: Avoid Python 3.11.4 for unpacking sdist"
Browse files Browse the repository at this point in the history
This reverts commit 3c94f8c.

This was not the correct way to specify a Python version, and I can't be
bothered to figure out the correct way, as this issue will be fixed in
build 1.0.1.

See bug report pypa/build#674
and fix pypa/build#675
  • Loading branch information
effigies committed Sep 6, 2023
1 parent 3c94f8c commit 1843355
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
# Bug in 3.11.4 tarfile extraction can break python -m build
python-version: '>=3, != 3.11.4'
python-version: 3
- run: pip install --upgrade build twine
- name: Build sdist and wheel
run: python -m build
Expand Down Expand Up @@ -80,8 +79,7 @@ jobs:
path: archive/
- uses: actions/setup-python@v4
with:
# Bug in 3.11.4 tarfile extraction may break sdist installation
python-version: '>=3, != 3.11.4'
python-version: 3
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Update pip
Expand Down

0 comments on commit 1843355

Please sign in to comment.