From 6c890a841dd6e40b6e6b6862ca12b785d372740c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 27 Nov 2025 13:11:22 +0100 Subject: [PATCH 1/2] Widen pytest version upper bound to accept v9.x Signed-off-by: Leandro Lucarella --- RELEASE_NOTES.md | 34 +--------------------------------- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 34 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 15f6883b..d0c0b638 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,37 +1,5 @@ # Frequenz Repository Configuration Release Notes -## 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 -* Pylint4 is now supported. - -### Cookiecutter template - -- Dependencies have been updated. - -## Bug Fixes - - - -### Cookiecutter template - - +* Pytest v9.x is now supported. diff --git a/pyproject.toml b/pyproject.toml index 1f90aaaa..87f461f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,7 @@ lib = [] model = [] extra-lint-examples = [ "pylint >= 2.17.3, < 5", - "pytest >= 7.3.0, < 9", + "pytest >= 7.3.0, < 10", "sybil >= 6.1.1, < 10", ] dev-flake8 = [ From ee7d45189a0b3eeb5d532e460c2bb696e471c10e Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 27 Nov 2025 13:51:15 +0100 Subject: [PATCH 2/2] Bump pytest and pylint dependencies Signed-off-by: Leandro Lucarella --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 87f461f2..67085712 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -104,8 +104,8 @@ dev-pylint = [ "setuptools >= 67.6.0, < 81", # Should match the api dependency ] dev-pytest = [ - "pytest == 8.3.5", - "pylint == 4.0.0", # We need this to check for the examples + "pytest == 9.0.1", + "pylint == 4.0.3", # 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