Skip to content

Commit 1003bd1

Browse files
committed
Bump, widen and fix setuptools dependency
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent ce77b23 commit 1003bd1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ plugins:
103103
default_handler: python
104104
handlers:
105105
python:
106+
paths: ["{{cookiecutter | src_path}}"]
106107
options:
107-
paths: ["{{cookiecutter | src_path}}"]
108108
docstring_section_style: spacy
109109
inherited_members: true
110110
merge_init_into_class: false
@@ -116,7 +116,7 @@ plugins:
116116
show_source: true
117117
show_symbol_type_toc: true
118118
signature_crossrefs: true
119-
import:
119+
inventories:
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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ disable = [
202202
]
203203

204204
[tool.pytest.ini_options]
205-
{%- if cookiecutter.type != "api" %}
206205
addopts = "-W=all -Werror -Wdefault::DeprecationWarning -Wdefault::PendingDeprecationWarning -vv"
206+
{%- if cookiecutter.type != "api" %}
207207
testpaths = ["tests", "src"]
208208
asyncio_mode = "auto"
209209
asyncio_default_fixture_loop_scope = "function"

pyproject.toml

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

44
[build-system]
5-
requires = ["setuptools == 78.1.0", "setuptools_scm[toml] == 8.2.0"]
5+
requires = ["setuptools == 79.0.0", "setuptools_scm[toml] == 8.3.0"]
66
build-backend = "setuptools.build_meta"
77

88
[project]
@@ -57,7 +57,7 @@ actor = []
5757
api = [
5858
"grpcio-tools >= 1.47.0, < 2",
5959
"mypy-protobuf >= 3.0.0, < 4",
60-
"setuptools >= 67.6.0, < 79",
60+
"setuptools >= 67.6.0, < 80",
6161
]
6262
app = []
6363
lib = []
@@ -88,7 +88,7 @@ dev-mkdocs = [
8888
]
8989
dev-mypy = [
9090
"mypy == 1.15.0",
91-
"types-setuptools >= 67.6.0, < 79", # Should match the api dependency
91+
"types-setuptools >= 67.6.0, < 80", # Should match the api dependency
9292
"types-Markdown == 3.7.0.20250322",
9393
"types-PyYAML == 6.0.12.20250326",
9494
"types-babel == 2.11.0.15",
@@ -101,7 +101,7 @@ dev-pylint = [
101101
# dev-pytest already defines a dependency to pylint because of the examples
102102
# For checking the noxfile, docs/ script, and tests
103103
"frequenz-repo-config[dev-mkdocs,dev-noxfile,dev-pytest]",
104-
"setuptools >= 67.6.0, < 76", # Should match the build dependency
104+
"setuptools >= 67.6.0, < 80", # Should match the api dependency
105105
]
106106
dev-pytest = [
107107
"pytest == 8.3.5",

0 commit comments

Comments
 (0)