|
10 | 10 | [build-system] |
11 | 11 | build-backend = 'mesonpy' |
12 | 12 | requires = [ |
13 | | - "meson-python>=0.12.1", |
| 13 | + "meson-python>=0.13.1", |
14 | 14 | "Cython>=0.29.35", # when updating version, also update check in meson.build |
15 | 15 | "pybind11>=2.10.4", |
16 | 16 | "pythran>=0.12.0", |
17 | | - # `wheel` is needed for non-isolated builds, given that `meson-python` |
18 | | - # doesn't list it as a runtime requirement (at least in 0.5.0) |
19 | | - "wheel", |
20 | 17 |
|
21 | | - # NumPy dependencies - to update these, sync from |
22 | | - # https://github.com/scipy/oldest-supported-numpy/, and then |
23 | | - # update minimum version to match our install_requires min version |
24 | | - # ---------------------------------------------------------------- |
25 | | - |
26 | | - # now matches minimum supported version, keep here as separate requirement |
27 | | - # to be able to sync more easily with oldest-supported-numpy |
| 18 | + # When numpy 2.0.0rc1 comes out, we should update this to build against 2.0, |
| 19 | + # and then runtime depend on the range 1.22.X to <2.3. No need to switch to |
| 20 | + # 1.25.2 in the meantime (1.25.x is the first version which exports older C |
| 21 | + # API versions by default). |
28 | 22 |
|
29 | 23 | # default numpy requirements |
30 | 24 | "numpy==1.22.4; python_version<='3.10' and platform_python_implementation != 'PyPy'", |
31 | 25 | "numpy==1.23.2; python_version=='3.11' and platform_python_implementation != 'PyPy'", |
32 | | - |
33 | | - # For Python versions which aren't yet officially supported, |
34 | | - # we specify an unpinned NumPy which allows source distributions |
35 | | - # to be used and allows wheels to be used as soon as they |
36 | | - # become available. |
37 | | - "numpy; python_version>='3.12'", |
| 26 | + # For Python versions which aren't yet officially supported, we specify an |
| 27 | + # unpinned NumPy which allows source distributions to be used and allows |
| 28 | + # wheels to be used as soon as they become available. |
| 29 | + "numpy>=1.26.0b1; python_version>='3.12'", |
38 | 30 | "numpy; python_version>='3.9' and platform_python_implementation=='PyPy'", |
39 | 31 | ] |
40 | 32 |
|
41 | 33 | [project] |
42 | 34 | name = "SciPy" |
| 35 | +version = "1.12.0.dev0" |
43 | 36 | # TODO: add `license-files` once PEP 639 is accepted (see meson-python#88) |
44 | 37 | # at that point, no longer include them in `py3.install_sources()` |
45 | 38 | license = {file = "LICENSE.txt"} |
@@ -77,7 +70,6 @@ classifiers = [ |
77 | 70 | "Operating System :: Unix", |
78 | 71 | "Operating System :: MacOS", |
79 | 72 | ] |
80 | | -dynamic = ['version'] |
81 | 73 |
|
82 | 74 | [project.optional-dependencies] |
83 | 75 | test = [ |
|
0 commit comments