Skip to content

Commit

Permalink
Remove unnecessary installation of build requirements (Qiskit#11246)
Browse files Browse the repository at this point in the history
Since we are using `build`, a basic PEP 517 builder, we do not need to
manually install the build requirements; our `pyproject.toml` specifies
them, and they'll be automatically pulled in.

With the pivot to PyPI trusted publishers in Qiskitgh-10999, we no longer use
`twine` manually either.
  • Loading branch information
jakelishman authored Nov 27, 2023
1 parent 31c2089 commit 89642bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
with:
python-version: '3.10'
- name: Install deps
run: pip install -U twine setuptools-rust wheel build
run: pip install -U build
- name: Build sdist
run: python -m build . --sdist
- name: Publish package distributions to PyPI
Expand All @@ -208,7 +208,7 @@ jobs:
with:
python-version: '3.10'
- name: Install deps
run: pip install -U twine setuptools-rust wheel build
run: pip install -U build
- name: Build packages
run: |
set -e
Expand Down

0 comments on commit 89642bd

Please sign in to comment.