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

uritemplate version incompatibilities #63

Closed
andreaTP opened this issue May 18, 2023 · 4 comments
Closed

uritemplate version incompatibilities #63

andreaTP opened this issue May 18, 2023 · 4 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@andreaTP
Copy link
Contributor

Noticed by installing a generated SDK in a project with more dependencies I get this error message:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behavior is the source of the following dependency conflicts.
google-api-python-client 1.12.11 requires uritemplate<4dev,>=3.0.0, but you have uritemplate 4.1.1 which is incompatible.
kfp 1.8.19 requires uritemplate<4,>=3.0.1, but you have uritemplate 4.1.1 which is incompatible.

Given the number of issues we are facing with uritemplate libraries across implementations, I'm wondering if it makes sense to roll our own for kiota to be more independent ... cc. @baywet

@baywet
Copy link
Member

baywet commented Jun 7, 2023

Thanks for reporting this @andreaTP as always.
I'm fairly novice to Python and currently on my phone.
Are those dependencies that are transiently pulling Uri template dependencies of the kiota packages or of your project?
Is there such a thing as a peer (npm) or internal dependency (implementation with gradle) with pip?

@baywet baywet added question dependencies Pull requests that update a dependency file labels Jun 7, 2023
@andreaTP
Copy link
Contributor Author

andreaTP commented Jun 9, 2023

@baywet sorry for the delay:

Are those dependencies that are transiently pulling Uri template dependencies of the kiota packages or of your project?

They are transitive dependencies within a Data Science Jupyter notebook, they come from "my project", or better, from my environment.

Is there such a thing as a peer (npm) or internal dependency (implementation with gradle) with pip?

I quickly looked up this, but I cannot find anything relevant (not a Python deps expert too though).

@baywet
Copy link
Member

baywet commented Jun 9, 2023

@samwelkanda could you provide more context on dependency management for Python here please?

@andreaTP
Copy link
Contributor Author

Closed by #118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants