Skip to content

Fix setuptools dependency#387

Merged
llucax merged 1 commit intofrequenz-floss:v0.x.xfrom
llucax:fix-setuptools-dep
Apr 3, 2025
Merged

Fix setuptools dependency#387
llucax merged 1 commit intofrequenz-floss:v0.x.xfrom
llucax:fix-setuptools-dep

Conversation

@llucax
Copy link
Copy Markdown
Contributor

@llucax llucax commented Apr 3, 2025

It looks like the deependency got a bit mixed up at some point, and types-setuptools dependency started getting widenned and the real optional dependency (for api) stopped being widenned.

We'll probably need to keep an eye on dependabot to see if this was done by dependabot, but even if it is not, it is failing to widden the setuptools dependency for some reason.

Copilot AI review requested due to automatic review settings April 3, 2025 13:09
@llucax llucax requested a review from a team as a code owner April 3, 2025 13:09
@github-actions github-actions Bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Apr 3, 2025
@llucax llucax added the cmd:skip-release-notes It is not necessary to update release notes for this PR label Apr 3, 2025
@llucax llucax added this to the v0.13.2 milestone Apr 3, 2025
@llucax llucax self-assigned this Apr 3, 2025
@llucax llucax added the type:bug Something isn't working label Apr 3, 2025
@llucax llucax requested a review from Marenz April 3, 2025 13:09
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 updates the dependency versions in the pyproject.toml file to ensure that the correct versions are used for both the API and development environments.

  • The setuptools dependency in the API section is now allowed up to version 79.
  • The types-setuptools dependency in the dev-mypy section is pinned to version 78.1.0 to match the build dependency.
Comments suppressed due to low confidence (2)

pyproject.toml:60

  • Expanding the upper bound for the setuptools dependency might allow versions that have not been validated with the project; please verify compatibility for versions between 76 and 79.
"setuptools >= 67.6.0, < 79",

pyproject.toml:91

  • Pinning types-setuptools to an exact version may lead to version drift if the build dependency updates; consider whether a version range might be more suitable while maintaining consistency with the build dependency.
"types-setuptools == 78.1.0", # Should match the build dependency

It looks like the deependency got a bit mixed up at some point, and
`types-setuptools` dependency started getting widenned and the real
optional dependency (for `api`) stopped being widenned.

We'll probably need to keep an eye on dependabot to see if this was done
by dependabot, but even if it is not, it is failing to widden the
`setuptools` dependency for some reason.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@llucax llucax added this pull request to the merge queue Apr 3, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit edfed22 Apr 3, 2025
5 checks passed
@llucax llucax deleted the fix-setuptools-dep branch April 3, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmd:skip-release-notes It is not necessary to update release notes for this PR part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants