Skip to content

Commit cee3d4d

Browse files
authored
Downgrade protobuf to 4.21.6 (#24)
This version should work, as it is the version used in the SDK v1.0.0-rc5. If we don't do this we introduce an unnecessary dependency conflict with the SDK.
2 parents e9a3f03 + 5ca3fa0 commit cee3d4d

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
--net=host \
181181
--platform linux/${{ matrix.arch }} \
182182
localhost/nox-cross-arch:latest \
183-
bash -c "pip install -e .[dev-noxfile]; nox --install-only -e ${{ matrix.nox-session }}; pip freeze; nox -e ${{ matrix.nox-session }}"
183+
bash -c "pip install -e .[dev-noxfile]; nox --install-only -e ${{ matrix.nox-session }}; pip freeze; nox -R -e ${{ matrix.nox-session }}"
184184
timeout-minutes: 30
185185

186186
# This ensures that the runner has access to the pip cache.

RELEASE_NOTES.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22

33
## Summary
44

5-
<!-- Here goes a general summary of what this release is about -->
5+
This version downgrades the `protobuf` dependency to 4.21.6.
66

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-
<!-- Here goes the main new features and examples or instructions on how to use them -->
14-
15-
## Bug Fixes
16-
17-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
7+
This is the version used in the SDK v1.0.0-rc5, which we imported the code from. If we don't do this we introduce an unnecessary dependency conflict with the SDK.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ requires-python = ">= 3.11, < 4"
3838
dependencies = [
3939
"frequenz-api-microgrid >= 0.15.3, < 0.16.0",
4040
"frequenz-channels == 1.0.0b2",
41-
"frequenz-client-base >= 0.2.0, < 0.3.0",
41+
"frequenz-client-base >= 0.2.1, < 0.3.0",
4242
"grpcio >= 1.54.2, < 2",
43-
"protobuf >= 4.25.3, < 5",
43+
"protobuf >= 4.21.6, < 5",
4444
"timezonefinder >= 6.2.0, < 7",
4545
"typing-extensions >= 4.5.0, < 5",
4646
]

0 commit comments

Comments
 (0)