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

Package request: pydantic-core #995

Closed
IsakTheHacker opened this issue Oct 13, 2023 · 3 comments
Closed

Package request: pydantic-core #995

IsakTheHacker opened this issue Oct 13, 2023 · 3 comments
Labels

Comments

@IsakTheHacker
Copy link
Contributor

I need the pydantic package for my app which depends on the native pydantic-core package written in Rust. I have tried following the guide for building Cryptography version 39 and read this issue. It is hard to understand exactly what I need to do to set up Rust support when there is no official documentation. For example, do I need to cross-compile Python as described here or is that specific to the Cryptogaphy package?

@Saeppo
Copy link

Saeppo commented Nov 10, 2023

This worked for me.

python {
            version 3.8
            pip {
                install "pydantic<2"
            }
 }

@caarmen
Copy link

caarmen commented Nov 19, 2023

This worked for me.

python { version 3.8 pip { install "pydantic<2" } }

Would like to be able to use pydantic 2. Some libs seem to require it (ex: ariadne-codegen: mirumee/ariadne-codegen#186 )

@mhsmith
Copy link
Member

mhsmith commented Nov 28, 2023

For further discussion of pydantic version 2, see #1017.

@mhsmith mhsmith closed this as completed Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants