Public bug reported:
twine is the preferred application for pushing new Python packages to
PyPI. It's better than `python setup.py upload` because it does all its
communication (including sending credentials) over https, validates the
certificate chain, etc.
Version 1.5.0 in Yakkety is old enough that several things have changed
in the PyPI infrastructure, including the canonical URL for uploading.
Yakkety really should use the latest upstream 1.8.1 which just needs a
sync from Debian. We *might* want to SRU it into Xenial, but that's for
another bug.
The risk of breakage is low. twine is an end-user application with no
reverse-dependencies. Here's the upstream changelog since 1.5.0:
* :release:`1.8.1 <2016-08-09>`
* Check if a package exists if the URL is one of:
- ``https://pypi.python.org/pypi/``
- ``https://upload.pypi.org/``
- ``https://upload.pypi.io/``
This helps people with ``https://upload.pypi.io`` still in their .pypirc
file.
* :release:`1.8.0 <2016-08-08>`
* :feature:`201` Switch from upload.pypi.io to upload.pypi.org.
* :feature:`144` Retrieve configuration from the environment as a
default.
- Repository URL will default to ``TWINE_REPOSITORY``
- Username will default to ``TWINE_USERNAME``
- Password will default to ``TWINE_PASSWORD``
* :feature:`166` Allow the Repository URL to be provided on the command-line
(``--repository-url``) or via an environment variable
(``TWINE_REPOSITORY_URL``).
* Generate SHA256 digest for all packages by default.
* :feature:`171` Generate Blake2b 256 digests for packages *if* ``pyblake2``
is installed. Users can use ``python -m pip install twine[with-blake2]``
to have ``pyblake2`` installed with Twine.
* Stop testing on Python 2.6. 2.6 support will be "best effort" until
2.0.0
* Warn users if they receive a 500 error when uploading to
\*pypi.python.org
* :release:`1.7.4 <2016-07-09>`
* Correct a packaging error.
* :release:`1.7.3 <2016-07-08>`
* :bug:`195` Fix uploads to instances of pypiserver using
``--skip-existing``. We were not properly checking the return status code
on the response after attempting an upload.
* Do not generate traffic to Legacy PyPI unless we're uploading to it or
uploading to Warehouse (e.g., pypi.io). This avoids the attempt to upload
a package to the index if we can find it on Legacy PyPI already.
* :release:`1.7.2 <2016-07-05>`
* :bug:`189`, :bug:`191` Fix issue where we were checking the existence of
packages even if the user didn't specify ``--skip-existing``.
* :release:`1.7.1 <2016-07-05>`
* :bug:`187` Clint was not specified in the wheel metadata as a
dependency.
* :release:`1.7.0 <2016-07-04>`
* :feature:`142` Support ``--cert`` and ``--client-cert`` command-line flags
and config file options for feature parity with pip. This allows users to
verify connections to servers other than PyPI (e.g., local package
repositories) with different certificates.
* :feature:`152` Add progress bar to uploads.
* :feature:`162` Allow ``--skip-existing`` to work for 409 status
codes.
* :feature:`167` Implement retries when the CDN in front of PyPI gives us a
5xx error.
* :feature:`177` Switch Twine to upload to pypi.io instead of
pypi.python.org.
* :bug:`186` Allow passwords to have ``%``\ s in them.
* :release:`1.6.5 <2015-12-16>`
* :bug:`155` Bump requests-toolbelt version to ensure we avoid
ConnectionErrors
* :release:`1.6.4 <2015-10-27>`
* :bug:`145` Paths with hyphens in them break the Wheel regular
expression.
* :bug:`146` Exception while accessing the ``respository`` key when raising
a redirect exception.
* :release:`1.6.3 <2015-10-05>`
* :bug:`137`, :bug:`140` Uploading signatures was broken due to the pull
request that added large file support via ``requests-toolbelt``. This
caused a 500 error on PyPI and prevented package and signature upload in
twine 1.6.0
* :release:`1.6.2 <2015-09-28>`
* :bug:`132` Upload signatures with packages appropriately
As part of the refactor for the 1.6.0 release, we were using the wrong
name to find the signature file.
This also uncovered a bug where if you're using twine in a situation where
``*`` is not expanded by your shell, we might also miss uploading
signatures to PyPI. Both were fixed as part of this.
* :release:`1.6.1 <2015-09-18>`
* :bug:`130` Fix signing support for uploads
* :release:`1.6.0 <2015-09-14>`
* :feature:`106` Upload wheels first to PyPI
* :feature:`104` Large file support via the ``requests-toolbelt``
* :bug:`92` Raise an exception on redirects
* :feature:`97` Allow the user to specify the location of their
``.pypirc``
* :feature:`115` Add the ``--skip-existing`` flag to ``twine upload`` to
allow users to skip releases that already exist on PyPI.
* :bug:`114` Warnings triggered by pkginfo searching for ``PKG-INFO`` files
should no longer be user visible.
* :bug:`116` Work around problems with Windows when using
:func:`getpass.getpass`
* :bug:`111` Provide more helpful messages if ``.pypirc`` is out of
date.
* :feature:`8` Support registering new packages with ``twine
register``
** Affects: twine (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1617007
Title:
[FFE] twine 1.8.1-1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/twine/+bug/1617007/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs