-
-
Notifications
You must be signed in to change notification settings - Fork 55
Updates from package template #889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 16 commits
b07b15b
3ca3829
0f3d6a7
f3e526d
8139b7b
fba04e5
6924883
ffba363
4ae23e1
e3438f9
4d7a04e
5df8171
672704f
210728a
457084b
9e04c6a
7ee8d75
397b904
daf30b5
059ac9c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| Increased minimum version of Python to 3.12. | ||
Cadair marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Increased minimum version of NumPy to 1.26.0. | ||
| Increased minimum version of SciPy to 1.12.0. | ||
| Increased minimum version of astropy to 6.0.0. | ||
| Increased minimum version of gwcs to 0.20.0. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,52 +9,54 @@ build-backend = "setuptools.build_meta" | |
| [project] | ||
| name = "ndcube" | ||
| description = "A package for multi-dimensional contiguous and non-contiguous coordinate aware arrays." | ||
| requires-python = ">=3.10" | ||
| requires-python = ">=3.12" | ||
|
||
| readme = { file = "README.rst", content-type = "text/x-rst" } | ||
| license = { file = "licenses/LICENSE.rst" } | ||
| authors = [ | ||
| { name = "The SunPy Community", email = "[email protected]" }, | ||
| ] | ||
| dependencies = [ | ||
| "astropy>=5.0.6,!=5.1.0", | ||
| "gwcs>=0.18", | ||
| "numpy>=1.23.0", | ||
| "scipy>=1.8.0", | ||
| "astropy>=6.0.0", | ||
| "gwcs>=0.20.0", | ||
| "numpy>=1.26.0", | ||
| "scipy>=1.12.0", | ||
| ] | ||
| dynamic = ["version"] | ||
|
|
||
| [project.optional-dependencies] | ||
| # These are truly optional deps or deps only used for testing where we | ||
| # want oldestdeps to test them | ||
| tests-optional = [ | ||
| "dask>=2023.10.0", | ||
| "specutils>=1.12.0", | ||
| "sunpy>=6.1.0", | ||
nabobalis marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ] | ||
| tests = [ | ||
| "dask", | ||
| "ndcube[all,tests-optional]", | ||
| "pytest-astropy", | ||
| "pytest-cov", | ||
| "pytest-doctestplus", | ||
| "pytest-mpl>=0.12", | ||
| "pytest-xdist", | ||
| "pytest", | ||
| "pytest-memray; sys_platform != 'win32'", | ||
| "scipy", | ||
| "specutils", | ||
| "sunpy>=5.0.0", | ||
| ] | ||
| docs = [ | ||
| "ndcube[all,tests-optional]", | ||
| "sphinx", | ||
| "sphinx-automodapi", | ||
| "sunpy-sphinx-theme", | ||
| "packaging", | ||
| "matplotlib", | ||
| "mpl-animators>=1.0", | ||
| "sphinx-changelog>=1.1.0", | ||
| "sphinx-gallery", | ||
| "sphinxext-opengraph", | ||
| "sunpy>=5.0.0", | ||
| ] | ||
| plotting = [ | ||
| "matplotlib>=3.5.0", | ||
| "matplotlib>=3.8.0", | ||
| "mpl_animators>=1.0", | ||
| ] | ||
| reproject = [ | ||
| "reproject>=0.7.1", | ||
| "reproject>=0.13", # first version with 3.12 support | ||
nabobalis marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| ] | ||
| all = [ | ||
| "ndcube[plotting,reproject]", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,9 +3,9 @@ min_version = 4.0 | |
| requires = | ||
| tox-pypi-filter>=0.14 | ||
| envlist = | ||
| py{310,311,312} | ||
| py312-devdeps | ||
| py310-oldestdeps | ||
| py{312,313,314} | ||
| py314-devdeps | ||
| py312-oldestdeps | ||
Cadair marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| codestyle | ||
| build_docs | ||
|
|
||
|
|
@@ -66,7 +66,7 @@ extras = | |
| reproject | ||
| tests | ||
| commands_pre = | ||
| oldestdeps: minimum_dependencies ndcube --filename requirements-min.txt | ||
| oldestdeps: minimum_dependencies ndcube --extras plotting reproject tests-optional --filename requirements-min.txt | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should make sure we do this for packages in the future. |
||
| oldestdeps: pip install -r requirements-min.txt | ||
| oldestdeps: python -c "import astropy.time; astropy.time.update_leap_seconds()" | ||
| pip freeze --all --no-input | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.