Skip to content

Commit 1001ecb

Browse files
committed
Bump to 312 and min packages too
1 parent 30f0de4 commit 1001ecb

6 files changed

Lines changed: 31 additions & 42 deletions

File tree

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"changelog_url": "https://docs.sunpy.org/projects/ndcube/en/stable/whatsnew/changelog.html",
1818
"issue_tracker_url": "https://github.com/sunpy/ndcube/issues",
1919
"license": "BSD 2-Clause",
20-
"minimum_python_version": "3.11",
20+
"minimum_python_version": "3.12",
2121
"use_compiled_extensions": "n",
2222
"enable_dynamic_dev_versions": "y",
2323
"include_example_code": "n",

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
posargs: -n auto
5959
envs: |
6060
- linux: py314
61-
- windows: py312
61+
- windows: py313
6262
- macos: py312
63-
- linux: py311-oldestdeps
63+
- linux: py312-oldestdeps
6464
- linux: asdf_schemas
6565
secrets:
6666
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.sunpy-template.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

pyproject.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,36 @@ build-backend = "setuptools.build_meta"
99
[project]
1010
name = "ndcube"
1111
description = "A package for multi-dimensional contiguous and non-contiguous coordinate aware arrays."
12-
requires-python = ">=3.11"
12+
requires-python = ">=3.12"
1313
readme = { file = "README.rst", content-type = "text/x-rst" }
1414
license-files = ["licenses/LICENSE.rst"]
1515
authors = [
1616
{ name = "The SunPy Community", email = "sunpy@googlegroups.com" },
1717
]
1818
dependencies = [
19-
"astropy>=6.1.0",
19+
"astropy>=6.1.1",
2020
"gwcs>=0.24.0",
21-
"numpy>=1.26.0", # Keeping numpy at 1.26 for a while longer
22-
"scipy>=1.14.1",
21+
"numpy>=2.1.0",
22+
"scipy>=1.15.0",
2323
]
2424
dynamic = ["version"]
2525

2626
[project.optional-dependencies]
2727
# These are truly optional deps or deps only used for testing where we
2828
# want oldestdeps to test them
2929
tests-optional = [
30-
"dask>=2024.1.0",
31-
"specutils>=1.13.0",
30+
"dask>=2024.6.0",
31+
"specutils>=1.16.0",
3232
"sunpy>=6.1.0",
3333
]
3434
tests-only = [
3535
"pytest-astropy",
36-
"pytest-cov",
37-
"pytest-doctestplus",
38-
"pytest-mpl>=0.12",
39-
"pytest-xdist",
40-
"pytest",
41-
"pytest-memray; sys_platform != 'win32'",
36+
"pytest-cov>=6.0.0",
37+
"pytest-doctestplus>=1.3.0",
38+
"pytest-mpl>=0.18.0",
39+
"pytest-xdist>=3.7.0",
40+
"pytest>=8.3.0",
41+
"pytest-memray>=1.7.0; sys_platform != 'win32'",
4242
]
4343
tests-minimal = [
4444
"ndcube[plotting,reproject,tests-only]",
@@ -49,28 +49,28 @@ tests = [
4949
]
5050
docs = [
5151
"ndcube[all,tests-optional]",
52-
"sphinx",
53-
"sphinx-automodapi",
54-
"sunpy-sphinx-theme",
55-
"packaging",
56-
"sphinx-changelog>=1.5.0",
57-
"sphinx-gallery",
58-
"sphinxext-opengraph",
52+
"sphinx>=7.4.0",
53+
"sphinx-automodapi>=0.18.0",
54+
"sunpy-sphinx-theme>=2.0.12",
55+
"packaging>=24.2",
56+
"sphinx-changelog>=1.6.0",
57+
"sphinx-gallery>=0.17.0",
58+
"sphinxext-opengraph>=0.10.0",
5959
]
6060
plotting = [
61-
"matplotlib>=3.9.0",
62-
"mpl_animators>=1.2",
61+
"matplotlib>=3.10.0",
62+
"mpl_animators>=1.2.0",
6363
]
6464
reproject = [
65-
"reproject>=0.14", # first version with 3.12 support
65+
"reproject>=0.14.0",
6666
]
6767
asdf = [
6868
"asdf>=3.3.0",
6969
"asdf-astropy>=0.7.0",
7070
]
7171
asdf-tests = [
7272
"ndcube[asdf]",
73-
"pytest-asdf-plugin",
73+
"pytest-asdf-plugin>=0.1.0",
7474
]
7575
all = [
7676
"ndcube[plotting,reproject]",

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ filterwarnings =
6060
ignore:FigureCanvasAgg is non-interactive, and thus cannot be shown:UserWarning
6161
# wcsaxes/formatter_locator.py hates angles
6262
ignore:.*invalid value encountered in do_format.*:RuntimeWarning
63+
# General issues with older pyparsing
64+
ignore::pyparsing.warnings.PyparsingDeprecationWarning

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ min_version = 4.0
33
requires =
44
tox-pypi-filter>=0.14
55
envlist =
6-
py{311,312,313,314}
6+
py{312,313,314}
77
py313-minimal
88
py314-devdeps
9-
py311-oldestdeps
9+
py312-oldestdeps
1010
codestyle
1111
build_docs
1212
asdf_schemas
@@ -69,7 +69,7 @@ extras =
6969
commands_pre =
7070
oldestdeps: minimum_dependencies ndcube --extras plotting reproject asdf tests-optional --filename requirements-min.txt
7171
# Pin down pyparsing because of incompatibility with old mpl
72-
oldestdeps: pip install -r requirements-min.txt pyparsing<3.3
72+
oldestdeps: pip install -r requirements-min.txt
7373
oldestdeps: python -c "import astropy.time; astropy.time.update_leap_seconds()"
7474
pip freeze --all --no-input
7575
commands =

0 commit comments

Comments
 (0)