Skip to content

Conversation

Marenz
Copy link
Contributor

@Marenz Marenz commented Oct 15, 2025

previous fix was merged to main branch instead of version branch

Signed-off-by: Mathias L. Baumann <[email protected]>
@Marenz Marenz requested a review from a team as a code owner October 15, 2025 07:01
@Marenz Marenz requested review from Copilot and llucax and removed request for Copilot October 15, 2025 07:01
@github-actions github-actions bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Oct 15, 2025
@Marenz
Copy link
Contributor Author

Marenz commented Oct 15, 2025

tests/init.py:1:0: F0010: error while code parsing: Unable to load file tests/init.py:

god damn f..

Signed-off-by: Leandro Lucarella <[email protected]>
@Copilot Copilot AI review requested due to automatic review settings October 15, 2025 08:39
@github-actions github-actions bot added the part:template Affects the cookiecutter template files label Oct 15, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Supports pylint 4 by widening the upper bound and updating dependency pins; also broad dependency bumps across cookiecutter templates and golden test fixtures.

  • Widened pylint constraint to <5 in root config and pinned dev environment to 4.0.0
  • Updated numerous dependency versions (frequenz-sdk, protobuf/grpc, mkdocs-related, typing-extensions, etc.)
  • Added a generic release note entry for dependency updates

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests_golden/.../model/.../pyproject.toml Updated dependency and tooling versions for model template fixture
tests_golden/.../lib/.../pyproject.toml Updated dependency and tooling versions for lib template fixture
tests_golden/.../app/.../pyproject.toml Updated dependency and tooling versions for app template fixture
tests_golden/.../api/.../pyproject.toml Updated dependency and tooling versions incl. protobuf/grpc ranges for api template fixture
tests_golden/.../actor/.../pyproject.toml Updated dependency and tooling versions for actor template fixture
pyproject.toml Widened pylint upper bound and pinned dev-pytest env to pylint 4.0.0
cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml Updated template dependency versions (SDK, protobuf/grpc, tooling) but left pylint at 3.3.8
RELEASE_NOTES.md Added a generic bullet about dependency updates

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

"pytest == 8.3.4",
"pylint == 3.3.4", # We need this to check for the examples
"pytest == 8.4.1",
"pylint == 3.3.8", # We need this to check for the examples
Copy link

Copilot AI Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The root project now allows pylint <5 and pins 4.0.0, but the template still pins 3.3.8, creating an inconsistency that will cause newly generated projects to lag behind the supported major version. Either bump this pin to 4.0.0 (or a compatible >= constraint within <5) or document why templates intentionally remain on 3.3.8; also update the golden test fixtures accordingly after adjusting.

Suggested change
"pylint == 3.3.8", # We need this to check for the examples
"pylint == 4.0.0", # We need this to check for the examples

Copilot uses AI. Check for mistakes.

### Cookiecutter template

<!-- Here new features for cookiecutter specifically -->
- Dependencies have been updated.
Copy link

Copilot AI Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This release note is too generic; specify key impactful changes (e.g., support for pylint 4 by widening the upper bound, protobuf range widened to <8, grpcio minimum bump, SDK version range updates) so consumers understand potential upgrade considerations.

Suggested change
- Dependencies have been updated.
- Dependency updates:
- Widened `pylint` upper bound to support v4.
- Widened `protobuf` version range to `<8`.
- Bumped minimum `grpcio` version.
- Updated SDK version range.

Copilot uses AI. Check for mistakes.

@Marenz Marenz enabled auto-merge October 15, 2025 08:48
RELEASE_NOTES.md Outdated

## New Features

<!-- Here goes the main new features and examples or instructions on how to use them -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe announcing support for pylint 4 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added note

Signed-off-by: Mathias L. Baumann <[email protected]>
@Marenz Marenz requested a review from llucax October 16, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:template Affects the cookiecutter template files part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants