From 14e032088cfe7ed1ab37557c61fcfc12df35175a Mon Sep 17 00:00:00 2001 From: Alexander King <55767786+king-alexander@users.noreply.github.com> Date: Mon, 25 Oct 2021 14:32:12 -0400 Subject: [PATCH] Change the command for package building in release CI workflow (#9229) --- .github/workflows/main.yml | 4 ++-- changelog/9225.trivial.rst | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelog/9225.trivial.rst 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.