Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all pypi.python.org URLs to pypi.org #1340

Merged
merged 1 commit into from Apr 26, 2018
Merged

Conversation

@jdufresne
Copy link
Contributor

@jdufresne jdufresne commented Apr 26, 2018

For details on the new PyPI, see the blog post:

https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html

@jdufresne jdufresne force-pushed the jdufresne:pypi branch 2 times, most recently from bd6f6f7 to 8e80127 Apr 26, 2018
@@ -319,7 +319,7 @@ def finalize_options(self):
self.all_site_dirs.append(normalize_path(d))
if not self.editable:
self.check_site_dir()
self.index_url = self.index_url or "https://pypi.python.org/simple"
self.index_url = self.index_url or "https://pypi.org/simple"

This comment has been minimized.

@pganssle

pganssle Apr 26, 2018
Member

@ewdurbin @brainwane CCed for sanity check - is this the right thing to do?

Also, does this mean that the old versions of setuptools out there now are going to start breaking at the end of the week?

This comment has been minimized.

@jdufresne

jdufresne Apr 26, 2018
Author Contributor

Also, does this mean that the old versions of setuptools out there now are going to start breaking at the end of the week?

I don't think so. The linked blog states:

The address pypi.python.org will continue to redirect to Warehouse.

This comment has been minimized.

@ewdurbin

ewdurbin Apr 26, 2018
Member

I might suggest changing the default to https://pypi.org/simple/ to save a redirect.

$ curl -I https://pypi.org/simple
HTTP/2 301 
location: https://pypi.org/simple/

But otherwise this is 👍.

The pypi.python.org service will continue to operate for the foreseeable future as it is currently:

$ curl -I https://pypi.python.org/simple
HTTP/2 301 
location: https://pypi.org/simple
$ curl -I https://pypi.python.org/simple/
HTTP/2 301 
location: https://pypi.org/simple/
@@ -297,7 +297,7 @@ class PackageIndex(Environment):
"""A distribution index that scans web pages for download URLs"""

def __init__(
self, index_url="https://pypi.python.org/simple", hosts=('*',),
self, index_url="https://pypi.org/simple", hosts=('*',),

This comment has been minimized.

@ewdurbin

ewdurbin Apr 26, 2018
Member

again, might suggest changing to https://pypi.org/simple/ to save a redirect.

@jdufresne jdufresne force-pushed the jdufresne:pypi branch from 8e80127 to 06736ee Apr 26, 2018
@jdufresne
Copy link
Contributor Author

@jdufresne jdufresne commented Apr 26, 2018

I have updated all instances of https://pypi.org/simple to https://pypi.org/simple/.

@pganssle pganssle merged commit 81f5f85 into pypa:master Apr 26, 2018
4 checks passed
4 checks passed
@codecov
codecov/patch 100% of diff hit (target 81.44%)
Details
@codecov
codecov/project 81.44% (+0%) compared to d0800d7
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@jdufresne jdufresne deleted the jdufresne:pypi branch Oct 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants