From f54c07f10f67223076ed9684888ba01775a51ffe Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 23 Apr 2025 10:39:57 +0200 Subject: [PATCH 1/8] Clear release notes Signed-off-by: Leandro Lucarella --- RELEASE_NOTES.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 89fbad83..b99e3a30 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,37 @@ # Frequenz Repository Configuration Release Notes -This version only widens the `setuptools` dependency to support 79.x. +## Summary + + + +## Upgrading + + + +### Cookiecutter template + +All upgrading should be done via the migration script or regenerating the templates. + +```bash +curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.12/cookiecutter/migrate.py | python3 +``` + +But you might still need to adapt your code: + + + +## New Features + + + +### Cookiecutter template + + + +## Bug Fixes + + + +### Cookiecutter template + + From d78bd1ff0bf0531ed34e307c8bbab45c746ab466 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 May 2025 04:02:30 +0000 Subject: [PATCH 2/8] Bump pydoclint from 0.6.4 to 0.6.6 Bumps [pydoclint](https://github.com/jsh9/pydoclint) from 0.6.4 to 0.6.6. - [Release notes](https://github.com/jsh9/pydoclint/releases) - [Changelog](https://github.com/jsh9/pydoclint/blob/main/CHANGELOG.md) - [Commits](https://github.com/jsh9/pydoclint/compare/0.6.4...0.6.6) --- updated-dependencies: - dependency-name: pydoclint dependency-version: 0.6.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4d27953b..1de847ad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,7 @@ dev-flake8 = [ "flake8 == 7.2.0", "flake8-docstrings == 1.7.0", "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml - "pydoclint == 0.6.4", + "pydoclint == 0.6.6", "pydocstyle == 6.3.0", ] dev-formatting = ["black == 25.1.0", "isort == 6.0.1"] From 0f1ed1d2041925ca42408df19df55841359e6d0f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 May 2025 04:02:37 +0000 Subject: [PATCH 3/8] Bump types-pyyaml from 6.0.12.20250326 to 6.0.12.20250402 Bumps [types-pyyaml](https://github.com/typeshed-internal/stub_uploader) from 6.0.12.20250326 to 6.0.12.20250402. - [Commits](https://github.com/typeshed-internal/stub_uploader/commits) --- updated-dependencies: - dependency-name: types-pyyaml dependency-version: 6.0.12.20250402 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4d27953b..9c445a79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ dev-mypy = [ "mypy == 1.15.0", "types-setuptools >= 67.6.0, < 80", # Should match the api dependency "types-Markdown == 3.7.0.20250322", - "types-PyYAML == 6.0.12.20250326", + "types-PyYAML == 6.0.12.20250402", "types-babel == 2.11.0.15", "types-colorama == 0.4.15.20240311", # For checking the noxfile, docs/ script, and tests From 22d2d01e2ce8f57fa448f8dadea166fa42fef01f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 May 2025 04:02:41 +0000 Subject: [PATCH 4/8] Update types-setuptools requirement from <80,>=67.6.0 to >=67.6.0,<81 --- updated-dependencies: - dependency-name: types-setuptools dependency-version: 80.0.0.20250429 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4d27953b..f5788376 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,7 +88,7 @@ dev-mkdocs = [ ] dev-mypy = [ "mypy == 1.15.0", - "types-setuptools >= 67.6.0, < 80", # Should match the api dependency + "types-setuptools >= 67.6.0, < 81", # Should match the api dependency "types-Markdown == 3.7.0.20250322", "types-PyYAML == 6.0.12.20250326", "types-babel == 2.11.0.15", From 9c8f566ce94551a77bb14fb13d2e3462f8de2e6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 May 2025 04:02:47 +0000 Subject: [PATCH 5/8] Bump setuptools from 79.0.0 to 80.1.0 Bumps [setuptools](https://github.com/pypa/setuptools) from 79.0.0 to 80.1.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v79.0.0...v80.1.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 80.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4d27953b..51068c5d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ # Copyright © 2023 Frequenz Energy-as-a-Service GmbH [build-system] -requires = ["setuptools == 79.0.0", "setuptools_scm[toml] == 8.3.0"] +requires = ["setuptools == 80.1.0", "setuptools_scm[toml] == 8.3.0"] build-backend = "setuptools.build_meta" [project] From 991c35e636368e1c1608ab1e9276b6a81487d3a1 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 5 May 2025 10:20:23 +0200 Subject: [PATCH 6/8] Widen setuptools upper bound to < 81 Signed-off-by: Leandro Lucarella --- RELEASE_NOTES.md | 34 +--------------------------------- pyproject.toml | 6 +++--- 2 files changed, 4 insertions(+), 36 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index b99e3a30..0764a117 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,36 +2,4 @@ ## Summary - - -## Upgrading - - - -### Cookiecutter template - -All upgrading should be done via the migration script or regenerating the templates. - -```bash -curl -sSL https://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.12/cookiecutter/migrate.py | python3 -``` - -But you might still need to adapt your code: - - - -## New Features - - - -### Cookiecutter template - - - -## Bug Fixes - - - -### Cookiecutter template - - +This release just widens the `setuptools` dependency to allow for version 80.x. diff --git a/pyproject.toml b/pyproject.toml index 4d27953b..5f8b801b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ actor = [] api = [ "grpcio-tools >= 1.47.0, < 2", "mypy-protobuf >= 3.0.0, < 4", - "setuptools >= 67.6.0, < 80", + "setuptools >= 67.6.0, < 81", ] app = [] lib = [] @@ -88,7 +88,7 @@ dev-mkdocs = [ ] dev-mypy = [ "mypy == 1.15.0", - "types-setuptools >= 67.6.0, < 80", # Should match the api dependency + "types-setuptools >= 67.6.0, < 81", # Should match the api dependency "types-Markdown == 3.7.0.20250322", "types-PyYAML == 6.0.12.20250326", "types-babel == 2.11.0.15", @@ -101,7 +101,7 @@ dev-pylint = [ # dev-pytest already defines a dependency to pylint because of the examples # For checking the noxfile, docs/ script, and tests "frequenz-repo-config[dev-mkdocs,dev-noxfile,dev-pytest]", - "setuptools >= 67.6.0, < 80", # Should match the api dependency + "setuptools >= 67.6.0, < 81", # Should match the api dependency ] dev-pytest = [ "pytest == 8.3.5", From 1763b3e0bffa87b716ef82ec8fa37dd1a1fb7463 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 09:04:47 +0000 Subject: [PATCH 7/8] Bump the patch group across 1 directory with 4 updates Bumps the patch group with 4 updates in the / directory: [mkdocstrings-python](https://github.com/mkdocstrings/python), [pylint](https://github.com/pylint-dev/pylint), [mkdocs-material](https://github.com/squidfunk/mkdocs-material) and [setuptools-scm[toml]](https://github.com/pypa/setuptools-scm). Updates `mkdocstrings-python` from 1.16.8 to 1.16.10 - [Release notes](https://github.com/mkdocstrings/python/releases) - [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md) - [Commits](https://github.com/mkdocstrings/python/compare/1.16.8...1.16.10) Updates `pylint` from 3.3.6 to 3.3.7 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.3.6...v3.3.7) Updates `mkdocs-material` from 9.6.10 to 9.6.12 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.10...9.6.12) Updates `setuptools-scm[toml]` from 8.3.0 to 8.3.1 - [Release notes](https://github.com/pypa/setuptools-scm/releases) - [Changelog](https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md) - [Commits](https://github.com/pypa/setuptools-scm/compare/v8.3.0...v8.3.1) --- updated-dependencies: - dependency-name: mkdocstrings-python dependency-version: 1.16.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: pylint dependency-version: 3.3.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: mkdocs-material dependency-version: 9.6.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch - dependency-name: setuptools-scm[toml] dependency-version: 8.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6dc9f195..d9fc9b14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ # Copyright © 2023 Frequenz Energy-as-a-Service GmbH [build-system] -requires = ["setuptools == 80.1.0", "setuptools_scm[toml] == 8.3.0"] +requires = ["setuptools == 80.1.0", "setuptools_scm[toml] == 8.3.1"] build-backend = "setuptools.build_meta" [project] @@ -82,9 +82,9 @@ dev-mkdocs = [ "mkdocs-gen-files == 0.5.0", "mkdocs-literate-nav == 0.6.2", "mkdocs-macros-plugin == 1.3.7", - "mkdocs-material == 9.6.10", + "mkdocs-material == 9.6.12", "mkdocstrings[python] == 0.29.1", - "mkdocstrings-python == 1.16.8", + "mkdocstrings-python == 1.16.10", ] dev-mypy = [ "mypy == 1.15.0", @@ -105,7 +105,7 @@ dev-pylint = [ ] dev-pytest = [ "pytest == 8.3.5", - "pylint == 3.3.6", # We need this to check for the examples + "pylint == 3.3.7", # We need this to check for the examples "cookiecutter == 2.6.0", # For checking the cookiecutter scripts "jinja2 == 3.1.6", # For checking the cookiecutter scripts "sybil >= 6.1.1, < 10", # Should be consistent with the extra-lint-examples dependency From b68ebb91edd489049a332a61dea426678452c39b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 May 2025 09:49:03 +0000 Subject: [PATCH 8/8] Bump the minor group with 4 updates Bumps the minor group with 4 updates: [nox](https://github.com/wntrblm/nox), [setuptools](https://github.com/pypa/setuptools), [markdown](https://github.com/Python-Markdown/markdown) and [types-markdown](https://github.com/typeshed-internal/stub_uploader). Updates `nox` from 2025.2.9 to 2025.5.1 - [Release notes](https://github.com/wntrblm/nox/releases) - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md) - [Commits](https://github.com/wntrblm/nox/compare/2025.02.09...2025.05.01) Updates `setuptools` from 80.1.0 to 80.3.1 - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v80.1.0...v80.3.1) Updates `markdown` from 3.7 to 3.8 - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](https://github.com/Python-Markdown/markdown/compare/3.7...3.8) Updates `types-markdown` from 3.7.0.20250322 to 3.8.0.20250415 - [Commits](https://github.com/typeshed-internal/stub_uploader/commits) --- updated-dependencies: - dependency-name: nox dependency-version: 2025.5.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: setuptools dependency-version: 80.3.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: markdown dependency-version: '3.8' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: types-markdown dependency-version: 3.8.0.20250415 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d9fc9b14..0b0a7472 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ # Copyright © 2023 Frequenz Energy-as-a-Service GmbH [build-system] -requires = ["setuptools == 80.1.0", "setuptools_scm[toml] == 8.3.1"] +requires = ["setuptools == 80.3.1", "setuptools_scm[toml] == 8.3.1"] build-backend = "setuptools.build_meta" [project] @@ -77,7 +77,7 @@ dev-flake8 = [ dev-formatting = ["black == 25.1.0", "isort == 6.0.1"] dev-mkdocs = [ "black == 25.1.0", - "Markdown == 3.7", + "Markdown == 3.8", "mike == 2.1.3", "mkdocs-gen-files == 0.5.0", "mkdocs-literate-nav == 0.6.2", @@ -89,14 +89,14 @@ dev-mkdocs = [ dev-mypy = [ "mypy == 1.15.0", "types-setuptools >= 67.6.0, < 81", # Should match the api dependency - "types-Markdown == 3.7.0.20250322", + "types-Markdown == 3.8.0.20250415", "types-PyYAML == 6.0.12.20250402", "types-babel == 2.11.0.15", "types-colorama == 0.4.15.20240311", # For checking the noxfile, docs/ script, and tests "frequenz-repo-config[dev-mkdocs,dev-noxfile,dev-pytest]", ] -dev-noxfile = ["nox == 2025.2.9"] +dev-noxfile = ["nox == 2025.5.1"] dev-pylint = [ # dev-pytest already defines a dependency to pylint because of the examples # For checking the noxfile, docs/ script, and tests