If I remember correctly, RPM, DMG, and DPKG (if there was a DPKG distutils 
option) were disabled from uploading to pypi.  I believe the recommendation is 
to use manylinux1 wheels or to set up private distro specific repositories.

 

From: Distutils-SIG 
[mailto:distutils-sig-bounces+tritium-list=sdamon....@python.org] On Behalf Of 
Anthony Tuininga
Sent: Monday, July 24, 2017 4:17 PM
To: distutils-sig@python.org
Subject: [Distutils] Manual upload of RPM files no longer works

 

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
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to