[Python-Dev] [Distutils] pythonhosted.org upload no longer works

Donald Stufft donald at stufft.io
Mon Oct 10 12:06:37 EDT 2016


You’re using the new PyPI (either by getting a new default from a new version of Python or Twine OR explicitly switching to it yourself) which has this disabled. You can still upload to legacy PyPI by switching the default back. That will restore the ability to upload docs to pythonhosted.org.

We do plan on adding the ability to provide an automatic redirect to the new PyPI, but it’s not there yet.

> On Oct 10, 2016, at 11:17 AM, Giampaolo Rodola' <g.rodola at gmail.com> wrote:
> 
> Thanks Paul,
> no I wasn't aware of that, and I will subscribe to distutils-sig from now on. 
> I don't remember ever receiving a warrant about this decision but it's entirely possible I may have forgot. =)
> So long story short is that I will have to move the doc on readthedocs, correct?
> Does pythonhosted provide an automatic redirect or I'll have to upload a static page which states the doc has been moved?
> 
> On Mon, Oct 10, 2016 at 4:41 PM, Paul Moore <p.f.moore at gmail.com <mailto:p.f.moore at gmail.com>> wrote:
> On 10 October 2016 at 14:34, Giampaolo Rodola' <g.rodola at gmail.com <mailto:g.rodola at gmail.com>> wrote:
> > This is what I've bumped into just now:
> >
> > python setup.py upload_sphinx --upload-dir=docs/_build/html
> > running upload_sphinx
> > Submitting documentation to https://upload.pypi.org/legacy/ <https://upload.pypi.org/legacy/>
> > Upload failed (410): Uploading documentation is no longer supported, we
> > recommend using https://readthedocs.org/ <https://readthedocs.org/>.
> >
> > Personally I prefer pythonhosted over readthedocs as I can provide the same
> > style as official Python's doc (see https://pythonhosted.org/psutil/ <https://pythonhosted.org/psutil/>) and,
> > most importantly, because I can automatize doc upload just by running "make
> > doc-upload".
> > Is there a reason upload functionality has been disabled?
> > Is pythonhosted.org <http://pythonhosted.org/> going to be dismissed or something?
> 
> This was discussed on distutils-sig back in May 2015. The thread
> starts here: https://mail.python.org/pipermail/distutils-sig/2015-May/026327.html <https://mail.python.org/pipermail/distutils-sig/2015-May/026327.html>.
> One of the actions in the final proposal
> (https://mail.python.org/pipermail/distutils-sig/2015-May/026381.html <https://mail.python.org/pipermail/distutils-sig/2015-May/026381.html>)
> included a step to contact projects that were using pythonhosted.org <http://pythonhosted.org/>.
> Did you not get any contact?
> 
> It might be worth picking this up on distutils-sig, as that's where
> the original discussion occurred. I've copied this reply to there, and
> suggest followups go to that list.
> 
> Paul
> 
> 
> 
> -- 
> Giampaolo - http://grodola.blogspot.com <http://grodola.blogspot.com/>
> 
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org <mailto:Distutils-SIG at python.org>
> https://mail.python.org/mailman/listinfo/distutils-sig <https://mail.python.org/mailman/listinfo/distutils-sig>

—
Donald Stufft



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20161010/4a09428c/attachment.html>


More information about the Python-Dev mailing list