Skip to content

Update logic to prevent deprecation warnings (3.12+) - #140

Merged
sadielbartholomew merged 7 commits into
NCAS-CMS:mainfrom
sadielbartholomew:prevent-deprecation-warnings
Oct 23, 2026
Merged

sadielbartholomew merged 7 commits into
NCAS-CMS:mainfrom
sadielbartholomew:prevent-deprecation-warnings

Conversation

@sadielbartholomew

Copy link
Copy Markdown
Member

Close #72 (where the final warning noted in my comment #72 (comment) emerges from cfdm so will be fixed over in that codebase). There may be other instances of deprecated logic but I will fix those as and when they are noticed - this is to address the backlog of deprecation warnings.

@sadielbartholomew sadielbartholomew changed the title Update logic to prevent deprecation warnings for Python 3.12+ Update logic to prevent deprecation warnings (3.12+) Oct 23, 2026
@sadielbartholomew

Copy link
Copy Markdown
Member Author

Some of the image comparison tests fails (two streamplot cases) but I've realised it isn't helpful to know they failed without being able to see/access them, so also adding a new step to the image comparison workflow to store those for a set amount of time which I've set at 7 days (this can be reviewed over time). Closing and re-opening to test, aiming to get those generated plots to eyeball.

@sadielbartholomew

Copy link
Copy Markdown
Member Author

All deprecation warnings gone bar though exceptions noted, all local and CI tests passing and artifacts are successfully generated for the image comparison test jobs. So all good, merging.

@sadielbartholomew
sadielbartholomew merged commit f4644cd into NCAS-CMS:main Oct 23, 2026
8 checks passed
@sadielbartholomew
sadielbartholomew deleted the prevent-deprecation-warnings branch October 23, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address all deprecation warnings (for Python 3.12+)

1 participant