fix: optimization fail after restart (#1007)
Some checks failed
Bump Version / Bump Version Workflow (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
docker-build / platform-excludes (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Run Pytest on Pull Request / test (push) Has been cancelled
docker-build / build (push) Has been cancelled
docker-build / merge (push) Has been cancelled
Close stale pull requests/issues / Find Stale issues and PRs (push) Has been cancelled

Fix documentation for the loadforecast_power_w key.

Fix documentation to explain the usage of import file/ JSON string to
primarily initialise prediction data.

Fix code scanning alert no. 6: URL redirection from remote source

Enable to automatically save the configuration to the configuration file
by default, which is a widespread user expectation.

Make the genetic parameters non optional for better pydantic compliance.

Update:
- bump pytest to 9.0.3
- bump pillow to 12.2.0
- bump platformdirs to 4.9.6
- bump typespyyaml to 6.0.12.20260408
- bump tzfpy to 1.2.0
- bump pydantic to 2.13.0
- bump types-requests to 2.33.0.20260408

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
Co-authored-by: Normann <github@koldrack.com>
This commit is contained in:
Bobby Noelte
2026-04-15 08:48:56 +02:00
committed by GitHub
parent 29cc3d7f3b
commit 6f28022ed0
19 changed files with 717 additions and 671 deletions

View File

@@ -31,15 +31,15 @@ dependencies = [
"bokeh==3.9.0",
"uvicorn==0.44.0",
"scipy==1.17.1",
"tzfpy==1.1.3",
"tzfpy==1.2.0",
"deap==1.4.3",
"requests==2.33.1",
"pandas==3.0.2",
"pendulum==3.2.0",
"platformdirs==4.9.4",
"platformdirs==4.9.6",
"psutil==7.2.2",
"pvlib==0.15.0",
"pydantic==2.12.5",
"pydantic==2.13.0",
"pydantic_extra_types==2.11.2",
"statsmodels==0.14.6",
"pydantic-settings==2.13.1",
@@ -61,11 +61,11 @@ dev = [
# !!! Sync .pre-commit-config.yaml with these dependencies !!!
"pre-commit==4.5.1",
"mypy==1.20.0",
"types-requests==2.33.0.20260402", # for mypy
"types-requests==2.33.0.20260408", # for mypy
"pandas-stubs==3.0.0.260204", # for mypy
"tokenize-rt==6.2.0", # for mypy
"types-docutils==0.22.3.20260322", # for mypy
"types-PyYaml==6.0.12.20250915", # for mypy
"types-PyYaml==6.0.12.20260408", # for mypy
"commitizen==4.13.9",
"deprecated==1.3.1", # for commitizen
@@ -78,7 +78,7 @@ dev = [
"docutils==0.21.2",
# Pytest
"pytest==9.0.2",
"pytest==9.0.3",
"pytest-asyncio==1.3.0",
"pytest-cov==7.1.0",
"pytest-xprocess==1.0.2",