Skip to content

Commit

Permalink
Only run sdist build after wheel builds are uploaded
Browse files Browse the repository at this point in the history
This commit changes the configuration of the deploy workflow to install
the sdist last. Publishing the sdist first causes disruption for
downstream projects that are using qiskit aer in CI as pip will eagerly
try to download the latest version even if only an sdist is present for
it. To avoid disruption for downstream users this updates the sdist job
to run only after we've uploaded the wheels for the tier 1 platforms to
pypi (which is what most people are running in CI).
  • Loading branch information
mtreinish committed Feb 6, 2024
1 parent 03221ac commit ff7ad65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
sdist:
name: Publish qiskit-aer sdist
runs-on: ubuntu-latest
needs: [publish-shared-wheels]
environment: release
permissions:
id-token: write
Expand Down

0 comments on commit ff7ad65

Please sign in to comment.