frequenz-gridpool 0.4.2__tar.gz → 0.4.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {frequenz_gridpool-0.4.2/src/frequenz_gridpool.egg-info → frequenz_gridpool-0.4.5}/PKG-INFO +4 -3
  2. frequenz_gridpool-0.4.5/RELEASE_NOTES.md +22 -0
  3. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/pyproject.toml +6 -3
  4. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5/src/frequenz_gridpool.egg-info}/PKG-INFO +4 -3
  5. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz_gridpool.egg-info/SOURCES.txt +2 -0
  6. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz_gridpool.egg-info/requires.txt +3 -2
  7. frequenz_gridpool-0.4.5/src/frequenz_gridpool.egg-info/scm_file_list.json +53 -0
  8. frequenz_gridpool-0.4.5/src/frequenz_gridpool.egg-info/scm_version.json +8 -0
  9. frequenz_gridpool-0.4.2/RELEASE_NOTES.md +0 -17
  10. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/LICENSE +0 -0
  11. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/MANIFEST.in +0 -0
  12. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/README.md +0 -0
  13. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/setup.cfg +0 -0
  14. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/__init__.py +0 -0
  15. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/_graph_generator.py +0 -0
  16. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/_microgrid_config.py +0 -0
  17. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/cli/__init__.py +0 -0
  18. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/cli/__main__.py +0 -0
  19. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/cli/_render_graph.py +0 -0
  20. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/conftest.py +0 -0
  21. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz/gridpool/py.typed +0 -0
  22. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz_gridpool.egg-info/dependency_links.txt +0 -0
  23. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz_gridpool.egg-info/entry_points.txt +0 -0
  24. {frequenz_gridpool-0.4.2 → frequenz_gridpool-0.4.5}/src/frequenz_gridpool.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: frequenz-gridpool
3
- Version: 0.4.2
3
+ Version: 0.4.5
4
4
  Summary: High-level interface to grid pools for the Frequenz platform.
5
5
  Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
6
6
  License-Expression: MIT
@@ -22,8 +22,8 @@ License-File: LICENSE
22
22
  Requires-Dist: marshmallow-dataclass<9,>=8.7.1
23
23
  Requires-Dist: asyncclick<9,>=8.3.0.4
24
24
  Requires-Dist: typing-extensions<5,>=4.14.1
25
- Requires-Dist: frequenz-microgrid-component-graph<0.4,>=0.3.4
26
- Requires-Dist: frequenz-client-assets<0.4,>=0.3.0
25
+ Requires-Dist: frequenz-microgrid-component-graph<0.6,>=0.5.0
26
+ Requires-Dist: frequenz-client-assets<0.4,>=0.3.1
27
27
  Provides-Extra: render-graph
28
28
  Requires-Dist: matplotlib<4,>=3.7.0; extra == "render-graph"
29
29
  Requires-Dist: networkx<4,>=3.0; extra == "render-graph"
@@ -65,6 +65,7 @@ Requires-Dist: frequenz-repo-config[extra-lint-examples]==0.17.0; extra == "dev-
65
65
  Requires-Dist: pytest-mock==3.15.1; extra == "dev-pytest"
66
66
  Requires-Dist: pytest-asyncio==1.3.0; extra == "dev-pytest"
67
67
  Requires-Dist: async-solipsism==0.9; extra == "dev-pytest"
68
+ Requires-Dist: frequenz-gridpool[render-graph]; extra == "dev-pytest"
68
69
  Provides-Extra: dev
69
70
  Requires-Dist: frequenz-gridpool[dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest,render-graph]; extra == "dev"
70
71
  Dynamic: license-file
@@ -0,0 +1,22 @@
1
+ # Frequenz Gridpool Library Release Notes
2
+
3
+ ## Summary
4
+
5
+ <!-- Here goes a general summary of what this release is about -->
6
+
7
+ ## Upgrading
8
+
9
+ - This updates the component-graph library to v0.5.0, which now needs `frequenz-client-assets` >= 0.3.1. It changes the generated per-category formulas, so regenerate stored configs with this release and review the diff.
10
+
11
+ - The formula fallback engine was rewritten. Formulas can now use meter subtraction as a fallback, which gives better fallback coverage. The exact formula strings can differ from the previous release, even for the same graph.
12
+ - The per-category formulas (`pv`, `battery`, `chp`, `ev`) now read the component first and use the meter as the fallback. This is the opposite of the previous order.
13
+
14
+ See the [v0.5.0 release notes](https://github.com/frequenz-floss/frequenz-microgrid-component-graph-python/releases/tag/v0.5.0) of the component graph library for the full list of changes.
15
+
16
+ ## New Features
17
+
18
+ <!-- Here goes the main new features and examples or instructions on how to use them -->
19
+
20
+ ## Bug Fixes
21
+
22
+ <!-- Here goes notable bug fixes that are worth a special mention or explanation -->
@@ -4,7 +4,7 @@
4
4
  [build-system]
5
5
  requires = [
6
6
  "setuptools == 82.0.1",
7
- "setuptools_scm[toml] == 10.0.5",
7
+ "setuptools_scm[toml] == 10.2.0",
8
8
  "frequenz-repo-config[lib] == 0.17.0",
9
9
  ]
10
10
  build-backend = "setuptools.build_meta"
@@ -29,8 +29,8 @@ dependencies = [
29
29
  "marshmallow-dataclass >= 8.7.1, < 9",
30
30
  "asyncclick >= 8.3.0.4, < 9",
31
31
  "typing-extensions >= 4.14.1, < 5",
32
- "frequenz-microgrid-component-graph >= 0.3.4, < 0.4",
33
- "frequenz-client-assets >= 0.3.0, < 0.4",
32
+ "frequenz-microgrid-component-graph >= 0.5.0, < 0.6",
33
+ "frequenz-client-assets >= 0.3.1, < 0.4",
34
34
  ]
35
35
  dynamic = ["version"]
36
36
 
@@ -91,6 +91,9 @@ dev-pytest = [
91
91
  "pytest-mock == 3.15.1",
92
92
  "pytest-asyncio == 1.3.0",
93
93
  "async-solipsism == 0.9",
94
+ # The tests also cover the graph renderer, which needs matplotlib and
95
+ # networkx.
96
+ "frequenz-gridpool[render-graph]",
94
97
  ]
95
98
  dev = [
96
99
  "frequenz-gridpool[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest,render-graph]",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: frequenz-gridpool
3
- Version: 0.4.2
3
+ Version: 0.4.5
4
4
  Summary: High-level interface to grid pools for the Frequenz platform.
5
5
  Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
6
6
  License-Expression: MIT
@@ -22,8 +22,8 @@ License-File: LICENSE
22
22
  Requires-Dist: marshmallow-dataclass<9,>=8.7.1
23
23
  Requires-Dist: asyncclick<9,>=8.3.0.4
24
24
  Requires-Dist: typing-extensions<5,>=4.14.1
25
- Requires-Dist: frequenz-microgrid-component-graph<0.4,>=0.3.4
26
- Requires-Dist: frequenz-client-assets<0.4,>=0.3.0
25
+ Requires-Dist: frequenz-microgrid-component-graph<0.6,>=0.5.0
26
+ Requires-Dist: frequenz-client-assets<0.4,>=0.3.1
27
27
  Provides-Extra: render-graph
28
28
  Requires-Dist: matplotlib<4,>=3.7.0; extra == "render-graph"
29
29
  Requires-Dist: networkx<4,>=3.0; extra == "render-graph"
@@ -65,6 +65,7 @@ Requires-Dist: frequenz-repo-config[extra-lint-examples]==0.17.0; extra == "dev-
65
65
  Requires-Dist: pytest-mock==3.15.1; extra == "dev-pytest"
66
66
  Requires-Dist: pytest-asyncio==1.3.0; extra == "dev-pytest"
67
67
  Requires-Dist: async-solipsism==0.9; extra == "dev-pytest"
68
+ Requires-Dist: frequenz-gridpool[render-graph]; extra == "dev-pytest"
68
69
  Provides-Extra: dev
69
70
  Requires-Dist: frequenz-gridpool[dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest,render-graph]; extra == "dev"
70
71
  Dynamic: license-file
@@ -16,4 +16,6 @@ src/frequenz_gridpool.egg-info/SOURCES.txt
16
16
  src/frequenz_gridpool.egg-info/dependency_links.txt
17
17
  src/frequenz_gridpool.egg-info/entry_points.txt
18
18
  src/frequenz_gridpool.egg-info/requires.txt
19
+ src/frequenz_gridpool.egg-info/scm_file_list.json
20
+ src/frequenz_gridpool.egg-info/scm_version.json
19
21
  src/frequenz_gridpool.egg-info/top_level.txt
@@ -1,8 +1,8 @@
1
1
  marshmallow-dataclass<9,>=8.7.1
2
2
  asyncclick<9,>=8.3.0.4
3
3
  typing-extensions<5,>=4.14.1
4
- frequenz-microgrid-component-graph<0.4,>=0.3.4
5
- frequenz-client-assets<0.4,>=0.3.0
4
+ frequenz-microgrid-component-graph<0.6,>=0.5.0
5
+ frequenz-client-assets<0.4,>=0.3.1
6
6
 
7
7
  [dev]
8
8
  frequenz-gridpool[dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest,render-graph]
@@ -51,6 +51,7 @@ frequenz-repo-config[extra-lint-examples]==0.17.0
51
51
  pytest-mock==3.15.1
52
52
  pytest-asyncio==1.3.0
53
53
  async-solipsism==0.9
54
+ frequenz-gridpool[render-graph]
54
55
 
55
56
  [render-graph]
56
57
  matplotlib<4,>=3.7.0
@@ -0,0 +1,53 @@
1
+ {
2
+ "files": [
3
+ ".gitignore",
4
+ "README.md",
5
+ "CONTRIBUTING.md",
6
+ ".editorconfig",
7
+ ".cookiecutter-replay.json",
8
+ "pyproject.toml",
9
+ "MANIFEST.in",
10
+ "RELEASE_NOTES.md",
11
+ "LICENSE",
12
+ "mkdocs.yml",
13
+ "CODEOWNERS",
14
+ "noxfile.py",
15
+ "src/frequenz/gridpool/conftest.py",
16
+ "src/frequenz/gridpool/_graph_generator.py",
17
+ "src/frequenz/gridpool/_microgrid_config.py",
18
+ "src/frequenz/gridpool/py.typed",
19
+ "src/frequenz/gridpool/__init__.py",
20
+ "src/frequenz/gridpool/cli/__main__.py",
21
+ "src/frequenz/gridpool/cli/_render_graph.py",
22
+ "src/frequenz/gridpool/cli/__init__.py",
23
+ ".github/labeler.yml",
24
+ ".github/dependabot.yml",
25
+ ".github/keylabeler.yml",
26
+ ".github/RELEASE_NOTES.template.md",
27
+ ".github/workflows/labeler.yml",
28
+ ".github/workflows/repo-config-migration.yaml",
29
+ ".github/workflows/ci-pr.yaml",
30
+ ".github/workflows/ci.yaml",
31
+ ".github/workflows/black-migration.yaml",
32
+ ".github/workflows/dco-merge-queue.yml",
33
+ ".github/workflows/release-notes-check.yml",
34
+ ".github/workflows/auto-dependabot.yaml",
35
+ ".github/ISSUE_TEMPLATE/config.yml",
36
+ ".github/ISSUE_TEMPLATE/feature.yml",
37
+ ".github/ISSUE_TEMPLATE/bug.yml",
38
+ ".github/containers/nox-cross-arch/arm64-ubuntu-20.04-python-3.11.Dockerfile",
39
+ ".github/containers/nox-cross-arch/entrypoint.bash",
40
+ ".github/containers/test-installation/Dockerfile",
41
+ "tests/test_graph_generator.py",
42
+ "tests/test_render_graph.py",
43
+ "tests/test_config.py",
44
+ "docs/SUMMARY.md",
45
+ "docs/CONTRIBUTING.md",
46
+ "docs/index.md",
47
+ "docs/_img/logo.png",
48
+ "docs/_css/mkdocstrings.css",
49
+ "docs/_css/style.css",
50
+ "docs/_scripts/mkdocstrings_autoapi.py",
51
+ "docs/_overrides/main.html"
52
+ ]
53
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.4.5",
3
+ "distance": 0,
4
+ "node": "g753e8a67a131a7a44f78d4b3b316f59509e227b0",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-07-21"
8
+ }
@@ -1,17 +0,0 @@
1
- # Frequenz Gridpool Library Release Notes
2
-
3
- ## Summary
4
-
5
- <!-- Here goes a general summary of what this release is about -->
6
-
7
- ## Upgrading
8
-
9
- <!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10
-
11
- ## New Features
12
-
13
- - If there are unconnected breakers at a site, they are now hidden from the component graph. If there are breakers with connections to other components, they are still sent to the component graph. This is a temporary measure until the graph traversal supports breakers.
14
-
15
- ## Bug Fixes
16
-
17
- - Fixed auto-formula population to only fill formulas for component types already present in a microgrid configuration. This prevents creating placeholder entries with `None` formulas for component types that are not configured.