Commit 991985d
committed
MAINT: bump minimum packaging version to 23.2
pyproject-metadata 0.9.1 requires packaging 23.2 or later, but does not record
this dependency, see pypa/pyproject-metadata#239
This becomes a problem when meson-python is installed on a platform where
packaging 19.0 (the current minimum required version) is installed. This does
not trigger an update of packaging to the latest available version and results
in run time errors, see scipy/scipy#22840 (comment)
This could be fixed by a new release of pyproject-metadata, but we do not want
meson-python to depend on very recent releases. meson-python supports
pyproject-metadata 0.9.0 or later and still carries some work-arounds for
issues in that release.
The least invasive and most effective solution is to bump the packaging
requirement for meson-python to 23.2.
This also allows to remove a more restrictive packaging version requirement
used for the tests optional dependencies, due to the use of API available only
with packaging 23.1 or later in the meson-python tests.
Fixes #733.1 parent 2320a4b commit 991985d
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
0 commit comments