Skip to content

Commit

Permalink
Restrict matplotlib < 3.8 (#341)
Browse files Browse the repository at this point in the history
* restrict matplotlib<3.8.0, update min_dependencies.py

* version bump

* just enclose each dependency in quotes instead

* bash wizardry https://stackoverflow.com/questions/6087494/bash-inserting-quotes-into-string-before-execution
  • Loading branch information
AdamOrmondroyd authored Sep 22, 2023
1 parent f1055e0 commit 108d77c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install tomli
python -m pip install $(./bin/min_dependencies.py)
eval "python -m pip install $(./bin/min_dependencies.py)"
python -m pip install -e ".[test]"
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
anesthetic: nested sampling post-processing
===========================================
:Authors: Will Handley and Lukas Hergt
:Version: 2.3.2
:Version: 2.3.3
:Homepage: https://github.com/handley-lab/anesthetic
:Documentation: http://anesthetic.readthedocs.io/

Expand Down
2 changes: 1 addition & 1 deletion anesthetic/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.3.2'
__version__ = '2.3.3'
1 change: 1 addition & 0 deletions bin/min_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
deps = pyproject["project"]["dependencies"]
deps = [dep.replace(">=", "==") for dep in deps]
deps = [dep.replace("~=", "==") for dep in deps]
deps = [f'"{dep}"' for dep in deps]

print(' '.join(deps))
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"scipy",
"numpy",
"pandas~=2.0.0",
"matplotlib>=3.6.1",
"matplotlib>=3.6.1,<3.8.0",
]
classifiers = [
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 108d77c

Please sign in to comment.