.readthedocs.yaml installed requirements-dev.txt, which #896 removed.
Every Read the Docs build since 2026-02-23 failed with "Could not open
requirements file", so the published documentation stayed at 0.2.0.
Read the Docs now runs uv sync with the dev extra, which holds the
Sphinx packages, and takes the versions from uv.lock like CI.
Additional changes
Build the documentation with Python 3.13 like CI, pre-commit and Docker
Test that every file, path and extra in .readthedocs.yaml exists
Fixes#1561
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
cache_in_file created the cache file before it called the function. When
the call raised, e.g. a provider request answered with HTTP 500, the
empty file stayed in the store until it expired, and the next call logged
"Read failed: Ran out of input" before it called the function again. The
function is now called first; a failed call leaves the store unchanged.
Refs #1571
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
The prediction container stopped at the first enabled provider that
failed to update, so the providers after it in the sequence were not
updated in that run. A failing weather provider, at the start of the
sequence, thus also kept the electricity price, feed-in tariff, load and
PV forecasts from being updated. The container now updates all providers
and then raises one RuntimeError with the failures of all enabled
providers; with one failing provider the message is unchanged.
Refs #1571
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
Additional changes
The migration copies the old file to the backup instead of moving it and replaces the file atomically, only after the migration succeeded.
An explicit save keeps a copy of a file that could not be loaded and serializes the configuration before it opens the file.
The configuration guide describes the migration backup and what happens to a file that cannot be loaded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
uv sync without --locked resolves again when uv.lock is out of date.
The test jobs of #1569 installed pydantic 2.14.3 and pydantic-core
2.50.4, while uv.lock pins 2.14.2 and 2.50.2, and passed. With --locked
the test jobs fail on a stale lockfile like the pre-commit job and test
the versions uv.lock pins.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
Dependabot used the pip ecosystem, which changes only pyproject.toml.
The pre-commit job runs uv with --locked, so every Python dependency
pull request (#1565 to #1569) failed with "The lockfile at uv.lock
needs to be updated". The uv ecosystem updates uv.lock as well.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-opus-5-5)
test-ci ran the tests without a server with `-n auto`, one pytest-xdist
worker per core. On a machine with 32 cores and 16 GB of memory this
exhausted the threads (Windows, `RuntimeError: can't start new thread`)
or the memory (WSL); with eight workers all parts passed (reported in
the review of this pull request).
The target now adds `--maxprocesses=$(TEST_CI_MAX_WORKERS)` with a
default of 8, so it still starts one worker per core, but at most
eight. `make test-ci TEST_CI_MAX_WORKERS=<n>` changes the limit. CI is
not affected: its jobs call pytest themselves, on runners with four
cores.
Additional changes
Describe the limit, `--maxprocesses` and `PYTEST_XDIST_AUTO_NUM_WORKERS`
in the developer documentation
Refs #1553
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Assisted-by: Claude Code (claude-fable-5-2)