MCPcopy Index your code
hub / github.com/numpy/numpy / compare_versions

Function compare_versions

tools/check_openblas_version.py:71–74  ·  view source on GitHub ↗
(v_rel, v_thisrepo, bits)

Source from the content-addressed store, hash-verified

69 v32_rel, v64_rel = parse_reqs(reqfile)
70
71 def compare_versions(v_rel, v_thisrepo, bits):
72 if not v_rel >= v_thisrepo:
73 raise AssertionError(f"`numpy-release` version of scipy-openblas{bits} "
74 f"{v_rel} is behind this repo: {v_thisrepo}")
75
76 compare_versions(v64_rel, v64_thisrepo, "64")
77 compare_versions(v32_rel, v32_thisrepo, "32")

Callers 1

check_requirements_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…