Skip to content

Commit 7b17049

Browse files
committed
Pin against pyproject-hooks==1.1. Closes pypa#4333.
1 parent 0156e24 commit 7b17049

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ jobs:
9595
shell: bash
9696
run: |
9797
rm -rf dist
98-
pipx run build
98+
# workaround for pypa/setuptools#4333
99+
pipx run --pip-args 'pyproject-hooks!=1.1' build
99100
echo "PRE_BUILT_SETUPTOOLS_SDIST=$(ls dist/*.tar.gz)" >> $GITHUB_ENV
100101
echo "PRE_BUILT_SETUPTOOLS_WHEEL=$(ls dist/*.whl)" >> $GITHUB_ENV
101102
rm -rf setuptools.egg-info # Avoid interfering with the other tests

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ testing =
7777
# No Python 3.12 dependencies require importlib_metadata, but needed for type-checking since we import it directly
7878
importlib_metadata
7979

80+
# workaround for pypa/setuptools#4333
81+
pyproject-hooks!=1.1
82+
8083
docs =
8184
# upstream
8285
sphinx >= 3.5

0 commit comments

Comments
 (0)