From 184335580fcaedec64e5d5e14e8104cfe552e260 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Wed, 6 Sep 2023 09:30:35 -0400 Subject: [PATCH] Revert "CI: Avoid Python 3.11.4 for unpacking sdist" This reverts commit 3c94f8cd804b219cce006d5db8bb2e78a2c3ee69. 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 https://github.com/pypa/build/issues/674 and fix https://github.com/pypa/build/pull/675 --- .github/workflows/stable.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 564af6ca3..18a30d6d0 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -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 @@ -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