mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
pypi.python.org -> pypi.org (GH-7613)
This commit is contained in:
parent
12c6cdf4d1
commit
9d6d06e806
5 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@ def main():
|
|||
|
||||
for project, version in ensurepip._PROJECTS:
|
||||
data = json.loads(urllib.request.urlopen(
|
||||
"https://pypi.python.org/pypi/{}/json".format(project),
|
||||
"https://pypi.org/pypi/{}/json".format(project),
|
||||
cadefault=True,
|
||||
).read().decode("utf8"))
|
||||
upstream_version = data["info"]["version"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue