Skip to content

Commit

Permalink
Bump most dependencies in the template
Browse files Browse the repository at this point in the history
Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
  • Loading branch information
llucax committed Nov 20, 2024
1 parent 9e5444e commit 1e89fa5
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 98 deletions.
34 changes: 17 additions & 17 deletions cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build-system]
requires = [
"setuptools == 70.1.1",
"setuptools == 75.5.0",
"setuptools_scm[toml] == 8.1.0",
"frequenz-repo-config[{{cookiecutter.type}}] == 0.10.0",
{%- if cookiecutter.type == "api" %}
Expand Down Expand Up @@ -44,11 +44,11 @@ requires-python = ">= 3.11, < 4"
# TODO(cookiecutter): Remove and add more dependencies if appropriate
{%- if cookiecutter.type in ("app", "actor", "model") %}
dependencies = [
"typing-extensions == 4.6.1",
"typing-extensions == 4.12.2",
# Make sure to update the version for cross-referencing also in the
# mkdocs.yml file when changing the version here (look for the config key
# plugins.mkdocstrings.handlers.python.import)
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
"frequenz-sdk >= 1.0.0rc1300, < 1.0.0rc1400",
]
{%- elif cookiecutter.type == "api" %}
dependencies = [
Expand Down Expand Up @@ -76,36 +76,36 @@ email = "{{cookiecutter.author_email}}"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 7.1.0",
"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.3",
"pydoclint == 0.5.9",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 24.4.2", "isort == 5.13.2"]
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
dev-mkdocs = [
"Markdown == 3.6.0",
"black == 24.4.2",
"mike == 2.1.2",
"Markdown == 3.7",
"black == 24.10.0",
"mike == 2.1.3",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.27",
"mkdocstrings[python] == 0.26.1",
"mkdocstrings-python == 1.11.1",
"mkdocs-macros-plugin == 1.3.7",
"mkdocs-material == 9.5.45",
"mkdocstrings[python] == 0.27.0",
"mkdocstrings-python == 1.12.2",
"frequenz-repo-config[{{cookiecutter.type}}] == 0.10.0",
]
dev-mypy = [
"mypy == 1.9.0",
{%- if cookiecutter.type == "api" %}
"grpc-stubs == 1.53.0.2",
{%- endif %}
"types-Markdown == 3.6.0.20240316",
"types-Markdown == 3.7.0.20240822",
# For checking the noxfile, docs/ script, and tests
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2024.4.15",
"nox == 2024.10.9",
"frequenz-repo-config[{{cookiecutter.type}}] == 0.10.0",
]
dev-pylint = [
Expand All @@ -114,8 +114,8 @@ dev-pylint = [
"{{cookiecutter.pypi_package_name}}[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.2.2",
"pylint == 3.2.5", # We need this to check for the examples
"pytest == 8.3.3",
"pylint == 3.3.1", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
{%- if cookiecutter.type != "api" %}
"pytest-mock == 3.14.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build-system]
requires = [
"setuptools == 70.1.1",
"setuptools == 75.5.0",
"setuptools_scm[toml] == 8.1.0",
"frequenz-repo-config[actor] == 0.10.0",
]
Expand All @@ -28,11 +28,11 @@ classifiers = [
requires-python = ">= 3.11, < 4"
# TODO(cookiecutter): Remove and add more dependencies if appropriate
dependencies = [
"typing-extensions == 4.6.1",
"typing-extensions == 4.12.2",
# Make sure to update the version for cross-referencing also in the
# mkdocs.yml file when changing the version here (look for the config key
# plugins.mkdocstrings.handlers.python.import)
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
"frequenz-sdk >= 1.0.0rc1300, < 1.0.0rc1400",
]
dynamic = ["version"]

Expand All @@ -43,33 +43,33 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 7.1.0",
"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.3",
"pydoclint == 0.5.9",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 24.4.2", "isort == 5.13.2"]
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
dev-mkdocs = [
"Markdown == 3.6.0",
"black == 24.4.2",
"mike == 2.1.2",
"Markdown == 3.7",
"black == 24.10.0",
"mike == 2.1.3",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.27",
"mkdocstrings[python] == 0.26.1",
"mkdocstrings-python == 1.11.1",
"mkdocs-macros-plugin == 1.3.7",
"mkdocs-material == 9.5.45",
"mkdocstrings[python] == 0.27.0",
"mkdocstrings-python == 1.12.2",
"frequenz-repo-config[actor] == 0.10.0",
]
dev-mypy = [
"mypy == 1.9.0",
"types-Markdown == 3.6.0.20240316",
"types-Markdown == 3.7.0.20240822",
# For checking the noxfile, docs/ script, and tests
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2024.4.15",
"nox == 2024.10.9",
"frequenz-repo-config[actor] == 0.10.0",
]
dev-pylint = [
Expand All @@ -78,8 +78,8 @@ dev-pylint = [
"frequenz-actor-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.2.2",
"pylint == 3.2.5", # We need this to check for the examples
"pytest == 8.3.3",
"pylint == 3.3.1", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
"pytest-mock == 3.14.0",
"pytest-asyncio == 0.24.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build-system]
requires = [
"setuptools == 70.1.1",
"setuptools == 75.5.0",
"setuptools_scm[toml] == 8.1.0",
"frequenz-repo-config[api] == 0.10.0",
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
Expand Down Expand Up @@ -54,34 +54,34 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 7.1.0",
"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.3",
"pydoclint == 0.5.9",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 24.4.2", "isort == 5.13.2"]
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
dev-mkdocs = [
"Markdown == 3.6.0",
"black == 24.4.2",
"mike == 2.1.2",
"Markdown == 3.7",
"black == 24.10.0",
"mike == 2.1.3",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.27",
"mkdocstrings[python] == 0.26.1",
"mkdocstrings-python == 1.11.1",
"mkdocs-macros-plugin == 1.3.7",
"mkdocs-material == 9.5.45",
"mkdocstrings[python] == 0.27.0",
"mkdocstrings-python == 1.12.2",
"frequenz-repo-config[api] == 0.10.0",
]
dev-mypy = [
"mypy == 1.9.0",
"grpc-stubs == 1.53.0.2",
"types-Markdown == 3.6.0.20240316",
"types-Markdown == 3.7.0.20240822",
# For checking the noxfile, docs/ script, and tests
"frequenz-api-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2024.4.15",
"nox == 2024.10.9",
"frequenz-repo-config[api] == 0.10.0",
]
dev-pylint = [
Expand All @@ -90,8 +90,8 @@ dev-pylint = [
"frequenz-api-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.2.2",
"pylint == 3.2.5", # We need this to check for the examples
"pytest == 8.3.3",
"pylint == 3.3.1", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
]
dev = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build-system]
requires = [
"setuptools == 70.1.1",
"setuptools == 75.5.0",
"setuptools_scm[toml] == 8.1.0",
"frequenz-repo-config[app] == 0.10.0",
]
Expand All @@ -27,11 +27,11 @@ classifiers = [
requires-python = ">= 3.11, < 4"
# TODO(cookiecutter): Remove and add more dependencies if appropriate
dependencies = [
"typing-extensions == 4.6.1",
"typing-extensions == 4.12.2",
# Make sure to update the version for cross-referencing also in the
# mkdocs.yml file when changing the version here (look for the config key
# plugins.mkdocstrings.handlers.python.import)
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
"frequenz-sdk >= 1.0.0rc1300, < 1.0.0rc1400",
]
dynamic = ["version"]

Expand All @@ -42,33 +42,33 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 7.1.0",
"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.3",
"pydoclint == 0.5.9",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 24.4.2", "isort == 5.13.2"]
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
dev-mkdocs = [
"Markdown == 3.6.0",
"black == 24.4.2",
"mike == 2.1.2",
"Markdown == 3.7",
"black == 24.10.0",
"mike == 2.1.3",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.27",
"mkdocstrings[python] == 0.26.1",
"mkdocstrings-python == 1.11.1",
"mkdocs-macros-plugin == 1.3.7",
"mkdocs-material == 9.5.45",
"mkdocstrings[python] == 0.27.0",
"mkdocstrings-python == 1.12.2",
"frequenz-repo-config[app] == 0.10.0",
]
dev-mypy = [
"mypy == 1.9.0",
"types-Markdown == 3.6.0.20240316",
"types-Markdown == 3.7.0.20240822",
# For checking the noxfile, docs/ script, and tests
"frequenz-app-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2024.4.15",
"nox == 2024.10.9",
"frequenz-repo-config[app] == 0.10.0",
]
dev-pylint = [
Expand All @@ -77,8 +77,8 @@ dev-pylint = [
"frequenz-app-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.2.2",
"pylint == 3.2.5", # We need this to check for the examples
"pytest == 8.3.3",
"pylint == 3.3.1", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
"pytest-mock == 3.14.0",
"pytest-asyncio == 0.24.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[build-system]
requires = [
"setuptools == 70.1.1",
"setuptools == 75.5.0",
"setuptools_scm[toml] == 8.1.0",
"frequenz-repo-config[lib] == 0.10.0",
]
Expand Down Expand Up @@ -39,33 +39,33 @@ email = "floss@frequenz.com"
# TODO(cookiecutter): Remove and add more optional dependencies if appropriate
[project.optional-dependencies]
dev-flake8 = [
"flake8 == 7.1.0",
"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.3",
"pydoclint == 0.5.9",
"pydocstyle == 6.3.0",
]
dev-formatting = ["black == 24.4.2", "isort == 5.13.2"]
dev-formatting = ["black == 24.10.0", "isort == 5.13.2"]
dev-mkdocs = [
"Markdown == 3.6.0",
"black == 24.4.2",
"mike == 2.1.2",
"Markdown == 3.7",
"black == 24.10.0",
"mike == 2.1.3",
"mkdocs-gen-files == 0.5.0",
"mkdocs-literate-nav == 0.6.1",
"mkdocs-macros-plugin == 1.0.5",
"mkdocs-material == 9.5.27",
"mkdocstrings[python] == 0.26.1",
"mkdocstrings-python == 1.11.1",
"mkdocs-macros-plugin == 1.3.7",
"mkdocs-material == 9.5.45",
"mkdocstrings[python] == 0.27.0",
"mkdocstrings-python == 1.12.2",
"frequenz-repo-config[lib] == 0.10.0",
]
dev-mypy = [
"mypy == 1.9.0",
"types-Markdown == 3.6.0.20240316",
"types-Markdown == 3.7.0.20240822",
# For checking the noxfile, docs/ script, and tests
"frequenz-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-noxfile = [
"nox == 2024.4.15",
"nox == 2024.10.9",
"frequenz-repo-config[lib] == 0.10.0",
]
dev-pylint = [
Expand All @@ -74,8 +74,8 @@ dev-pylint = [
"frequenz-test[dev-mkdocs,dev-noxfile,dev-pytest]",
]
dev-pytest = [
"pytest == 8.2.2",
"pylint == 3.2.5", # We need this to check for the examples
"pytest == 8.3.3",
"pylint == 3.3.1", # We need this to check for the examples
"frequenz-repo-config[extra-lint-examples] == 0.10.0",
"pytest-mock == 3.14.0",
"pytest-asyncio == 0.24.0",
Expand Down
Loading

0 comments on commit 1e89fa5

Please sign in to comment.