Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating dependencies #39

Merged
merged 1 commit into from
Nov 27, 2024
Merged

Conversation

erikbosch
Copy link
Contributor

@erikbosch erikbosch commented Nov 27, 2024

I noticed a problem with latest merge - we updated submodules but that did not trigger build for the PR, and after merge the build failed. The problem seems to be a grpcio mismatch, for generating grpc source we use >= version from pyproject.toml but for runtime we use exact version from requirements.txt

This gives errors like:

E RuntimeError: The grpc package installed is at version 1.67.1, but the generated code in kuksa/val/v1/val_pb2_grpc.py depends on grpcio>=1.68.0. Please upgrade your grpc module to grpcio>=1.68.0 or downgrade your generated code using grpcio-tools<=1.67.1.

Solved in this PR by using a stricter version specifier in both. Mentioned at https://github.com/eclipse-kuksa/kuksa-python-sdk/wiki/Release-Process#update-dependencies

Long term we could possibly get rid of setup.cfg and possibly also requirement* files. We might consider moving to poetry or uv.

@erikbosch erikbosch marked this pull request as ready for review November 27, 2024 13:10
Copy link
Contributor

@lukasmittag lukasmittag left a comment

Choose a reason for hiding this comment

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

Nice catch!

@lukasmittag lukasmittag merged commit c20e81f into eclipse-kuksa:main Nov 27, 2024
8 checks passed
@erikbosch erikbosch deleted the erik_min branch November 27, 2024 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants