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

Python3.13 no gil -- Version found exception #10693

Closed
1 task done
gwenhe opened this issue Oct 23, 2024 · 2 comments
Closed
1 task done

Python3.13 no gil -- Version found exception #10693

gwenhe opened this issue Oct 23, 2024 · 2 comments
Labels
bug V2 Bug related to Pydantic V2 pending Awaiting a response / confirmation

Comments

@gwenhe
Copy link

gwenhe commented Oct 23, 2024

Initial Checks

  • I confirm that I'm using Pydantic V2

Description

An exception occurred pydantic running in python3.13t (Python3.13 no gil version),
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)

Example Code

from pydantic import BaseModel, Field


python3.13t main.py

Python, Pydantic & OS Version

`Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)`
@gwenhe gwenhe added bug V2 Bug related to Pydantic V2 pending Awaiting a response / confirmation labels Oct 23, 2024
@gwenhe
Copy link
Author

gwenhe commented Oct 23, 2024

After the version is rolled back to pydantic-1.10.0, everything is normal.
But I need to transform a lot of Pydantic V2 methods, and a lot of Pydantic models are used in the project.

It's too painful !!! o(╥﹏╥)o

@Viicos
Copy link
Member

Viicos commented Oct 23, 2024

Pydantic does no support the free threaded build, we'll have to wait for PyO3/pyo3#4265.

@Viicos Viicos closed this as completed Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug V2 Bug related to Pydantic V2 pending Awaiting a response / confirmation
Projects
None yet
Development

No branches or pull requests

2 participants