You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to be able to use langgraph with chaquopy. As a lot of people here, I have the "pedentic v2" issue due to langgraph dependency. And the pydantic<2 workaround can not work.
Based on cryptography example, I tried to compile pydantic-core locally with build_wheel, by adding a package. This was failing due to jiter compliation issue.
Then I went to jiter 0.8.0 compilation. Jiter is using python and it had an issue with pyo3::ffi. Which I fixed by simply removing an optimization. I finally get a chaquopy/server/pypi/dist/jiter/jiter-0.8.0-0-cp311-cp311-android_24_x86_64.whl file.
But I can not apply my patches to the pydantic-core because is still resolve dependencies using cargo registry (cargo/registry/src/index.crates.io-6f17d22bba15001f/jiter-0.8.2/src/py_string_cache.rs).
Is there a way to force my package pydantic-core to use the jiter whl file?
Thanks a lot for your help and your work :-)
The text was updated successfully, but these errors were encountered:
mhsmith
changed the title
building pedantic-core with modified jiter
building pydantic-core with modified jiter
Jan 26, 2025
Chaquopy 16.0.0
chaquopy {
defaultConfig {
version = "3.12"
pip {
install("pydantic-core==2.18.4")
install ("pydantic")
install("websocket-client==1.8.0")
install("langgraph==0.1.19")
}
}
}
Hi, I would like to be able to use langgraph with chaquopy. As a lot of people here, I have the "pedentic v2" issue due to langgraph dependency. And the pydantic<2 workaround can not work.
Based on cryptography example, I tried to compile pydantic-core locally with build_wheel, by adding a package. This was failing due to jiter compliation issue.
Then I went to jiter 0.8.0 compilation. Jiter is using python and it had an issue with pyo3::ffi. Which I fixed by simply removing an optimization. I finally get a chaquopy/server/pypi/dist/jiter/jiter-0.8.0-0-cp311-cp311-android_24_x86_64.whl file.
But I can not apply my patches to the pydantic-core because is still resolve dependencies using cargo registry (cargo/registry/src/index.crates.io-6f17d22bba15001f/jiter-0.8.2/src/py_string_cache.rs).
Is there a way to force my package pydantic-core to use the jiter whl file?
Thanks a lot for your help and your work :-)
The text was updated successfully, but these errors were encountered: