From cdee80e2318537f3a56b022df45e87798cb051ae Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Sun, 6 Oct 2024 18:45:28 +0100 Subject: [PATCH] Select versions --- print_deps.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/print_deps.py b/print_deps.py index 7c5a302..b0e1ee8 100755 --- a/print_deps.py +++ b/print_deps.py @@ -32,12 +32,14 @@ def get_numpy_requirement(py_ver): major, minor, *_ = py_ver.split('.') assert major == "3" minor = int(minor) - # SPEC0-minimum as of Dec 23, 2023 if minor <= 8: if IS_MUSL: raise RuntimeError("MUSL doesn't have 3.8 wheels") + # SPEC0-minimum as of Dec 23, 2023 return "1.22.0" - return "2.0.0" + if minor == 9: + return "2.0.2" + return "2.1.2" def get_parser():