chore: update linopy requirement from <0.8,>=0.5.1 to >=0.5.1,<0.9#701
Open
dependabot[bot] wants to merge 2 commits into
Open
chore: update linopy requirement from <0.8,>=0.5.1 to >=0.5.1,<0.9#701dependabot[bot] wants to merge 2 commits into
dependabot[bot] wants to merge 2 commits into
Conversation
Updates the requirements on [linopy](https://github.com/PyPSA/linopy) to permit the latest version. - [Release notes](https://github.com/PyPSA/linopy/releases) - [Changelog](https://github.com/PyPSA/linopy/blob/master/doc/release_notes.rst) - [Commits](PyPSA/linopy@v0.5.1...v0.8.0) --- updated-dependencies: - dependency-name: linopy dependency-version: 0.8.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
216fc9b to
169d43e
Compare
FBumann
added a commit
that referenced
this pull request
Jun 14, 2026
linopy <0.8 stores the extra-timestep charge_state variable as (time, cluster), because its 'time' coordinate (length n+1) conflicts with the model's 'time' (length n), and 0.7 reorders the conflicting dim to the front. Every other variable is (cluster, time). linopy >=0.8 makes coords the source of truth and is already consistent. flixopt cannot control this from the bounds/coords it passes (0.7 reorders internally), so normalize in the solution property: transpose 'cluster' before 'time'. This is a no-op on linopy >=0.8 and for non-clustered systems, and only touches the cluster/time axis ordering (other dims and scalars are preserved via the ellipsis). Also update the clustering test to access charge_state by label and assert the now-deterministic (cluster, time) order. Unblocks the linopy 0.8 bump in #701. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
FBumann
added a commit
that referenced
this pull request
Jun 14, 2026
linopy <0.8 stores the extra-timestep charge_state variable as (time, cluster), because its 'time' coordinate (length n+1) conflicts with the model's 'time' (length n), and 0.7 reorders the conflicting dim to the front. Every other variable is (cluster, time). linopy >=0.8 makes coords the source of truth and is already consistent. flixopt cannot control this from the bounds/coords it passes (0.7 reorders internally), so normalize in the solution property: transpose 'cluster' before 'time'. This is a no-op on linopy >=0.8 and for non-clustered systems, and only touches the cluster/time axis ordering (other dims and scalars are preserved via the ellipsis). Also update the clustering test to access charge_state by label and assert the now-deterministic (cluster, time) order. Unblocks the linopy 0.8 bump in #701. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
FBumann
added a commit
that referenced
this pull request
Jun 14, 2026
linopy <0.8 stores the extra-timestep charge_state variable as (time, cluster), because its 'time' coordinate (length n+1) conflicts with the model's 'time' (length n), and 0.7 reorders the conflicting dim to the front. Every other variable is (cluster, time). linopy >=0.8 makes coords the source of truth and is already consistent. flixopt cannot control this from the bounds/coords it passes (0.7 reorders internally), so normalize in the solution property: transpose 'cluster' before 'time'. This is a no-op on linopy >=0.8 and for non-clustered systems, and only touches the cluster/time axis ordering (other dims and scalars are preserved via the ellipsis). Also update the clustering test to access charge_state by label and assert the now-deterministic (cluster, time) order. Unblocks the linopy 0.8 bump in #701. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Updates the requirements on linopy to permit the latest version.
Release notes
Sourced from linopy's releases.
Changelog
Sourced from linopy's changelog.
... (truncated)
Commits
0f62fd8docs: cut release notes for v0.8.0 (#759)356fd45feat: add m.dualize() (#626)6fb7bb7feat: Add indicator constraints (#594)9eeb838fix: Variable.fix() value alignment on named dimensions (#774)7eb8c9afix(groupby): group by non-dimension coordinate names; fast multi-key groupin...fdf613dtest: use public API in assertions instead of internal .data (#760)a539a6efix: regression with tuple coords entries as xarray's (dim_name, values) (#766)076c16afix(alignment): tolerate xarray without CoordinateValidationError (#762)6a5d748docs: add AI-assisted contribution guide (#754)a74724frefactor: return Self from SolverStatus.from_termination_condition (#746)