File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -231,18 +231,27 @@ def get_minor_versions_between(start_version_str, end_version_str):
231231
232232
233233def _get_scipy_pypi ():
234+ """
235+ Retrieve the SciPy PyPI JSON file
236+ """
234237 url = "https://pypi.org/project/scipy/"
235238 req = request .Request (url , data = None , headers = HEADERS )
236239 return request .urlopen (req ).read ().decode ("utf-8" )
237240
238241
239242def get_latest_scipy_version ():
243+ """
244+ Retrieve the latest SciPy Version
245+ """
240246 html = _get_scipy_pypi ()
241247 match = re .search (r"scipy\s+(\d+\.\d+\.\d+)" , html , re .DOTALL )
242248 return match .groups ()[0 ]
243249
244250
245251def get_latest_scipy_python_version ():
252+ """
253+ Retrieve the latest Python version that is supported by SciPy
254+ """
246255 html = _get_scipy_pypi ()
247256 python_versions = list (
248257 set (re .findall (r"Python\s+\:\:\s+(\d+\.\d+)" , html , re .DOTALL ))
You can’t perform that action at this time.
0 commit comments