Conversation
nabobalis
force-pushed
the
ci
branch
2 times, most recently
from
June 11, 2026 22:22
3cf9eea to
1001ecb
Compare
Member
|
Thanks. I think I'll sit on this until we are closer to 2.5 to make backports a bit easier. We are keeping numpy at 1.26 (over all the sunpy packages) until it causes us trouble just for people who might still be stuck. |
Require Python 3.12, astropy 7.0 and matplotlib 3.10, in line with sunpy. numpy stays at 1.26, which is the sunpy-wide policy. The dask and specutils test floors also go up. Move tox, CI, ruff, the RTD environment and the cruft template variable to 3.12. oldestdeps now runs on 3.12 and the Windows job on 3.13. With astropy >= 7, the "numpy 1" repr in test_resampled_wcs.py (really an astropy < 6.1.3 artefact) and the astropy < 7 branch in test_compound_wcs.py are dead. The former would also fail oldestdeps with numpy 1.26. Remove both, plus a stale numpy 2 TODO in utils/cube.py. Also delete the unused pre-cruft .sunpy-template.yml and point the gilesbot figure report URLs at the py314 jobs that CircleCI runs.
Member
Author
|
I squashed this into one commit on top of main. Since the last version, numpy stays at 1.26 as you said. astropy is 7.0.0 instead of 7.0.2, and scipy and the tests-only/docs extras are back to what main has. I also dropped the global pyparsing filter in |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description
This drops Python 3.11 and raises the minimum dependency versions for 2.5, in line with sunpy:
Cleanups:
test_resampled_wcs.py. The difference really comes from astropy < 6.1.3. With numpy 1.26 and astropy >= 7, the version gate picks the wrong string and oldestdeps fails.test_compound_wcs.py.utils/cube.py. The code was already changed tonp.prod..sunpy-template.yml.Closes #731
AI Assistance Disclosure
AI tools were used for:
K