Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPi publication fails in travis build with tagged release, but is silent #1019

Open
pjbreaux opened this issue Oct 9, 2017 · 0 comments
Open

Comments

@pjbreaux
Copy link
Contributor

pjbreaux commented Oct 9, 2017

OpenStack Release

exists in all branches

Bug Severity

For bugs enter the bug severity level. Do not set any labels.

This should be fixed before the next release

Severity: <Fill in level: 1 through 5>

Severity level definitions:

  1. Severity 1 (Critical) : Defect is causing systems to be offline and/or nonfunctional. immediate attention is required.
  2. Severity 2 (High) : Defect is causing major obstruction of system operations.
  3. Severity 3 (Medium) : Defect is causing intermittent errors in system operations.
  4. Severity 4 (Low) : Defect is causing infrequent interuptions in system operations.
  5. Severity 5 (Trival) : Defect is not causing any interuptions to system operations, but none-the-less is a bug.

Description

The recent release builds failed to publish to PyPi, but travis failed silently to inform us of this failure. That is a two-fold problem. The PyPi url was deprecated and removed recently, and it appears that we need to remove the url from the travis file altogether. Once that is done, a built-in tool called twine will publish the PyPi package to the proper server by default. The other issue is that the travis build did not fail.

Note: you are uploading to the old upload URL. It's recommended to use the new URL "https://upload.pypi.org/legacy/" or to leave the URL unspecified and allow twine to choose.
Uploading f5-openstack-lbaasv2-driver-10.1.0.tar.gz
HTTPError: 410 Client Error: Gone (This API has been deprecated and removed from legacy PyPI in favor of using the APIs available in the new PyPI.org implementation of PyPI (located at https://pypi.org/). For more information about migrating your use of this API to PyPI.org, please see https://packaging.python.org/guides/migrating-to-pypi-org/#uploading. For more information about the sunsetting of this API, please see https://mail.python.org/pipermail/distutils-sig/2017-June/030766.html) for url: https://pypi.python.org/pypi

This url is deprecated:

https://github.com/F5Networks/f5-openstack-lbaasv2-driver/blob/master/.travis.yml#L59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants