Skip to content

Commit 7d71279

Browse files
committed
template: Update all dependencies
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent 1f0edfd commit 7d71279

23 files changed

Lines changed: 285 additions & 276 deletions

File tree

cookiecutter/{{cookiecutter.github_repo_name}}/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ plugins:
124124
- https://frequenz-floss.github.io/frequenz-channels-python/v1/objects.inv
125125
- https://frequenz-floss.github.io/frequenz-sdk-python/v1.0-pre/objects.inv
126126
{%- elif cookiecutter.type == "api" %}
127-
- https://frequenz-floss.github.io/frequenz-api-common/v0.6/objects.inv
127+
- https://frequenz-floss.github.io/frequenz-api-common/v0.8/objects.inv
128128
- https://grpc.github.io/grpc/python/objects.inv
129129
{%- endif %}
130130
- https://typing-extensions.readthedocs.io/en/stable/objects.inv

cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
[build-system]
55
requires = [
6-
"setuptools == 80.9.0",
7-
"setuptools_scm[toml] == 8.1.0",
6+
"setuptools == 82.0.1",
7+
"setuptools_scm[toml] == 10.0.5",
88
"frequenz-repo-config[{{cookiecutter.type}}] == 0.17.0",
99
{%- if cookiecutter.type == "api" %}
1010
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
1111
# sure the code is generated using the minimum supported versions, as older
1212
# versions can't work with code that was generated with newer versions.
1313
# https://protobuf.dev/support/cross-version-runtime-guarantee/#backwards
14-
"protobuf == 6.33.4",
15-
"grpcio-tools == 1.76.0",
16-
"grpcio == 1.76.0",
14+
"protobuf == 6.33.6",
15+
"grpcio-tools == 1.80.0",
16+
"grpcio == 1.80.0",
1717
{%- endif %}
1818
]
1919
build-backend = "setuptools.build_meta"
@@ -46,35 +46,35 @@ requires-python = ">= 3.11, < 4"
4646
# TODO(cookiecutter): Remove and add more dependencies if appropriate
4747
{%- if cookiecutter.type in ("actor", "model") %}
4848
dependencies = [
49-
"typing-extensions >= 4.14.1, < 5",
49+
"typing-extensions >= 4.15.0, < 5",
5050
# Make sure to update the version for cross-referencing also in the
5151
# mkdocs.yml file when changing the version here (look for the config key
5252
# plugins.mkdocstrings.handlers.python.import)
53-
"frequenz-sdk >= 1.0.0rc2100, < 1.0.0rc2200",
53+
"frequenz-sdk >= 1.0.0rc2205, < 1.0.0rc2300",
5454
]
5555
{%- elif cookiecutter.type == "app" %}
5656
dependencies = [
57-
"typing-extensions == 4.14.1",
57+
"typing-extensions == 4.15.0",
5858
# Make sure to update the version for cross-referencing also in the
5959
# mkdocs.yml file when changing the version here (look for the config key
6060
# plugins.mkdocstrings.handlers.python.import)
61-
"frequenz-sdk == 1.0.0rc2100",
61+
"frequenz-sdk == 1.0.0rc2205",
6262
]
6363
{%- elif cookiecutter.type == "api" %}
6464
dependencies = [
65-
"frequenz-api-common >= 0.6.3, < 1",
65+
"frequenz-api-common >= 0.8.2, < 1",
6666
# We can't widen beyond the current value unless we bump the minimum
6767
# requirements too because of protobuf cross-version runtime guarantees:
6868
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
69-
"protobuf >= 6.33.4, < 8", # Do not widen beyond 8!
69+
"protobuf >= 6.33.6, < 8", # Do not widen beyond 8!
7070
# We couldn't find any document with a spec about the cross-version runtime
7171
# guarantee for grpcio, so unless we find one in the future, we'll assume
7272
# major version jumps are not compatible
73-
"grpcio >= 1.76.0, < 2", # Do not widen beyond 2!
73+
"grpcio >= 1.80.0, < 2", # Do not widen beyond 2!
7474
]
7575
{%- else %}
7676
dependencies = [
77-
"typing-extensions >= 4.14.1, < 5",
77+
"typing-extensions >= 4.15.0, < 5",
7878
]
7979
{%- endif %}
8080
dynamic = ["version"]
@@ -89,34 +89,34 @@ dev-flake8 = [
8989
"flake8 == 7.3.0",
9090
"flake8-datetimez == 20.10.0",
9191
"flake8-docstrings == 1.7.0",
92-
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
93-
"pydoclint == 0.6.10",
92+
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
93+
"pydoclint == 0.8.3",
9494
"pydocstyle == 6.3.0",
9595
]
96-
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
96+
dev-formatting = ["black == 26.3.1", "isort == 8.0.1"]
9797
dev-mkdocs = [
98-
"Markdown == 3.8.2",
99-
"black == 25.1.0",
100-
"mike == 2.1.3",
101-
"mkdocs-gen-files == 0.5.0",
102-
"mkdocs-literate-nav == 0.6.2",
103-
"mkdocs-macros-plugin == 1.3.9",
104-
"mkdocs-material == 9.6.18",
105-
"mkdocstrings[python] == 1.0.0",
106-
"mkdocstrings-python == 2.0.1",
98+
"Markdown == 3.10.2",
99+
"black == 26.3.1",
100+
"mike == 2.2.0",
101+
"mkdocs-gen-files == 0.6.1",
102+
"mkdocs-literate-nav == 0.6.3",
103+
"mkdocs-macros-plugin == 1.5.0",
104+
"mkdocs-material == 9.7.6",
105+
"mkdocstrings[python] == 1.0.4",
106+
"mkdocstrings-python == 2.0.3",
107107
"frequenz-repo-config[{{cookiecutter.type}}] == 0.17.0",
108108
]
109109
dev-mypy = [
110-
"mypy == 1.9.0",
110+
"mypy == 1.20.2",
111111
{%- if cookiecutter.type == "api" %}
112112
"grpc-stubs == 1.53.0.6",
113113
{%- endif %}
114-
"types-Markdown == 3.8.0.20250809",
114+
"types-Markdown == 3.10.2.20260408",
115115
# For checking the noxfile, docs/ script, and tests
116116
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
117117
]
118118
dev-noxfile = [
119-
"nox == 2025.5.1",
119+
"nox == 2026.4.10",
120120
"frequenz-repo-config[{{cookiecutter.type}}] == 0.17.0",
121121
]
122122
dev-pylint = [
@@ -125,13 +125,13 @@ dev-pylint = [
125125
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
126126
]
127127
dev-pytest = [
128-
"pytest == 8.4.1",
129-
"pylint == 3.3.8", # We need this to check for the examples
128+
"pytest == 9.0.3",
129+
"pylint == 4.0.5", # We need this to check for the examples
130130
"frequenz-repo-config[extra-lint-examples] == 0.17.0",
131131
{%- if cookiecutter.type != "api" %}
132-
"pytest-mock == 3.14.0",
133-
"pytest-asyncio == 1.1.0",
134-
"async-solipsism == 0.8",
132+
"pytest-mock == 3.15.1",
133+
"pytest-asyncio == 1.3.0",
134+
"async-solipsism == 0.9",
135135
{%- endif %}
136136
]
137137
dev = [

cookiecutter/{{cookiecutter.github_repo_name}}/tests/test_{{cookiecutter.name | as_identifier}}.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def test_module_import_components() -> None:
2626

2727
assert {{cookiecutter.name | as_identifier}}_pb2_grpc is not None
2828
{%- else %}
29+
2930
import pytest
3031

3132
from {{cookiecutter.python_package}} import delete_me

tests_golden/integration/test_cookiecutter_generation/actor-proprietary/frequenz-actor-test/pyproject.toml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
[build-system]
55
requires = [
6-
"setuptools == 80.9.0",
7-
"setuptools_scm[toml] == 8.1.0",
6+
"setuptools == 82.0.1",
7+
"setuptools_scm[toml] == 10.0.5",
88
"frequenz-repo-config[actor] == 0.17.0",
99
]
1010
build-backend = "setuptools.build_meta"
@@ -28,11 +28,11 @@ classifiers = [
2828
requires-python = ">= 3.11, < 4"
2929
# TODO(cookiecutter): Remove and add more dependencies if appropriate
3030
dependencies = [
31-
"typing-extensions >= 4.14.1, < 5",
31+
"typing-extensions >= 4.15.0, < 5",
3232
# Make sure to update the version for cross-referencing also in the
3333
# mkdocs.yml file when changing the version here (look for the config key
3434
# plugins.mkdocstrings.handlers.python.import)
35-
"frequenz-sdk >= 1.0.0rc2100, < 1.0.0rc2200",
35+
"frequenz-sdk >= 1.0.0rc2205, < 1.0.0rc2300",
3636
]
3737
dynamic = ["version"]
3838

@@ -46,31 +46,31 @@ dev-flake8 = [
4646
"flake8 == 7.3.0",
4747
"flake8-datetimez == 20.10.0",
4848
"flake8-docstrings == 1.7.0",
49-
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
50-
"pydoclint == 0.6.10",
49+
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
50+
"pydoclint == 0.8.3",
5151
"pydocstyle == 6.3.0",
5252
]
53-
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
53+
dev-formatting = ["black == 26.3.1", "isort == 8.0.1"]
5454
dev-mkdocs = [
55-
"Markdown == 3.8.2",
56-
"black == 25.1.0",
57-
"mike == 2.1.3",
58-
"mkdocs-gen-files == 0.5.0",
59-
"mkdocs-literate-nav == 0.6.2",
60-
"mkdocs-macros-plugin == 1.3.9",
61-
"mkdocs-material == 9.6.18",
62-
"mkdocstrings[python] == 1.0.0",
63-
"mkdocstrings-python == 2.0.1",
55+
"Markdown == 3.10.2",
56+
"black == 26.3.1",
57+
"mike == 2.2.0",
58+
"mkdocs-gen-files == 0.6.1",
59+
"mkdocs-literate-nav == 0.6.3",
60+
"mkdocs-macros-plugin == 1.5.0",
61+
"mkdocs-material == 9.7.6",
62+
"mkdocstrings[python] == 1.0.4",
63+
"mkdocstrings-python == 2.0.3",
6464
"frequenz-repo-config[actor] == 0.17.0",
6565
]
6666
dev-mypy = [
67-
"mypy == 1.9.0",
68-
"types-Markdown == 3.8.0.20250809",
67+
"mypy == 1.20.2",
68+
"types-Markdown == 3.10.2.20260408",
6969
# For checking the noxfile, docs/ script, and tests
7070
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
7171
]
7272
dev-noxfile = [
73-
"nox == 2025.5.1",
73+
"nox == 2026.4.10",
7474
"frequenz-repo-config[actor] == 0.17.0",
7575
]
7676
dev-pylint = [
@@ -79,12 +79,12 @@ dev-pylint = [
7979
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
8080
]
8181
dev-pytest = [
82-
"pytest == 8.4.1",
83-
"pylint == 3.3.8", # We need this to check for the examples
82+
"pytest == 9.0.3",
83+
"pylint == 4.0.5", # We need this to check for the examples
8484
"frequenz-repo-config[extra-lint-examples] == 0.17.0",
85-
"pytest-mock == 3.14.0",
86-
"pytest-asyncio == 1.1.0",
87-
"async-solipsism == 0.8",
85+
"pytest-mock == 3.15.1",
86+
"pytest-asyncio == 1.3.0",
87+
"async-solipsism == 0.9",
8888
]
8989
dev = [
9090
"frequenz-actor-test[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",

tests_golden/integration/test_cookiecutter_generation/actor-proprietary/frequenz-actor-test/tests/test_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH
33

44
"""Tests for the frequenz.actor.test package."""
5+
56
import pytest
67

78
from frequenz.actor.test import delete_me

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/pyproject.toml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
[build-system]
55
requires = [
6-
"setuptools == 80.9.0",
7-
"setuptools_scm[toml] == 8.1.0",
6+
"setuptools == 82.0.1",
7+
"setuptools_scm[toml] == 10.0.5",
88
"frequenz-repo-config[actor] == 0.17.0",
99
]
1010
build-backend = "setuptools.build_meta"
@@ -28,11 +28,11 @@ classifiers = [
2828
requires-python = ">= 3.11, < 4"
2929
# TODO(cookiecutter): Remove and add more dependencies if appropriate
3030
dependencies = [
31-
"typing-extensions >= 4.14.1, < 5",
31+
"typing-extensions >= 4.15.0, < 5",
3232
# Make sure to update the version for cross-referencing also in the
3333
# mkdocs.yml file when changing the version here (look for the config key
3434
# plugins.mkdocstrings.handlers.python.import)
35-
"frequenz-sdk >= 1.0.0rc2100, < 1.0.0rc2200",
35+
"frequenz-sdk >= 1.0.0rc2205, < 1.0.0rc2300",
3636
]
3737
dynamic = ["version"]
3838

@@ -46,31 +46,31 @@ dev-flake8 = [
4646
"flake8 == 7.3.0",
4747
"flake8-datetimez == 20.10.0",
4848
"flake8-docstrings == 1.7.0",
49-
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
50-
"pydoclint == 0.6.10",
49+
"flake8-pyproject == 1.2.4", # For reading the flake8 config from pyproject.toml
50+
"pydoclint == 0.8.3",
5151
"pydocstyle == 6.3.0",
5252
]
53-
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
53+
dev-formatting = ["black == 26.3.1", "isort == 8.0.1"]
5454
dev-mkdocs = [
55-
"Markdown == 3.8.2",
56-
"black == 25.1.0",
57-
"mike == 2.1.3",
58-
"mkdocs-gen-files == 0.5.0",
59-
"mkdocs-literate-nav == 0.6.2",
60-
"mkdocs-macros-plugin == 1.3.9",
61-
"mkdocs-material == 9.6.18",
62-
"mkdocstrings[python] == 1.0.0",
63-
"mkdocstrings-python == 2.0.1",
55+
"Markdown == 3.10.2",
56+
"black == 26.3.1",
57+
"mike == 2.2.0",
58+
"mkdocs-gen-files == 0.6.1",
59+
"mkdocs-literate-nav == 0.6.3",
60+
"mkdocs-macros-plugin == 1.5.0",
61+
"mkdocs-material == 9.7.6",
62+
"mkdocstrings[python] == 1.0.4",
63+
"mkdocstrings-python == 2.0.3",
6464
"frequenz-repo-config[actor] == 0.17.0",
6565
]
6666
dev-mypy = [
67-
"mypy == 1.9.0",
68-
"types-Markdown == 3.8.0.20250809",
67+
"mypy == 1.20.2",
68+
"types-Markdown == 3.10.2.20260408",
6969
# For checking the noxfile, docs/ script, and tests
7070
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
7171
]
7272
dev-noxfile = [
73-
"nox == 2025.5.1",
73+
"nox == 2026.4.10",
7474
"frequenz-repo-config[actor] == 0.17.0",
7575
]
7676
dev-pylint = [
@@ -79,12 +79,12 @@ dev-pylint = [
7979
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
8080
]
8181
dev-pytest = [
82-
"pytest == 8.4.1",
83-
"pylint == 3.3.8", # We need this to check for the examples
82+
"pytest == 9.0.3",
83+
"pylint == 4.0.5", # We need this to check for the examples
8484
"frequenz-repo-config[extra-lint-examples] == 0.17.0",
85-
"pytest-mock == 3.14.0",
86-
"pytest-asyncio == 1.1.0",
87-
"async-solipsism == 0.8",
85+
"pytest-mock == 3.15.1",
86+
"pytest-asyncio == 1.3.0",
87+
"async-solipsism == 0.9",
8888
]
8989
dev = [
9090
"frequenz-actor-test[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/tests/test_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH
33

44
"""Tests for the frequenz.actor.test package."""
5+
56
import pytest
67

78
from frequenz.actor.test import delete_me

tests_golden/integration/test_cookiecutter_generation/api-proprietary/frequenz-api-test/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ plugins:
120120
# TODO(cookiecutter): You might want to add other external references here
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv
123-
- https://frequenz-floss.github.io/frequenz-api-common/v0.6/objects.inv
123+
- https://frequenz-floss.github.io/frequenz-api-common/v0.8/objects.inv
124124
- https://grpc.github.io/grpc/python/objects.inv
125125
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
126126
# Note this plugin must be loaded after mkdocstrings to be able to use macros

0 commit comments

Comments
 (0)