diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f00f02f43..70e5a341e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -222,11 +222,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install --upgrade wheel setuptools setuptools_scm[toml]>=6 tox + pip install --upgrade build tox - name: Build package run: | - python setup.py sdist bdist_wheel + python -m build - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@master diff --git a/changelog/9225.trivial.rst b/changelog/9225.trivial.rst new file mode 100644 index 000000000..979f7fd0c --- /dev/null +++ b/changelog/9225.trivial.rst @@ -0,0 +1 @@ +Changed the command used to create sdist and wheel artifacts: using the build package instead of setup.py.