We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4de031a commit 32a3291Copy full SHA for 32a3291
versions.py
@@ -224,8 +224,8 @@ def get_latest_numpy_version():
224
"""
225
Retrieve the latest NumPy version
226
227
- url = f'https://pypi.python.org/pypi/numpy/json'
228
- releases = json.loads(request.urlopen(url).read())['releases']
+ url = "https://pypi.python.org/pypi/numpy/json"
+ releases = json.loads(request.urlopen(url).read())["releases"]
229
return list(releases.keys())[-1]
230
231
0 commit comments