Repository navigation
Remove direct support for PEP381 Mirrors - #1098
Merged
Merged
Conversation
Member
There was a problem hiding this comment.
can we please not own code like that?
Member
Author
There was a problem hiding this comment.
Oh, I can remove it. I didn't really think about it. It's the format we use at work so that there's some notion of who added the TODO which is easy to get at and survives refactoring and such :)
Member
Author
|
The CI failure on this PR is limited to Python 2.6 and doesn't appear to be directly related to the changes. I personally consider this PR as having passed the tests based on that. |
* PEP381 Mirroring support was never fully implemented leaving users of it trivially exploitable to a MITM or malicious mirror operator. * 2 out of 6 of the mirrors have been removed from the pool and will never resolve. * The remaining mirrors often fall behind * The mirrors will likely never be available under HTTPS * People who wish to use a mirror of PyPI can still do so by manually specifying a mirror url for --index-url or --extra-index-url which is more flexible, allowing for mirrors to be hosted under any domain.
Contributor
|
I think with the CDN and the issues above we should certainly deprecate/remove mirror support as is. |
jezdez
added a commit
that referenced
this pull request
Jul 30, 2013
Remove direct support for PEP381 Mirrors
This was referenced Aug 17, 2013
doismellburning
added a commit
to pyroven/django-pyroven
that referenced
this pull request
Jan 7, 2015
pypa/pip#1098 - unsupported, dangerous, slow, etc.
JamieMagee
added a commit
to JamieMagee/praw
that referenced
this pull request
Apr 9, 2015
This flag has been deprecated in pip for a long time now pypa/pip#1098
micbou
added a commit
to micbou/ycmd
that referenced
this pull request
May 18, 2015
Pip no longer supports --use-mirrors since version 1.5. See pypa/pip#1098.
micbou
added a commit
to micbou/YouCompleteMe
that referenced
this pull request
May 18, 2015
Pip no longer supports --use-mirrors since version 1.5. See pypa/pip#1098.
This was referenced May 18, 2015
adamkal
added a commit
to adamkal/django-environ
that referenced
this pull request
Sep 29, 2015
--use-mirrors is deprecated pypa/pip#1098
fredkingham
added a commit
to openhealthcare/opal-referral
that referenced
this pull request
Nov 10, 2015
FND
added a commit
to FND/markdown-checklist
that referenced
this pull request
Oct 1, 2016
rbubley
added a commit
to rbubley/pycallgraph
that referenced
this pull request
Mar 15, 2017
`--use-mirrors` was removed as a `pip` option (pypa/pip#1098)
psolyca
added a commit
to psolyca/totalopenstation
that referenced
this pull request
Oct 21, 2017
As per the following: pypa/pip#1098 The --use-mirrors argument for travis.yml was deprecated in 2015. pip builds for 2.7 used before this change fail during automated testing with 'no option --use-mirrors'
peldszus
added a commit
to peldszus/supercell
that referenced
this pull request
Feb 23, 2018
* This option to `pip install` is now deprecated. See: pypa/pip#1098
aspiers
pushed a commit
to aspiers/rapport
that referenced
this pull request
Mar 5, 2018
Apparently this is no longer available: pypa/pip#1098
drotschmann
pushed a commit
to retresco/supercell
that referenced
this pull request
Mar 8, 2018
* This option to `pip install` is now deprecated. See: pypa/pip#1098
scottwoodall
pushed a commit
to scottwoodall/django-redis
that referenced
this pull request
Mar 22, 2018
JoshRosen
added a commit
to databricks/spark-pr-dashboard
that referenced
this pull request
Sep 3, 2018
JoshRosen
added a commit
to databricks/spark-pr-dashboard
that referenced
this pull request
Sep 3, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Additionally Richard has proposed (and I agree with him) demphasizing (and ideally removing) the official public mirrors as they are now more or less superseded by the CDN as well as being a security risk for PyPI itself (an attacker controlling z.pypi.python.org can attack the cookies from pypi.python.org).