Bug #79811 mysql-connector-python 2.0.4 - broken Link on PyPI
Submitted: 30 Dec 2015 14:53 Modified: 5 Jan 2016 1:36
Reporter: Nathan Grouse Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / Python Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[30 Dec 2015 14:53] Nathan Grouse
Description:
This problem has been reported before, https://bugs.mysql.com/bug.php?id=68549 , but was closed as "Not a bug". It may not be... but it's a nuisance. Understandably since this is being handled manually there will be some downtime, but it's been nearly 24 hours now. I left a number of suggestions for mitigating the problem in the box below.

Like Daan Hoogland has commented most recently on https://bugs.mysql.com/bug.php?id=68549, there is nothing at https://pypi.python.org/simple/mysql-connector-python/ . I'm also happy to provide some of the traceback:

Downloading/unpacking mysql-connector-python==2.0.4
  Getting page https://pypi.python.org/simple/mysql-connector-python/
  URLs to search for versions for mysql-connector-python==2.0.4:
  * https://pypi.python.org/simple/mysql-connector-python/2.0.4
  * https://pypi.python.org/simple/mysql-connector-python/
  Getting page https://pypi.python.org/simple/mysql-connector-python/2.0.4
  Could not fetch URL https://pypi.python.org/simple/mysql-connector-python/2.0.4: 404 Client Error: Not Found
...
DistributionNotFound: No distributions at all found for mysql-connector-python==2.0.4

Thanks,
Nathan

How to repeat:
pip install mysql-connector-python --allow-external mysql-connector-python

Suggested fix:
Perhaps consider automation? Maybe a checklist for deployment? Or some sort of system for reminders? What about leaving some versions of mysql-connector-python up, similar to how requests is handling it https://pypi.python.org/simple/requests/ ?
[30 Dec 2015 14:54] Nathan Grouse
Editing submission: update with correct category.
[31 Dec 2015 18:21] Danny Garcia
I can confirm this also breaks on 1.2.3:

Downloading/unpacking mysql-connector-python==1.2.3
  Getting page https://pypi.python.org/simple/mysql-connector-python/
  URLs to search for versions for mysql-connector-python==1.2.3:
  * https://pypi.python.org/simple/mysql-connector-python/1.2.3
  * https://pypi.python.org/simple/mysql-connector-python/
  Getting page https://pypi.python.org/simple/mysql-connector-python/1.2.3
  Could not fetch URL https://pypi.python.org/simple/mysql-connector-python/1.2.3: 404 Client Error: Not Found
...
DistributionNotFound: No distributions at all found for mysql-connector-python==1.2.3
[4 Jan 2016 10:43] Geert Vanderkelen
Hi Nathan,

I hoped we would have solution, but we do not.

PyPI has decided to not allow any longer the externally hosted projects. I had an email about this a few months ago.

We can not upload to PyPI. Out of our (Oracle's) control, and out of mine. Pretty much bad yes..

Cheers,
Geert
[4 Jan 2016 12:08] Chiranjeevi Battula
Hello  Nathan Grouse,

Thank you for the bug report.
Per Geert's note, we cannot do much on this further and closing this as not a bug.

Thanks,
Chiranjeevi.
[5 Jan 2016 1:36] Nathan Grouse
Hi Geert & Chiranjeevi,

Thank you for the explanation. Do you think we could switch to a solution that uses --extra-index-url instead of --allow-external? That would remove the need for PyPI cooperation. Thoughts?

Cheers!
Nathan
[14 Jan 2016 5:28] MySQL Verification Team
Bug #79965 marked as duplicate of this
[18 Jan 2016 8:13] Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=79995 marked as duplicate of this one.
[15 Feb 2016 6:34] Geert Vanderkelen
Adding reference to my blog post:

  https://geert.vanderkelen.org/2016/cpy-and-pypi/