Skip to content

Commit

Permalink
Loosen voila requirement and update pinned requirements (PlasmaPy#2609)
Browse files Browse the repository at this point in the history
* Loosen voila requirement

* Adjust voila requirement

* Update auto-generated requirements

* Add comments about setting package requirements

* Add comments about setting package requirements
  • Loading branch information
namurphy committed Apr 3, 2024
1 parent 8ddd524 commit 1e2f2ec
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 120 deletions.
20 changes: 17 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ keywords = [
"space plasmas",
]
license = {file = "LICENSE.md"}
# NumPy Enhancement Proposal 29 recommends that packages support minor
# releases of Python for 42 months after the initial release (see
# https://numpy.org/neps/nep-0029-deprecation_policy.html#support-table).
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
Expand All @@ -36,6 +39,13 @@ classifiers = [
dynamic = [
"version",
]
# SPEC 0 recommends that support for core packages should generally be
# dropped two years after their initial release (see
# https://scientific-python.org/specs/spec-0000). Exceptions may include
# critical bugfixes or when making use of important new features. Any
# upper limits on package versions should be temporary because they can
# make it harder to resolve environments when PlasmaPy is installed
# alongside other packages, such as in the heliopythoniverse.
dependencies = [
"astropy >= 5.1",
"h5py >= 3.7.0",
Expand All @@ -52,11 +62,13 @@ dependencies = [
"scipy >= 1.8.0",
"setuptools >= 61.2.0",
"tqdm >= 4.60.0",
"voila >= 0.5.0",
"voila >= 0.4.0",
"wrapt >= 1.14.0",
"xarray >= 2022.3.0",
]
[project.optional-dependencies]
# The documentation build occurs in an isolated environment that is not
# user-facing, so we can have stricter requirements.
docs = [
"docutils >= 0.20.1",
"jinja2 >= 3.1.3",
Expand All @@ -83,9 +95,11 @@ docs = [
"sphinxcontrib-globalsubs >= 0.1.1",
"towncrier >= 23.11.0",
"tox >= 4.12.1",
"tox-uv >= 1.6.0",
"tox-uv >= 1.7.0",
"unidecode >= 1.3.8",
]
# Test dependencies are not user-facing, so we can set stricter
# requirements to ensure that tests are run in consistent environments.
tests = [
"hypothesis >= 6.97.4",
"pre-commit >= 3.6.0",
Expand All @@ -95,7 +109,7 @@ tests = [
"pytest-xdist >= 3.5.0",
"tomli >= 2.0.1",
"tox >= 4.12.1",
"tox-uv >= 1.6.0",
"tox-uv >= 1.7.0",
]
[project.urls]
Changelog = "https://docs.plasmapy.org/en/stable/whatsnew/index.html"
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ comm==0.2.2
# via
# ipykernel
# ipywidgets
contourpy==1.2.0
contourpy==1.2.1
# via matplotlib
cycler==0.12.1
# via matplotlib
Expand Down Expand Up @@ -239,7 +239,7 @@ parso==0.8.3
# via jedi
pexpect==4.9.0
# via ipython
pillow==10.2.0
pillow==10.3.0
# via
# matplotlib
# sphinx-gallery
Expand Down Expand Up @@ -339,7 +339,7 @@ rpds-py==0.18.0
# via
# jsonschema
# referencing
scipy==1.12.0
scipy==1.13.0
# via lmfit
send2trash==1.8.2
# via jupyter-server
Expand Down Expand Up @@ -457,13 +457,13 @@ uri-template==1.3.0
# via jsonschema
urllib3==2.2.1
# via requests
uv==0.1.26
uv==0.1.28
# via tox-uv
virtualenv==20.25.1
# via
# pre-commit
# tox
voila==0.5.5
voila==0.5.6
wcwidth==0.2.13
# via prompt-toolkit
webcolors==1.13
Expand Down
10 changes: 5 additions & 5 deletions requirements/requirements_docs_py312.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
comm==0.2.2
contourpy==1.2.0
contourpy==1.2.1
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
Expand Down Expand Up @@ -77,7 +77,7 @@ pandas==2.2.1
pandocfilters==1.5.1
parso==0.8.3
pexpect==4.9.0
pillow==10.2.0
pillow==10.3.0
platformdirs==4.2.0
pluggy==1.4.0
prometheus-client==0.20.0
Expand All @@ -102,7 +102,7 @@ requests==2.31.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.18.0
scipy==1.12.0
scipy==1.13.0
send2trash==1.8.2
setuptools==69.2.0
six==1.16.0
Expand Down Expand Up @@ -146,9 +146,9 @@ uncertainties==3.1.7
unidecode==1.3.8
uri-template==1.3.0
urllib3==2.2.1
uv==0.1.26
uv==0.1.28
virtualenv==20.25.1
voila==0.5.5
voila==0.5.6
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
Expand Down
Loading

0 comments on commit 1e2f2ec

Please sign in to comment.