question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crashes on Python 3.11

See original GitHub issue

Official support for python 3.10 was added only to pydantic in version 1.9, however in lib requirements lower version is pinned: https://github.com/openlawlibrary/pygls/blob/4ce8988c87ba75352a510611881bc1d9d4e6757f/setup.cfg#L28

Might be fixed in #229 Causes https://github.com/microsoft/vscode-black-formatter/issues/67

Initially I thought it crashes on Python 3.10, but as it turned out, I got it wrong.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
pfmoorecommented, Oct 24, 2022

Is there any progress on Python 3.11 support? With the official release in a day or so, this (or more specifically the related issue in vscode-isort) will become a more significant problem.

1reaction
brettcannoncommented, Oct 24, 2022

You can also specify that Python 3.11 needs a newer version with pydantic>=1.10.2; python_version>=3.11

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pydantic + Python 3.11 crash · Issue #7541 - GitHub
It's me again and now it crashes in a new OS. Describe your environment. Operating system: Fedora 37; Python Version: 3.11.0. $ pip...
Read more >
Changelog — Python 3.11.1 documentation
gh-97728: Fix possible crashes caused by the use of uninitialized variables when pass invalid arguments in os.system() on Windows and in Windows ...
Read more >
fix crash with Python 3.11 - PostgreSQL
already testing with Python 3.11 and will surely run into this problem. The way plpy.commit() and plpy.rollback() handle errors is not ideal.
Read more >
Bad python3.10 (Python bug causes crash while parsing ...
Future versions seem ok right now per the message below. Their fix in 3.11+ will still cause your scenario to fail though. A...
Read more >
"CRITICAL WARNING" error debugging Python 3.11 code
"CRITICAL WARNING" error debugging Python 3.11 code ... PY-52124 Python crash debugging pytest tests with Python 3.11.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found