Skip to content

Commit f1ef400

Browse files
authored
Fix v0.x.x (#102)
This PR *fixes* v0.x.x by removing the recently introduced `v1alpha8` namespace and making the new additions backwards compatible. It moves the new additions from the `v1alpha8` namespace to the top-level (`electrical_components` and `streaming` modulues). It also fixes the dependency constraint for `frequenz-api-common`.
2 parents 7fc4d15 + bd74473 commit f1ef400

File tree

12 files changed

+5
-357
lines changed

12 files changed

+5
-357
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
## Summary
44

5-
This release introduces the `v1alpha8` module to support a new API version.
65

76
## Upgrading
87

98
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
109

1110
## New Features
1211

13-
- Provide access to new API using new `v1alpha8` module.
1412
- Mapping for the new `Event` message has been added.
13+
- Add new common API enums for `ElectricalComponent` (previously `Components`).
1514

1615
## Bug Fixes
1716

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ classifiers = [
2727
requires-python = ">= 3.11, < 4"
2828
dependencies = [
2929
"typing-extensions >= 4.13.0, < 5",
30-
"frequenz-api-common >= 0.8.0, < 9",
30+
"frequenz-api-common >= 0.8.0, < 1",
3131
"frequenz-core >= 1.0.2, < 2",
3232
]
3333
dynamic = ["version"]
@@ -40,7 +40,7 @@ email = "[email protected]"
4040
dev-flake8 = [
4141
"flake8 == 7.3.0",
4242
"flake8-docstrings == 1.7.0",
43-
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
43+
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
4444
"pydoclint == 0.6.6",
4545
"pydocstyle == 6.3.0",
4646
]

src/frequenz/client/common/v1alpha8/__init__.py

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/frequenz/client/common/v1alpha8/metric/__init__.py

Lines changed: 0 additions & 162 deletions
This file was deleted.

src/frequenz/client/common/v1alpha8/microgrid/__init__.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/frequenz/client/common/v1alpha8/microgrid/sensors.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/frequenz/client/common/v1alpha8/pagination/__init__.py

Lines changed: 0 additions & 91 deletions
This file was deleted.

tests/microgrid/test_ids_alpha8.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)