Merge changes from upstream - #787
Conversation
* fix: rename nice_names as well when clustering heat buses * add note
…#2202) * fix: keep unset p_set as NaN in cluster_heat_buses aggregation * fix: drop redundant numeric_only --------- Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
* doc: disable root toc entry * doc: add release note
* don't remove DC buses in sector network * bump DC nodes to low voltage, too * same bugfix in myopic code * restore master branch * add TODO note * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Bobby Xiong <36541459+bobbyxng@users.noreply.github.com> Co-authored-by: bobbyxng <bobbyxng@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
* fix: resolve plotting crashes due to missing tech colors Fixes PyPSA#2108. The plot summary and network mapping scripts crashed when technology color keys were missing from the plotting configuration. - Add missing 'heat dsm' color entry mapping - Implement _get_tech_colors() in plot_summary.py to safely lookup colors with warnings - Apply same safe color lookup and consistency logging to plot_power_network.py and plot_gas_network.py - Add test suite covering regression and safe fallback lookups * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactor: address review feedback, revert fallback colors and implement fail-fast validator * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test: import check_tech_colors directly and remove duplicates --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
Co-authored-by: Lukas Trippe <lkstrp@pm.me>
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
…updates (PyPSA#2217) Bumps the github-actions group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/cache](https://github.com/actions/cache). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v6...v7) Updates `actions/cache` from 5 to 6 - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](actions/cache@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/cache dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* revert PyPSA#2201 PyPSA version limit * [pypsa-bot] run `sync-locks` - `pixi run sync-locks` --------- Co-authored-by: pypsa[bot] <181215446+pypsa[bot]@users.noreply.github.com> Co-authored-by: Lukas Trippe <lkstrp@pm.me>
…yPSA#2219) Bumps the github-actions group with 1 update: [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi). Updates `prefix-dev/setup-pixi` from 0.9.6 to 0.10.0 - [Release notes](https://github.com/prefix-dev/setup-pixi/releases) - [Commits](prefix-dev/setup-pixi@v0.9.6...v0.10.0) --- updated-dependencies: - dependency-name: prefix-dev/setup-pixi dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…yPSA#2189) * Allow data version CSV file(s) to be specified in the config * Minor fixes * Allow YAML data versions * Cache loaded versions; refactor data version schema test * Revert config gen error message * fix: update error message to include all version files configured * Update docs * Path fixes --------- Co-authored-by: Johannes HAMPP <42553970+euronion@users.noreply.github.com> Co-authored-by: Lukas Trippe <lkstrp@pm.me>
* claude: fix deprecation warnings * pre-commit
Conflicts: .github/ISSUE_TEMPLATE/bug_report.yaml .github/ISSUE_TEMPLATE/feature_request.md doc/release_notes.md rules/common.smk rules/retrieve.smk scripts/_helpers.py test/test_data_versions_layer.py
There was a problem hiding this comment.
I see only very minor merge conflicts this time in
- Issue templates
rules/common.smkscripts/lib/validation/config/data.py
Please correct me, if I am missing any. The above are looking good.
I think we can quickly bring this in.
Just to note that the grype check is still failing coming from upstream.
Question: Do we want to follow up and define our own default target rule?
Sorry, forgot to list them. I've just udpated the PR description.
Yes, it's failing for
As I mentioned in the PR description, I don't think it's necessary. Do you have anything in mind? |
Thanks, helpful indeed. Let me have another look then.
We could consider cutting down on some of the upstream post-processing if we find not everything to be useful. But I don't think it is a high prio |
Ok, the other merge conflicts are also looking good. I actually noticed, that linopy is updated to 0.7.0 but not 0.8.0. Do you know why? It is older than 7d |
The latest version on conda-forge is 0.7.0.
Unless you have a specific need for it, I suggest keeping things like this and revisiting once we have a more specific requirement. |
Conflicts: envs/default_linux-64.pin.txt envs/default_osx-64.pin.txt envs/default_osx-arm64.pin.txt envs/default_win-64.pin.txt pixi.lock
Closes # (if applicable).
Changes proposed in this Pull Request
This PR brings the latest changes from PyPSA/PyPSA-Eur (up to PyPSA@ebd0cbe). Among other things, this PR introduces the following:
data/versions.csv(see original PR Makedata/versions.csveasily extendable with a configurable option PyPSA/pypsa-eur#2016 and opened follow-up issue Disentangledata/versions.csvusingdata/tyndp_versions.csv#773) ;default_targetrule (see original PR Makedefault_targetconfigurable PyPSA/pypsa-eur#2218) (it is suggested to keepallfor now).Merge conflicts:
Workflow
Open issues
Follow-up issues / PRs:
data/versions.csvusingdata/tyndp_versions.csv#773Notes
Checklist
Required:
doc/release_notes.md.If applicable:
scripts/lib/validation.config/test/*.yaml.pixi run -e open-tyndp tyndp-cyears-test).doc/*.mdfiles.doc/index.md.