Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

[build-system]
requires = [
"setuptools == 75.6.0",
"setuptools == 75.8.0",
"setuptools_scm[toml] == 8.1.0",
"frequenz-repo-config[api] == 0.11.0",
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
# sure the code is generated using the minimum supported versions, as older
# versions can't work with code that was generated with newer versions.
# https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
"protobuf == 5.29.2",
"grpcio-tools == 1.68.1",
"grpcio == 1.68.1",
"protobuf == 5.29.3",
"grpcio-tools == 1.70.0",
"grpcio == 1.70.0",
]
build-backend = "setuptools.build_meta"

Expand All @@ -36,11 +36,11 @@ dependencies = [
# We can't widen beyond the current value unless we bump the minimum
# requirements too because of protobuf cross-version runtime guarantees:
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
"protobuf >= 5.29.2, < 7", # Do not widen beyond 7!
"protobuf >= 5.29.3, < 7", # Do not widen beyond 7!
# We couldn't find any document with a spec about the cross-version runtime
# guarantee for grpcio, so unless we find one in the future, we'll assume
# major version jumps are not compatible
"grpcio >= 1.68.1, < 2", # Do not widen beyond 2!
"grpcio >= 1.70.0, < 2", # Do not widen beyond 2!
]
dynamic = ["version"]

Expand All @@ -52,16 +52,16 @@ email = "[email protected]"
dev-flake8 = [
"flake8 == 7.1.1",
"flake8-docstrings == 1.7.0",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.5.14",
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
"pydoclint == 0.6.0",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 25.1.0", "isort == 5.13.2"]
dev-mkdocs = [
"mike == 1.1.2",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-material == 9.5.49",
"mkdocs-material == 9.6.1",
"mkdocstrings[python] == 0.27.0",
"frequenz-repo-config[api] == 0.11.0",
]
Expand All @@ -73,7 +73,7 @@ dev-mypy = [
]
dev-noxfile = ["nox == 2024.10.9", "frequenz-repo-config[api] == 0.11.0"]
dev-pylint = [
"pylint == 3.3.3",
"pylint == 3.3.4",
# For checking the noxfile, docs/ script, and tests
"frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]",
]
Expand Down
Loading