Relax frequenz-api-common dependency constraint to allow newer versions#352
Merged
tiyash-basu-frequenz merged 2 commits intov0.15.xfrom Aug 18, 2025
Merged
Conversation
Co-authored-by: llucax <1031485+llucax@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Can you update the dependency
Relax frequenz-api-common dependency constraint to allow newer versions
Aug 18, 2025
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...
llucax
approved these changes
Aug 18, 2025
There was a problem hiding this comment.
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-commondependency 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.
Marenz
approved these changes
Aug 18, 2025
Marenz
approved these changes
Aug 18, 2025
tiyash-basu-frequenz
approved these changes
Aug 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change updates the dependency constraint for
frequenz-api-commonfrom>= 0.6.2, < 0.7to>= 0.6.2, < 1inpyproject.toml, allowing the package to work with newer versions of thefrequenz-api-commonlibrary 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
frequenz-api-commondependency from>= 0.6.2, < 0.7to>= 0.6.2, < 1This is a backward-compatible change that should not affect existing users but will allow for more flexibility in dependency resolution.