[Distutils] Manual upload of RPM files no longer works

Anthony Tuininga anthony.tuininga at gmail.com
Mon Jul 24 16:16:40 EDT 2017


All,

I just tried to upload some RPM files using the "Files" section in PyPI. I
get the following response:

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)

I have used twine for wheels and source distributions without any
difficulty. But it refuses to support RPM files:

ValueError: Unknown distribution format: 'cx_Oracle-6.0rc2-py26-1.x86_64.rpm'

Is there any way to get these uploaded now? I can't use bdist_rpm
upload and I'd like to verify the files *before* they are uploaded,
not afterwards! Thoughts?

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20170724/45750f99/attachment.html>


More information about the Distutils-SIG mailing list