Skip to content

Replace DeprecationWarning with FutureWarning#11112

Merged
jsignell merged 5 commits intopydata:mainfrom
jsignell:deprecationwarning
Feb 5, 2026
Merged

Replace DeprecationWarning with FutureWarning#11112
jsignell merged 5 commits intopydata:mainfrom
jsignell:deprecationwarning

Conversation

@jsignell
Copy link
Member

We talked about this in the xarray developer meeting today. DeprecationWarning is not intended to be user-facing whereas FutureWarning is. This PR changes all DepreactionWarning to FutureWarning which I think is always xarray's intention.

This PR has the potential to be very noisy for people as a bunch of deprecations will be made visible to the user.

  • User visible changes (including notable bug fixes) are documented in whats-new.rst

@github-actions github-actions bot added topic-hypothesis Strategies or tests using the hypothesis library io labels Jan 28, 2026
@jsignell jsignell marked this pull request as ready for review January 28, 2026 21:49
@jsignell jsignell requested a review from keewis January 28, 2026 21:50
@jsignell jsignell enabled auto-merge (squash) February 5, 2026 15:05
@jsignell jsignell merged commit e993e1c into pydata:main Feb 5, 2026
39 checks passed
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.

2 participants