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 54eb854 commit 16a5cd5Copy full SHA for 16a5cd5
print_deps.py
@@ -2,6 +2,7 @@
2
""" Echo dependencies for given environment
3
"""
4
5
+import os
6
from pathlib import Path
7
from argparse import ArgumentParser, RawDescriptionHelpFormatter
8
@@ -19,11 +20,13 @@ def get_build_requirements(repo_path):
19
20
def get_numpy_requirement(py_ver):
21
major, minor, *_ = py_ver.split('.')
22
assert major == "3"
- np_version = "1.22.2"
23
+ musl = os.environ.get('MB_ML_LIBC') == 'musllinux'
24
+ # musllinux wheels started at 1.25.0
25
+ np_version = "1.22.2" if not musl else '1.25.0'
26
minor = int(minor)
27
if minor >= 12:
28
np_version = "1.26.0"
- elif minor >= 11:
29
+ elif minor >= 11 and not musl:
30
np_version = "1.23.2"
31
return np_version
32
0 commit comments