Skip to content

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

@pjbreaux

Description

@pjbreaux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions