Repository navigation
docs: list legacy alignment sites on 0.10 before migrating to v1 - #1188
Open
MaykThewessen wants to merge 1 commit into
Open
MaykThewessen wants to merge 1 commit into
MaykThewessen wants to merge 1 commit into
Conversation
…ntics On linopy 1.0 a build stops at the first raise. Add a stdlib snippet to the migration guide that runs a build on linopy 0.10, collects every LinopySemanticsWarning and lists the user's file:line per site, so all lines to fix show up in one pass. Follows the docs-helper route agreed in PyPSA#717. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merging this PR will not alter performance
Comparing Footnotes
|
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.
Changes proposed in this Pull Request
A short section in the v1 migration guide: on linopy 0.10, a stdlib snippet collects every
LinopySemanticsWarningduring a model build and prints one line per call site, so users can list everything to fix in one pass before they upgrade. Docs only, no new API, as @FBumann preferred in #717 (comment).Note
The following content was generated by AI.
Checks
x.add(y, join="inner")andx + y.assign_coords(...)) emit no warning on 0.10.1 and run on master.pre-commit run --files doc/user-guide/migrating-to-v1.mdpasses. Nomkdocs buildwas run.Checklist
AGENTS.md).doc.doc/release_notes.rstof the upcoming release is included.🤖 Generated with Claude Code