Uh oh!
There was an error while loading. Please reload this page.
chore: update linopy requirement from <0.8,>=0.5.1 to >=0.5.1,<0.9 - #701
chore: update linopy requirement from <0.8,>=0.5.1 to >=0.5.1,<0.9#701dependabot[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
169d43eComparelinopy <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>
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>
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
commented
Jul 21, 2026
Closing: widening the linopy pin without the v1-semantics fixes breaks the model build. The pin will be updated as part of #729 once linopy 0.8 is released. |
Pull request was closed
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
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)