Skip to content

refactor: remove v1.0.0 deprecations#1257

Merged
lkstrp merged 7 commits intoPyPSA:masterfrom
lkstrp:remove-deprecations
Jul 24, 2025
Merged

refactor: remove v1.0.0 deprecations#1257
lkstrp merged 7 commits intoPyPSA:masterfrom
lkstrp:remove-deprecations

Conversation

@lkstrp
Copy link
Copy Markdown
Member

@lkstrp lkstrp commented Jun 20, 2025

Changes proposed in this Pull Request

  • Removes all deprecations to be removed in v1.0.0

@lkstrp lkstrp requested review from FabianHofmann and fneum June 20, 2025 13:48
Copy link
Copy Markdown
Member

@fneum fneum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable!

I have a small petition to keep n.plot() and n.explore() on the top level for quick access as aliases. What do you think about that?

You could also do n.apply_line_types() and n.apply_transformer_types().

Since quite a few functions are (re-)moved, there should be a migration guide for v1.0 documentation. Since we have been relatively quick to introduce and remove deprecations, people may miss deprecation warnings if they skip recent versions (e.g., v0.35). A good hint would be to upgrade to 0.35 first and address all deprecations.

@lkstrp lkstrp force-pushed the remove-deprecations branch 2 times, most recently from ed647c9 to b7486c3 Compare July 23, 2025 16:02
@lkstrp lkstrp force-pushed the remove-deprecations branch from b7486c3 to fb53230 Compare July 24, 2025 07:03
@lkstrp lkstrp force-pushed the remove-deprecations branch from 9e5905d to f65e861 Compare July 24, 2025 10:31
@lkstrp lkstrp merged commit 0e391be into PyPSA:master Jul 24, 2025
22 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants