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

Compatibility with pydantic v2.10+ #613

Open
yeesian opened this issue Nov 22, 2024 · 4 comments
Open

Compatibility with pydantic v2.10+ #613

yeesian opened this issue Nov 22, 2024 · 4 comments

Comments

@yeesian
Copy link

yeesian commented Nov 22, 2024

Details in #610 (comment)

@Viicos
Copy link

Viicos commented Nov 22, 2024

I've opened googleapis/python-aiplatform#4701.

@ostefano
Copy link

ostefano commented Jan 8, 2025

Hi @yeesian , I see that python-aiplatform v1.76.0 has been released (thank you btw 🙏).

Does that mean we could remove the pydantic constraint and bump langchain-google-*?

@yeesian
Copy link
Author

yeesian commented Jan 8, 2025

Does that mean we could remove the pydantic constraint and bump langchain-google-*?

I tried (in an adhoc fashion using pip to force install the latest version of pydantic) and it worked for me (with google-cloud-aiplatform==1.76, but not 1.75).

If you're willing, can you give it a shot and let me know if it worked for you too?

If so, I think the upper bound in

pydantic = ">=2.9,<2.10"
can be lifted @lkuligin

@ostefano
Copy link

ostefano commented Jan 8, 2025

@yeesian is there a specific test I can run to verify everything works as expected or instantiating VertexAiEmbedding (by invoking the API retrieving the embedding) would the best approach?

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

No branches or pull requests

3 participants