Skip to content

Commit bd8b7be

Browse files
committed
Refine numpy build dependency for MacOS in pyproject.toml
1 parent 55112fb commit bd8b7be

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/basemap/pyproject.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
requires = [
33
'setuptools',
44
'wheel',
5-
'numpy >= 1.21.4, < 1.24; python_version >= "3.10"',
6-
'numpy >= 1.16.6, < 1.24; python_version == "2.7" or (python_version >= "3.4" and python_version <= "3.9")',
7-
'numpy >= 1.11.3, < 1.12; python_version == "2.6" or (python_version >= "3.2" and python_version <= "3.3")',
5+
'numpy == 1.21.4; python_version >= "3.10"',
6+
'numpy == 1.21.4; sys_platform == "darwin" and (python_version >= "3.7" and python_version <= "3.9")',
7+
'numpy == 1.16.6; sys_platform != "darwin" and (python_version >= "3.7" and python_version <= "3.9")',
8+
'numpy == 1.16.6; python_version == "2.7" or (python_version >= "3.4" and python_version <= "3.6")',
9+
'numpy == 1.11.3; python_version == "2.6" or (python_version >= "3.2" and python_version <= "3.3")',
810
'cython >= 0.29, < 3.1; python_version >= "3.3" or python_version < "3.0"',
911
'cython >= 0.26, < 0.27; python_version == "3.2"'
1012
]

0 commit comments

Comments
 (0)