-
Notifications
You must be signed in to change notification settings - Fork 36
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
Formatter server crashes with bundled libs on Python 3.11 #67
Comments
@Bobronium The crash looks like it happens in python
|
Nice catch! I forgot I had it installed. Though I believe same thing would happen in 3.10. (In fact it already happened to me prior to installing 3.11) |
Thanks for fling a bug on |
@Bobronium I just verified that we run the tests on python 3.10.4: Can you provide more details on the 3.10 specific crash? |
Oh. I've double checked and it's indeed doesn't produce an error. Sorry for misinformation. I assumed extension didn't crash in my other projects because I had never version of pydantic installed and extension did pick it up from projects PYTHONPATH, but turns out it doesn't crash without pydantic too when using python3.10. |
This is related the 3.11 issue. you can look at Output > black formatter and see the details. |
Steps to reproduce
Reason
Bundled version of pydantic is outdated, doesn't officialy support python 3.10 and crashes on 3.11
https://github.com/samuelcolvin/pydantic/pull/2885/files#diff-75ec66ee30c88591d87f430102cfbba45e2e0e31a50df8ab4862f03edc6d4072R237
Solution
or
The text was updated successfully, but these errors were encountered: