Skip to content

Commit 434dd07

Browse files
committed
MNT: Update packaging to accommodate matplotlib
1 parent c9f1a9a commit 434dd07

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

doc/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Requirements
8585
8686
* Python_ 3.9 or greater
8787
* NumPy_ 1.22 or greater
88-
* Packaging_ 17.0 or greater
88+
* Packaging_ 20.0 or greater
8989
* importlib-resources_ 5.12 or greater (or Python 3.12+)
9090
* SciPy_ 1.8 or greater (optional, for full SPM-ANALYZE support)
9191
* h5py_ 3.5 or greater (optional, for MINC2 support)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = { text = "MIT License" }
1212
requires-python = ">=3.9"
1313
dependencies = [
1414
"numpy >=1.22",
15-
"packaging >=17",
15+
"packaging >=20",
1616
"importlib_resources >=5.12; python_version < '3.12'",
1717
"typing_extensions >=4.6; python_version < '3.13'",
1818
]
@@ -62,7 +62,7 @@ zstd = ["pyzstd >= 0.14.3"]
6262
# tox should use these with extras instead of duplicating
6363
doc = [
6464
"sphinx",
65-
"matplotlib>=1.5.3",
65+
"matplotlib>=3.5",
6666
"numpydoc",
6767
"texext",
6868
"tomli; python_version < '3.11'",

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ set_env =
7575
extras = test
7676
deps =
7777
# General minimum dependencies: pin based on API usage
78-
min: packaging ==17
78+
# matplotlib 3.5 requires packaging 20
79+
min: packaging ==20
7980
min: importlib_resources ==5.12; python_version < '3.12'
8081
min: typing_extensions ==4.6; python_version < '3.13'
8182
# NEP29/SPEC0 + 1yr: Test on minor release series within the last 3 years

0 commit comments

Comments
 (0)