Skip to content

Commit

Permalink
MNT: Update packaging to accommodate matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 8, 2024
1 parent c9f1a9a commit 434dd07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Requirements
* Python_ 3.9 or greater
* NumPy_ 1.22 or greater
* Packaging_ 17.0 or greater
* Packaging_ 20.0 or greater
* importlib-resources_ 5.12 or greater (or Python 3.12+)
* SciPy_ 1.8 or greater (optional, for full SPM-ANALYZE support)
* h5py_ 3.5 or greater (optional, for MINC2 support)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = { text = "MIT License" }
requires-python = ">=3.9"
dependencies = [
"numpy >=1.22",
"packaging >=17",
"packaging >=20",
"importlib_resources >=5.12; python_version < '3.12'",
"typing_extensions >=4.6; python_version < '3.13'",
]
Expand Down Expand Up @@ -62,7 +62,7 @@ zstd = ["pyzstd >= 0.14.3"]
# tox should use these with extras instead of duplicating
doc = [
"sphinx",
"matplotlib>=1.5.3",
"matplotlib>=3.5",
"numpydoc",
"texext",
"tomli; python_version < '3.11'",
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ set_env =
extras = test
deps =
# General minimum dependencies: pin based on API usage
min: packaging ==17
# matplotlib 3.5 requires packaging 20
min: packaging ==20
min: importlib_resources ==5.12; python_version < '3.12'
min: typing_extensions ==4.6; python_version < '3.13'
# NEP29/SPEC0 + 1yr: Test on minor release series within the last 3 years
Expand Down

0 comments on commit 434dd07

Please sign in to comment.