Trivial: update pypi url to new url

Change-Id: I069ca4e8cfbd3d991c958e5383eee327c443402c
This commit is contained in:
XiaojueGuan 2018-05-13 21:14:31 +08:00
parent 77e207e90d
commit ae02f603a0
3 changed files with 3 additions and 3 deletions

View File

@ -112,6 +112,6 @@ Fixed
~~~~~ ~~~~~
* The support of `kubernetes python client * The support of `kubernetes python client
<https://pypi.python.org/pypi/kubernetes>`_ (which is used by Magnum plugins) <https://pypi.org/project/kubernetes>`_ (which is used by Magnum plugins)
is not limited by 3.0.0 max version. You can use more modern releases of that is not limited by 3.0.0 max version. You can use more modern releases of that
library. library.

View File

@ -375,4 +375,4 @@ shared with others.
.. references: .. references:
.. _Jinja2: https://pypi.python.org/pypi/Jinja2 .. _Jinja2: https://pypi.org/project/Jinja2

View File

@ -84,7 +84,7 @@ class PYPIPackage(object):
if self.package_name in _PYPI_CACHE: if self.package_name in _PYPI_CACHE:
self._pypi_info = _PYPI_CACHE[self.package_name] self._pypi_info = _PYPI_CACHE[self.package_name]
else: else:
resp = requests.get("https://pypi.python.org/pypi/%s/json" % resp = requests.get("https://pypi.org/pypi/%s/json" %
self.package_name) self.package_name)
if resp.status_code != 200: if resp.status_code != 200:
print("An error occurred while checking '%s' package at " print("An error occurred while checking '%s' package at "