Skip to content

Commit 3c94f8c

Browse files
committed
CI: Avoid Python 3.11.4 for unpacking sdist
1 parent 8fea2a8 commit 3c94f8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/stable.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
fetch-depth: 0
4141
- uses: actions/setup-python@v4
4242
with:
43-
python-version: 3
43+
# Bug in 3.11.4 tarfile extraction can break python -m build
44+
python-version: '>=3, != 3.11.4'
4445
- run: pip install --upgrade build twine
4546
- name: Build sdist and wheel
4647
run: python -m build
@@ -79,7 +80,8 @@ jobs:
7980
path: archive/
8081
- uses: actions/setup-python@v4
8182
with:
82-
python-version: 3
83+
# Bug in 3.11.4 tarfile extraction may break sdist installation
84+
python-version: '>=3, != 3.11.4'
8385
- name: Display Python version
8486
run: python -c "import sys; print(sys.version)"
8587
- name: Update pip

0 commit comments

Comments
 (0)