Skip to content

Commit 4cb671d

Browse files
authored
Update templates dependencies (#431)
2 parents 6772876 + 2090f1e commit 4cb671d

File tree

7 files changed

+103
-102
lines changed

7 files changed

+103
-102
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ But you might still need to adapt your code:
2828

2929
- New warning ignores for protobuf gencode versions in pytest.
3030
- mkdocstrings: Updated the deprecated `import` config key to `inventories` in `mkdocs.yml`.
31+
- Dependencies have been updated.
3132

3233
## Bug Fixes
3334

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

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -44,35 +44,35 @@ requires-python = ">= 3.11, < 4"
4444
# TODO(cookiecutter): Remove and add more dependencies if appropriate
4545
{%- if cookiecutter.type in ("actor", "model") %}
4646
dependencies = [
47-
"typing-extensions >= 4.12.2, < 5",
47+
"typing-extensions >= 4.14.1, < 5",
4848
# Make sure to update the version for cross-referencing also in the
4949
# mkdocs.yml file when changing the version here (look for the config key
5050
# plugins.mkdocstrings.handlers.python.import)
51-
"frequenz-sdk >= 1.0.0rc1500, < 1.0.0rc1600",
51+
"frequenz-sdk >= 1.0.0rc2100, < 1.0.0rc2200",
5252
]
5353
{%- elif cookiecutter.type == "app" %}
5454
dependencies = [
55-
"typing-extensions == 4.12.2",
55+
"typing-extensions == 4.14.1",
5656
# Make sure to update the version for cross-referencing also in the
5757
# mkdocs.yml file when changing the version here (look for the config key
5858
# plugins.mkdocstrings.handlers.python.import)
59-
"frequenz-sdk == 1.0.0rc1500",
59+
"frequenz-sdk == 1.0.0rc2100",
6060
]
6161
{%- elif cookiecutter.type == "api" %}
6262
dependencies = [
63-
"frequenz-api-common >= 0.6.3, < 0.7.0",
63+
"frequenz-api-common >= 0.6.3, < 1",
6464
# We can't widen beyond the current value unless we bump the minimum
6565
# requirements too because of protobuf cross-version runtime guarantees:
6666
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
67-
"protobuf >= 5.29.3, < 7", # Do not widen beyond 7!
67+
"protobuf >= 6.32.0, < 8", # Do not widen beyond 8!
6868
# We couldn't find any document with a spec about the cross-version runtime
6969
# guarantee for grpcio, so unless we find one in the future, we'll assume
7070
# major version jumps are not compatible
71-
"grpcio >= 1.70.0, < 2", # Do not widen beyond 2!
71+
"grpcio >= 1.74.0, < 2", # Do not widen beyond 2!
7272
]
7373
{%- else %}
7474
dependencies = [
75-
"typing-extensions >= 4.12.2, < 5",
75+
"typing-extensions >= 4.14.1, < 5",
7676
]
7777
{%- endif %}
7878
dynamic = ["version"]
@@ -84,36 +84,36 @@ email = "{{cookiecutter.author_email}}"
8484
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
8585
[project.optional-dependencies]
8686
dev-flake8 = [
87-
"flake8 == 7.1.1",
87+
"flake8 == 7.3.0",
8888
"flake8-docstrings == 1.7.0",
8989
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
90-
"pydoclint == 0.6.0",
90+
"pydoclint == 0.6.10",
9191
"pydocstyle == 6.3.0",
9292
]
9393
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
9494
dev-mkdocs = [
95-
"Markdown == 3.7",
95+
"Markdown == 3.8.2",
9696
"black == 25.1.0",
9797
"mike == 2.1.3",
9898
"mkdocs-gen-files == 0.5.0",
99-
"mkdocs-literate-nav == 0.6.1",
100-
"mkdocs-macros-plugin == 1.3.7",
101-
"mkdocs-material == 9.6.2",
102-
"mkdocstrings[python] == 0.28.0",
103-
"mkdocstrings-python == 1.14.6",
99+
"mkdocs-literate-nav == 0.6.2",
100+
"mkdocs-macros-plugin == 1.3.9",
101+
"mkdocs-material == 9.6.18",
102+
"mkdocstrings[python] == 0.30.0",
103+
"mkdocstrings-python == 1.17.0",
104104
"frequenz-repo-config[{{cookiecutter.type}}] == 0.13.1",
105105
]
106106
dev-mypy = [
107107
"mypy == 1.9.0",
108108
{%- if cookiecutter.type == "api" %}
109-
"grpc-stubs == 1.53.0.5",
109+
"grpc-stubs == 1.53.0.6",
110110
{%- endif %}
111-
"types-Markdown == 3.7.0.20241204",
111+
"types-Markdown == 3.8.0.20250809",
112112
# For checking the noxfile, docs/ script, and tests
113113
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
114114
]
115115
dev-noxfile = [
116-
"nox == 2024.10.9",
116+
"nox == 2025.5.1",
117117
"frequenz-repo-config[{{cookiecutter.type}}] == 0.13.1",
118118
]
119119
dev-pylint = [
@@ -122,13 +122,13 @@ dev-pylint = [
122122
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
123123
]
124124
dev-pytest = [
125-
"pytest == 8.3.4",
126-
"pylint == 3.3.4", # We need this to check for the examples
125+
"pytest == 8.4.1",
126+
"pylint == 3.3.8", # We need this to check for the examples
127127
"frequenz-repo-config[extra-lint-examples] == 0.13.1",
128128
{%- if cookiecutter.type != "api" %}
129129
"pytest-mock == 3.14.0",
130-
"pytest-asyncio == 0.25.3",
131-
"async-solipsism == 0.7",
130+
"pytest-asyncio == 1.1.0",
131+
"async-solipsism == 0.8",
132132
{%- endif %}
133133
]
134134
dev = [

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -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.12.2, < 5",
31+
"typing-extensions >= 4.14.1, < 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.0rc1500, < 1.0.0rc1600",
35+
"frequenz-sdk >= 1.0.0rc2100, < 1.0.0rc2200",
3636
]
3737
dynamic = ["version"]
3838

@@ -43,33 +43,33 @@ email = "[email protected]"
4343
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
4444
[project.optional-dependencies]
4545
dev-flake8 = [
46-
"flake8 == 7.1.1",
46+
"flake8 == 7.3.0",
4747
"flake8-docstrings == 1.7.0",
4848
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
49-
"pydoclint == 0.6.0",
49+
"pydoclint == 0.6.10",
5050
"pydocstyle == 6.3.0",
5151
]
5252
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
5353
dev-mkdocs = [
54-
"Markdown == 3.7",
54+
"Markdown == 3.8.2",
5555
"black == 25.1.0",
5656
"mike == 2.1.3",
5757
"mkdocs-gen-files == 0.5.0",
58-
"mkdocs-literate-nav == 0.6.1",
59-
"mkdocs-macros-plugin == 1.3.7",
60-
"mkdocs-material == 9.6.2",
61-
"mkdocstrings[python] == 0.28.0",
62-
"mkdocstrings-python == 1.14.6",
58+
"mkdocs-literate-nav == 0.6.2",
59+
"mkdocs-macros-plugin == 1.3.9",
60+
"mkdocs-material == 9.6.18",
61+
"mkdocstrings[python] == 0.30.0",
62+
"mkdocstrings-python == 1.17.0",
6363
"frequenz-repo-config[actor] == 0.13.1",
6464
]
6565
dev-mypy = [
6666
"mypy == 1.9.0",
67-
"types-Markdown == 3.7.0.20241204",
67+
"types-Markdown == 3.8.0.20250809",
6868
# For checking the noxfile, docs/ script, and tests
6969
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
7070
]
7171
dev-noxfile = [
72-
"nox == 2024.10.9",
72+
"nox == 2025.5.1",
7373
"frequenz-repo-config[actor] == 0.13.1",
7474
]
7575
dev-pylint = [
@@ -78,12 +78,12 @@ dev-pylint = [
7878
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
7979
]
8080
dev-pytest = [
81-
"pytest == 8.3.4",
82-
"pylint == 3.3.4", # We need this to check for the examples
81+
"pytest == 8.4.1",
82+
"pylint == 3.3.8", # We need this to check for the examples
8383
"frequenz-repo-config[extra-lint-examples] == 0.13.1",
8484
"pytest-mock == 3.14.0",
85-
"pytest-asyncio == 0.25.3",
86-
"async-solipsism == 0.7",
85+
"pytest-asyncio == 1.1.0",
86+
"async-solipsism == 0.8",
8787
]
8888
dev = [
8989
"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/api/frequenz-api-test/pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ classifiers = [
3535
requires-python = ">= 3.11, < 4"
3636
# TODO(cookiecutter): Remove and add more dependencies if appropriate
3737
dependencies = [
38-
"frequenz-api-common >= 0.6.3, < 0.7.0",
38+
"frequenz-api-common >= 0.6.3, < 1",
3939
# We can't widen beyond the current value unless we bump the minimum
4040
# requirements too because of protobuf cross-version runtime guarantees:
4141
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
42-
"protobuf >= 5.29.3, < 7", # Do not widen beyond 7!
42+
"protobuf >= 6.32.0, < 8", # Do not widen beyond 8!
4343
# We couldn't find any document with a spec about the cross-version runtime
4444
# guarantee for grpcio, so unless we find one in the future, we'll assume
4545
# major version jumps are not compatible
46-
"grpcio >= 1.70.0, < 2", # Do not widen beyond 2!
46+
"grpcio >= 1.74.0, < 2", # Do not widen beyond 2!
4747
]
4848
dynamic = ["version"]
4949

@@ -54,34 +54,34 @@ email = "[email protected]"
5454
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
5555
[project.optional-dependencies]
5656
dev-flake8 = [
57-
"flake8 == 7.1.1",
57+
"flake8 == 7.3.0",
5858
"flake8-docstrings == 1.7.0",
5959
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
60-
"pydoclint == 0.6.0",
60+
"pydoclint == 0.6.10",
6161
"pydocstyle == 6.3.0",
6262
]
6363
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
6464
dev-mkdocs = [
65-
"Markdown == 3.7",
65+
"Markdown == 3.8.2",
6666
"black == 25.1.0",
6767
"mike == 2.1.3",
6868
"mkdocs-gen-files == 0.5.0",
69-
"mkdocs-literate-nav == 0.6.1",
70-
"mkdocs-macros-plugin == 1.3.7",
71-
"mkdocs-material == 9.6.2",
72-
"mkdocstrings[python] == 0.28.0",
73-
"mkdocstrings-python == 1.14.6",
69+
"mkdocs-literate-nav == 0.6.2",
70+
"mkdocs-macros-plugin == 1.3.9",
71+
"mkdocs-material == 9.6.18",
72+
"mkdocstrings[python] == 0.30.0",
73+
"mkdocstrings-python == 1.17.0",
7474
"frequenz-repo-config[api] == 0.13.1",
7575
]
7676
dev-mypy = [
7777
"mypy == 1.9.0",
78-
"grpc-stubs == 1.53.0.5",
79-
"types-Markdown == 3.7.0.20241204",
78+
"grpc-stubs == 1.53.0.6",
79+
"types-Markdown == 3.8.0.20250809",
8080
# For checking the noxfile, docs/ script, and tests
8181
"frequenz-api-test[dev-mkdocs,dev-noxfile,dev-pytest]",
8282
]
8383
dev-noxfile = [
84-
"nox == 2024.10.9",
84+
"nox == 2025.5.1",
8585
"frequenz-repo-config[api] == 0.13.1",
8686
]
8787
dev-pylint = [
@@ -90,8 +90,8 @@ dev-pylint = [
9090
"frequenz-api-test[dev-mkdocs,dev-noxfile,dev-pytest]",
9191
]
9292
dev-pytest = [
93-
"pytest == 8.3.4",
94-
"pylint == 3.3.4", # We need this to check for the examples
93+
"pytest == 8.4.1",
94+
"pylint == 3.3.8", # We need this to check for the examples
9595
"frequenz-repo-config[extra-lint-examples] == 0.13.1",
9696
]
9797
dev = [

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ classifiers = [
2727
requires-python = ">= 3.11, < 4"
2828
# TODO(cookiecutter): Remove and add more dependencies if appropriate
2929
dependencies = [
30-
"typing-extensions == 4.12.2",
30+
"typing-extensions == 4.14.1",
3131
# Make sure to update the version for cross-referencing also in the
3232
# mkdocs.yml file when changing the version here (look for the config key
3333
# plugins.mkdocstrings.handlers.python.import)
34-
"frequenz-sdk == 1.0.0rc1500",
34+
"frequenz-sdk == 1.0.0rc2100",
3535
]
3636
dynamic = ["version"]
3737

@@ -42,33 +42,33 @@ email = "[email protected]"
4242
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
4343
[project.optional-dependencies]
4444
dev-flake8 = [
45-
"flake8 == 7.1.1",
45+
"flake8 == 7.3.0",
4646
"flake8-docstrings == 1.7.0",
4747
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
48-
"pydoclint == 0.6.0",
48+
"pydoclint == 0.6.10",
4949
"pydocstyle == 6.3.0",
5050
]
5151
dev-formatting = ["black == 25.1.0", "isort == 6.0.0"]
5252
dev-mkdocs = [
53-
"Markdown == 3.7",
53+
"Markdown == 3.8.2",
5454
"black == 25.1.0",
5555
"mike == 2.1.3",
5656
"mkdocs-gen-files == 0.5.0",
57-
"mkdocs-literate-nav == 0.6.1",
58-
"mkdocs-macros-plugin == 1.3.7",
59-
"mkdocs-material == 9.6.2",
60-
"mkdocstrings[python] == 0.28.0",
61-
"mkdocstrings-python == 1.14.6",
57+
"mkdocs-literate-nav == 0.6.2",
58+
"mkdocs-macros-plugin == 1.3.9",
59+
"mkdocs-material == 9.6.18",
60+
"mkdocstrings[python] == 0.30.0",
61+
"mkdocstrings-python == 1.17.0",
6262
"frequenz-repo-config[app] == 0.13.1",
6363
]
6464
dev-mypy = [
6565
"mypy == 1.9.0",
66-
"types-Markdown == 3.7.0.20241204",
66+
"types-Markdown == 3.8.0.20250809",
6767
# For checking the noxfile, docs/ script, and tests
6868
"frequenz-app-test[dev-mkdocs,dev-noxfile,dev-pytest]",
6969
]
7070
dev-noxfile = [
71-
"nox == 2024.10.9",
71+
"nox == 2025.5.1",
7272
"frequenz-repo-config[app] == 0.13.1",
7373
]
7474
dev-pylint = [
@@ -77,12 +77,12 @@ dev-pylint = [
7777
"frequenz-app-test[dev-mkdocs,dev-noxfile,dev-pytest]",
7878
]
7979
dev-pytest = [
80-
"pytest == 8.3.4",
81-
"pylint == 3.3.4", # We need this to check for the examples
80+
"pytest == 8.4.1",
81+
"pylint == 3.3.8", # We need this to check for the examples
8282
"frequenz-repo-config[extra-lint-examples] == 0.13.1",
8383
"pytest-mock == 3.14.0",
84-
"pytest-asyncio == 0.25.3",
85-
"async-solipsism == 0.7",
84+
"pytest-asyncio == 1.1.0",
85+
"async-solipsism == 0.8",
8686
]
8787
dev = [
8888
"frequenz-app-test[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",

0 commit comments

Comments
 (0)