Skip to content

Relax frequenz-api-common dependency constraint to allow newer versions#352

Merged
tiyash-basu-frequenz merged 2 commits intov0.15.xfrom
copilot/fix-bb106c89-f8cc-4a7f-aaf8-d9946e0a0df6
Aug 18, 2025
Merged

Relax frequenz-api-common dependency constraint to allow newer versions#352
tiyash-basu-frequenz merged 2 commits intov0.15.xfrom
copilot/fix-bb106c89-f8cc-4a7f-aaf8-d9946e0a0df6

Conversation

Copy link
Copy Markdown

Copilot AI commented Aug 18, 2025

This change updates the dependency constraint for frequenz-api-common from >= 0.6.2, < 0.7 to >= 0.6.2, < 1 in pyproject.toml, allowing the package to work with newer versions of the frequenz-api-common library up to (but not including) version 1.0.

The change enables users to install and use newer versions of frequenz-api-common (such as 0.7.x, 0.8.x, 0.9.x) without being blocked by an overly restrictive version constraint, while still maintaining compatibility with the minimum required version 0.6.2.

Changes

  • pyproject.toml: Updated frequenz-api-common dependency from >= 0.6.2, < 0.7 to >= 0.6.2, < 1
  • RELEASE_NOTES.md: Updated to reflect this dependency constraint relaxation

This is a backward-compatible change that should not affect existing users but will allow for more flexibility in dependency resolution.

Co-authored-by: llucax <1031485+llucax@users.noreply.github.com>
Copilot AI changed the title [WIP] Can you update the dependency frequenz-api-common to >= 0.6.2, < 1 in pyproject.toml? Please update the RELEASE_NOTES.md file, leaving only the Summary section, saying that the only change was relaxing the dependency of frequenz-api-common to a... Relax frequenz-api-common dependency constraint to allow newer versions Aug 18, 2025
Copilot AI requested a review from llucax August 18, 2025 09:26
@github-actions github-actions Bot added part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Aug 18, 2025
@llucax llucax marked this pull request as ready for review August 18, 2025 09:39
Copilot AI review requested due to automatic review settings August 18, 2025 09:39
@llucax llucax requested review from a team as code owners August 18, 2025 09:39
Copy link
Copy Markdown

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

This PR relaxes the dependency constraint for frequenz-api-common from < 0.7 to < 1, allowing the package to work with newer patch and minor versions (0.7.x, 0.8.x, 0.9.x) while maintaining the minimum required version of 0.6.2.

  • Updated frequenz-api-common dependency constraint to allow versions up to (but not including) 1.0
  • Updated release notes to document the dependency constraint relaxation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pyproject.toml Relaxed frequenz-api-common dependency constraint from < 0.7 to < 1
RELEASE_NOTES.md Updated release notes to document the dependency change and removed unrelated bug fix entries

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

Comment thread RELEASE_NOTES.md
@llucax llucax added this to the v0.15.6 milestone Aug 18, 2025
@tiyash-basu-frequenz tiyash-basu-frequenz merged commit 872a685 into v0.15.x Aug 18, 2025
16 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the copilot/fix-bb106c89-f8cc-4a7f-aaf8-d9946e0a0df6 branch August 18, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants