Skip to content

Commit 14e0320

Browse files
Change the command for package building in release CI workflow (#9229)
1 parent 89f8ff5 commit 14e0320

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ jobs:
222222
- name: Install dependencies
223223
run: |
224224
python -m pip install --upgrade pip
225-
pip install --upgrade wheel setuptools setuptools_scm[toml]>=6 tox
225+
pip install --upgrade build tox
226226
227227
- name: Build package
228228
run: |
229-
python setup.py sdist bdist_wheel
229+
python -m build
230230
231231
- name: Publish package to PyPI
232232
uses: pypa/gh-action-pypi-publish@master

changelog/9225.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Changed the command used to create sdist and wheel artifacts: using the build package instead of setup.py.

0 commit comments

Comments
 (0)