diff --git a/config.yaml b/config.yaml index 28d9b2a..fc06fa5 100644 --- a/config.yaml +++ b/config.yaml @@ -6,7 +6,7 @@ # the root directory (no add-on folder as usual). name: "Akkudoktor-EOS" -version: "0.2.0.dev2602280860196123" +version: "0.2.0.dev2602281462942819" slug: "eos" description: "Akkudoktor-EOS add-on" url: "https://github.com/Akkudoktor-EOS/EOS" diff --git a/docs/_generated/configexample.md b/docs/_generated/configexample.md index cd78ac3..681d1ba 100644 --- a/docs/_generated/configexample.md +++ b/docs/_generated/configexample.md @@ -120,7 +120,7 @@ } }, "general": { - "version": "0.2.0.dev2602280860196123", + "version": "0.2.0.dev2602281462942819", "data_folder_path": "/home/user/.local/share/net.akkudoktoreos.net", "data_output_subpath": "output", "latitude": 52.52, diff --git a/docs/_generated/configgeneral.md b/docs/_generated/configgeneral.md index 015bc54..7ec919d 100644 --- a/docs/_generated/configgeneral.md +++ b/docs/_generated/configgeneral.md @@ -16,7 +16,7 @@ | latitude | `EOS_GENERAL__LATITUDE` | `Optional[float]` | `rw` | `52.52` | Latitude in decimal degrees between -90 and 90. North is positive (ISO 19115) (°) | | longitude | `EOS_GENERAL__LONGITUDE` | `Optional[float]` | `rw` | `13.405` | Longitude in decimal degrees within -180 to 180 (°) | | timezone | | `Optional[str]` | `ro` | `N/A` | Computed timezone based on latitude and longitude. | -| version | `EOS_GENERAL__VERSION` | `str` | `rw` | `0.2.0.dev2602280860196123` | Configuration file version. Used to check compatibility. | +| version | `EOS_GENERAL__VERSION` | `str` | `rw` | `0.2.0.dev2602281462942819` | Configuration file version. Used to check compatibility. | ::: @@ -28,7 +28,7 @@ ```json { "general": { - "version": "0.2.0.dev2602280860196123", + "version": "0.2.0.dev2602281462942819", "data_folder_path": "/home/user/.local/share/net.akkudoktoreos.net", "data_output_subpath": "output", "latitude": 52.52, @@ -46,7 +46,7 @@ ```json { "general": { - "version": "0.2.0.dev2602280860196123", + "version": "0.2.0.dev2602281462942819", "data_folder_path": "/home/user/.local/share/net.akkudoktoreos.net", "data_output_subpath": "output", "latitude": 52.52, diff --git a/docs/_generated/openapi.md b/docs/_generated/openapi.md index f3944bb..d0a99ce 100644 --- a/docs/_generated/openapi.md +++ b/docs/_generated/openapi.md @@ -1,6 +1,6 @@ # Akkudoktor-EOS -**Version**: `v0.2.0.dev2602280860196123` +**Version**: `v0.2.0.dev2602281462942819` **Description**: This project provides a comprehensive solution for simulating and optimizing an energy system based on renewable energy sources. With a focus on photovoltaic (PV) systems, battery storage (batteries), load management (consumer requirements), heat pumps, electric vehicles, and consideration of electricity price data, this system enables forecasting and optimization of energy flow and costs over a specified period. diff --git a/openapi.json b/openapi.json index 85c92c4..335fbef 100644 --- a/openapi.json +++ b/openapi.json @@ -8,7 +8,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "v0.2.0.dev2602280860196123" + "version": "v0.2.0.dev2602281462942819" }, "paths": { "/v1/admin/cache/clear": { @@ -4451,7 +4451,7 @@ "type": "string", "title": "Version", "description": "Configuration file version. Used to check compatibility.", - "default": "0.2.0.dev2602280860196123" + "default": "0.2.0.dev2602281462942819" }, "data_folder_path": { "type": "string", @@ -4514,7 +4514,7 @@ "type": "string", "title": "Version", "description": "Configuration file version. Used to check compatibility.", - "default": "0.2.0.dev2602280860196123" + "default": "0.2.0.dev2602281462942819" }, "data_folder_path": { "type": "string", diff --git a/pyproject.toml b/pyproject.toml index fafd427..379fe2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ dependencies = [ "beautifulsoup4==4.14.3", "cachebox==5.2.2", "numpy==2.4.2", - "numpydantic==1.7.0", + "numpydantic==1.8.0", "matplotlib==3.10.8", "contourpy==1.3.3", "fastapi[standard-no-fastapi-cloud-cli]==0.134.0", diff --git a/tests/test_docstringrst.py b/tests/test_docstringrst.py index 7b8323b..80107d9 100644 --- a/tests/test_docstringrst.py +++ b/tests/test_docstringrst.py @@ -40,6 +40,9 @@ IGNORE_LOCATIONS = [ r"\.ComputedFieldInfo.*", r"\.PrivateAttr$", + # numpydantic + r"\.Shape.*", + # pathlib r"\.Path.*", diff --git a/uv.lock b/uv.lock index dc150d9..4274333 100644 --- a/uv.lock +++ b/uv.lock @@ -84,7 +84,7 @@ requires-dist = [ { name = "deap", specifier = "==1.4.3" }, { name = "deprecated", marker = "extra == 'dev'", specifier = "==1.3.1" }, { name = "docutils", marker = "extra == 'dev'", specifier = "==0.21.2" }, - { name = "fastapi", extras = ["standard-no-fastapi-cloud-cli"], specifier = "==0.133.0" }, + { name = "fastapi", extras = ["standard-no-fastapi-cloud-cli"], specifier = "==0.134.0" }, { name = "fastapi-cli", specifier = "==0.0.24" }, { name = "gitpython", marker = "extra == 'dev'", specifier = "==3.1.46" }, { name = "linkify-it-py", specifier = "==2.0.3" }, @@ -97,7 +97,7 @@ requires-dist = [ { name = "mypy", marker = "extra == 'dev'", specifier = "==1.19.1" }, { name = "myst-parser", marker = "extra == 'dev'", specifier = "==5.0.0" }, { name = "numpy", specifier = "==2.4.2" }, - { name = "numpydantic", specifier = "==1.7.0" }, + { name = "numpydantic", specifier = "==1.8.0" }, { name = "pandas", specifier = "==3.0.1" }, { name = "pandas-stubs", marker = "extra == 'dev'", specifier = "==3.0.0.260204" }, { name = "pendulum", specifier = "==3.2.0" }, @@ -828,7 +828,7 @@ wheels = [ [[package]] name = "fastapi" -version = "0.133.0" +version = "0.134.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "annotated-doc" }, @@ -837,9 +837,9 @@ dependencies = [ { name = "typing-extensions" }, { name = "typing-inspection" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/c2/04/ab382c7c03dd545f2c964d06e87ad0d5faa944a2434186ad9c285f5d87e0/fastapi-0.133.0.tar.gz", hash = "sha256:b900a2bf5685cdb0647a41d5900bdeafc3a9e8a28ac08c6246b76699e164d60d", size = 373265, upload-time = "2026-02-24T09:53:40.143Z" } +sdist = { url = "https://files.pythonhosted.org/packages/96/15/647ea81cb73b55b48fb095158a9cd64e42e9e4f1d34dbb5cc4a4939779d6/fastapi-0.134.0.tar.gz", hash = "sha256:3122b1ea0dbeaab48b5976e80b99ca7eda02be154bf03e126a33220e73255a9a", size = 385667, upload-time = "2026-02-27T21:18:12.931Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/bf/b4/023e75a2ec3f5440e380df6caf4d28edc0806d007193e6fb0707237886a4/fastapi-0.133.0-py3-none-any.whl", hash = "sha256:0a78878483d60702a1dde864c24ab349a1a53ef4db6b6f74f8cd4a2b2bc67d2f", size = 104787, upload-time = "2026-02-24T09:53:41.404Z" }, + { url = "https://files.pythonhosted.org/packages/e3/e6/fd49c28a54b7d6f5c64045155e40f6cff9ed4920055043fb5ac7969f7f2f/fastapi-0.134.0-py3-none-any.whl", hash = "sha256:f4e7214f24b2262258492e05c48cf21125e4ffc427e30dd32fb4f74049a3d56a", size = 110404, upload-time = "2026-02-27T21:18:10.809Z" }, ] [package.optional-dependencies] @@ -1853,15 +1853,15 @@ wheels = [ [[package]] name = "numpydantic" -version = "1.7.0" +version = "1.8.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "numpy" }, { name = "pydantic" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/59/ba/6bf5e0a7cc3fbfbb02a7824926cad73c58df374322eb7728b378023a76dc/numpydantic-1.7.0.tar.gz", hash = "sha256:268285bee026d9dfdf23efeee13f60c3b75d47de2ffdf2e58b4f0c17a6824e3b", size = 80412, upload-time = "2025-10-11T05:23:56.654Z" } +sdist = { url = "https://files.pythonhosted.org/packages/83/87/59e5cac8d14bdaec8f13f954b54c8c48cf107ea19c476ba781514f4b2cc3/numpydantic-1.8.0.tar.gz", hash = "sha256:874f009d141fe70de2e096527683a722a25a32ef561a55a210d3e486e9c99327", size = 81681, upload-time = "2026-02-27T02:15:39.137Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/21/e0/42f0ea229a8b5ada24a1eae4f5522b80ab65b4083f5cea4c7372bc894af3/numpydantic-1.7.0-py3-none-any.whl", hash = "sha256:81314ed00423efa954a711a48003dba5382156e899f677f405ce043f5296b090", size = 86734, upload-time = "2025-10-11T05:23:55.003Z" }, + { url = "https://files.pythonhosted.org/packages/97/3f/ba491e30e8be2996a5ee31cf395f445a34c10519156ec15c6edb83e66f23/numpydantic-1.8.0-py3-none-any.whl", hash = "sha256:7c9586f50bbdf331b9a6b3a15b86cd1afa42096af20df1bf1f3620031dc393f3", size = 87589, upload-time = "2026-02-27T02:01:46.092Z" }, ] [[package]]