Skip to content

Commit eef9c93

Browse files
fix: PEP625 compliance (#52)
1 parent 5837a3b commit eef9c93

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,16 @@ jobs:
143143
- name: Install dependencies
144144
run: |
145145
python -m pip install --upgrade pip
146-
pip install setuptools wheel twine mypy==1.18.2 hexbytes==1.3.1
147-
146+
pip install setuptools wheel twine mypy==1.18.2
147+
148+
- name: Drop build folder to prevent shadowing issues w/ the PyPA “build” module
149+
run: rm -rf build
150+
151+
- name: Install PyPA “build” module
152+
run: pip install -U build
153+
148154
- name: Build sdist
149-
run: |
150-
python setup.py sdist
155+
run: python -m build --sdist
151156

152157
# ----------------------------------------------------
153158
# Download wheels built on each runner

0 commit comments

Comments
 (0)