Skip to content
Permalink
Browse files

Upload wheels to pypi.org instead of test.pypi.org (#2561)

The current wheel build automation uploads the wheel files to
test.pypi.org. The idea behind this was to enable manual verification of
the built wheels prior to pushing the releases for real. However, this
just adds another manual process to the release process and increases
the chance of something going wrong. There also isn't any manual
validation that happens for most of the wheels. When it is done, it
provides no more than what the build automation does already
(running an example script). To simplify the release process and reduce
the chances for errors involved with downloading and re-uploading
this commit switches the build automation to directly upload to
pypi.org. The release workflow with this is now just push a tag for the
release, then build and upload a sdist to pypi. Everything else is
automated.
  • Loading branch information...
mtreinish committed Jun 4, 2019
1 parent 62f3102 commit 5524f56629074e4bebd6d28954fcb53b210f0209
Showing with 0 additions and 3 deletions.
  1. +0 −2 .travis.yml
  2. +0 −1 appveyor.yml
@@ -97,7 +97,6 @@ jobs:
env:
- CIBW_BEFORE_BUILD="pip install -U Cython"
- CIBW_SKIP="cp27-* cp34-*"
- TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/
- TWINE_USERNAME=qiskit
- CIBW_TEST_COMMAND="python3 {project}/examples/python/stochastic_swap.py"
if: tag IS present
@@ -112,7 +111,6 @@ jobs:
env:
- CIBW_BEFORE_BUILD="pip install -U Cython"
- CIBW_SKIP="cp27-* cp34-*"
- TWINE_REPOSITORY_URL=https://test.pypi.org/legacy/
- TWINE_USERNAME=qiskit
- CIBW_TEST_COMMAND="python3 {project}/examples/python/stochastic_swap.py"
script:
@@ -25,7 +25,6 @@ environment:
CIBW_BEFORE_BUILD: pip install -U Cython
CIBW_SKIP: cp27-* cp34-*
TWINE_USERNAME: qiskit
TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
CIBW_TEST_COMMAND: python {project}\examples\python\stochastic_swap.py
TAG_SCENARIO: true

0 comments on commit 5524f56

Please sign in to comment.
You can’t perform that action at this time.