Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a11e5a

Browse files
committed
Relax the build dependency on NumPy
Do not pin NumPy build dependencies to specific versions. It isno longer necessary since NumPy 1.25, as it automatically exposes"an API that is backwards compatible with the oldest NumPy version thatsupports the currently oldest compatible Python version" -- effectivelyremoving the need to maintain downstream compatibility matrices.See:https://numpy.org/devdocs/dev/depending_on_numpy.html#adding-a-dependency-on-numpy
1 parentfa742a4 commit4a11e5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[build-system]
22
requires = [
33
"numpy<2.0; python_version<'3.9'",
4-
"numpy==2.0.2; python_version>='3.9' and python_version<'3.13'",
5-
"numpy==2.1.3; python_version=='3.13'",
4+
# NumPy >=1.25 defaults to exposing "an API that is backwards compatible with the oldest NumPy version that supports the currently oldest compatible Python version"
5+
# https://numpy.org/devdocs/dev/depending_on_numpy.html#adding-a-dependency-on-numpy
6+
"numpy>=2.0; python_version>='3.9'",
67
"packaging",
78
"pip",
89
"scikit-build>=0.14.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp