frequenz-api-common 0.6.1__tar.gz → 0.6.2__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 (50) hide show
  1. {frequenz-api-common-0.6.1/py/frequenz_api_common.egg-info → frequenz-api-common-0.6.2}/PKG-INFO +1 -1
  2. frequenz-api-common-0.6.2/RELEASE_NOTES.md +5 -0
  3. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2/py/frequenz_api_common.egg-info}/PKG-INFO +1 -1
  4. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/pyproject.toml +16 -1
  5. frequenz-api-common-0.6.1/RELEASE_NOTES.md +0 -10
  6. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/LICENSE +0 -0
  7. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/MANIFEST.in +0 -0
  8. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/README.md +0 -0
  9. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/components.proto +0 -0
  10. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/location.proto +0 -0
  11. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/metrics/electrical.proto +0 -0
  12. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/metrics.proto +0 -0
  13. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/grid/delivery_area.proto +0 -0
  14. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/grid/delivery_duration.proto +0 -0
  15. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/location.proto +0 -0
  16. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/market/energy.proto +0 -0
  17. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/market/price.proto +0 -0
  18. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/metrics/bounds.proto +0 -0
  19. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/metrics/metric_sample.proto +0 -0
  20. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/battery.proto +0 -0
  21. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/components.proto +0 -0
  22. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/ev_charger.proto +0 -0
  23. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/fuse.proto +0 -0
  24. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/grid.proto +0 -0
  25. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/inverter.proto +0 -0
  26. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/components/transformer.proto +0 -0
  27. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/lifetime.proto +0 -0
  28. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/microgrid.proto +0 -0
  29. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/microgrid/sensors/sensors.proto +0 -0
  30. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/pagination/pagination_info.proto +0 -0
  31. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/pagination/pagination_params.proto +0 -0
  32. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/proto/frequenz/api/common/v1/types/decimal.proto +0 -0
  33. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/conftest.py +0 -0
  34. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/__init__.py +0 -0
  35. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/metrics/__init__.py +0 -0
  36. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/py.typed +0 -0
  37. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/__init__.py +0 -0
  38. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/grid/__init__.py +0 -0
  39. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/market/__init__.py +0 -0
  40. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/metrics/__init__.py +0 -0
  41. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/microgrid/__init__.py +0 -0
  42. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/microgrid/components/__init__.py +0 -0
  43. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/microgrid/sensors/__init__.py +0 -0
  44. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/pagination/__init__.py +0 -0
  45. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz/api/common/v1/types/__init__.py +0 -0
  46. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz_api_common.egg-info/SOURCES.txt +0 -0
  47. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz_api_common.egg-info/dependency_links.txt +0 -0
  48. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz_api_common.egg-info/requires.txt +1 -1
  49. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/py/frequenz_api_common.egg-info/top_level.txt +0 -0
  50. {frequenz-api-common-0.6.1 → frequenz-api-common-0.6.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: frequenz-api-common
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Frequenz common gRPC API and bindings
5
5
  Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
6
6
  License: MIT
@@ -0,0 +1,5 @@
1
+ # Frequenz Common API Release Notes
2
+
3
+ ## Bug Fixes
4
+
5
+ - Fix a dependency issue by pinning the `grpcio` version and related libraries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: frequenz-api-common
3
- Version: 0.6.1
3
+ Version: 0.6.2
4
4
  Summary: Frequenz common gRPC API and bindings
5
5
  Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
6
6
  License: MIT
@@ -6,6 +6,13 @@ requires = [
6
6
  "setuptools == 68.1.0",
7
7
  "setuptools_scm[toml] == 7.1.0",
8
8
  "frequenz-repo-config[api] == 0.9.2",
9
+ # We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
10
+ # sure the code is generated using the minimum supported versions, as older
11
+ # versions can't work with code that was generated with newer versions.
12
+ # https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
13
+ "protobuf == 4.25.3",
14
+ "grpcio-tools == 1.51.1",
15
+ "grpcio == 1.51.1",
9
16
  ]
10
17
  build-backend = "setuptools.build_meta"
11
18
 
@@ -25,7 +32,15 @@ classifiers = [
25
32
  "Typing :: Typed",
26
33
  ]
27
34
  requires-python = ">= 3.11, < 4"
28
- dependencies = ["grpcio >= 1.51.1, < 2", "protobuf >= 4.25.3, < 6"]
35
+ dependencies = [
36
+ # We can't widen beyond 6 because of protobuf cross-version runtime guarantees
37
+ # https://protobuf.dev/support/cross-version-runtime-guarantee/#major
38
+ "protobuf >= 4.25.3, < 6", # Do not widen beyond 6!
39
+ # We couldn't find any document with a spec about the cross-version runtime
40
+ # guarantee for grpcio, so unless we find one in the future, we'll assume
41
+ # major version jumps are not compatible
42
+ "grpcio >= 1.51.1, < 2", # Do not widen beyond 2!
43
+ ]
29
44
  dynamic = ["version"]
30
45
 
31
46
  [[project.authors]]
@@ -1,10 +0,0 @@
1
- # Frequenz Common API Release Notes
2
-
3
- ## Summary
4
-
5
- This release adds a new component category `COMPONENT_CATEGORY_HVAC` to the API.
6
-
7
- ## New Features
8
-
9
- - A new component category `COMPONENT_CATEGORY_HVAC` has been added to the API
10
- to represent HVAC (Heating, Ventilation, and Air Conditioning) systems.
@@ -1,5 +1,5 @@
1
- grpcio<2,>=1.51.1
2
1
  protobuf<6,>=4.25.3
2
+ grpcio<2,>=1.51.1
3
3
 
4
4
  [dev]
5
5
  frequenz-api-common[dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]