-
-
Notifications
You must be signed in to change notification settings - Fork 507
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
Support Python 3.13 #2003
Merged
Merged
Support Python 3.13 #2003
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68e435c - Browse repository at this point
Copy the full SHA 68e435cView commit details -
Name this list of accepted symbol differences
This should make it easier to add new entries as well as clarifying the intent of this filter.
Configuration menu - View commit details
-
Copy full SHA for ee90cd9 - Browse repository at this point
Copy the full SHA ee90cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbbaad2 - Browse repository at this point
Copy the full SHA bbbaad2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 473b35e - Browse repository at this point
Copy the full SHA 473b35eView commit details -
Use an explicit mapping for locals in this test
In Python 3.13 the `locals` function now returns a fresh mapping each time it's called (when called in a function). We thus need to store a reference to the mapping being used, rather than re-fetching it each time. Since we don't actually need to modify the locals within the scope of the test function itself, it suffices to use our own mapping here rather than the result of calling `locals`, which fully isolates this test from the nature of that function. Fixes davidhalter#2002
Configuration menu - View commit details
-
Copy full SHA for 340dedd - Browse repository at this point
Copy the full SHA 340deddView commit details -
This moves to using the 3.13 grammar as well as testing 3.13 in CI.
Configuration menu - View commit details
-
Copy full SHA for d543d1d - Browse repository at this point
Copy the full SHA d543d1dView commit details -
Cope with Python 3.13 moving pathlib's implementation
Jedi passes pickles to subprocesses which are running the target version of Python and thus may not be the same as the version under which Jedi itself is running. In Python 3.13, pathlib is being refactored to allow for easier extension and has thus moved most of its internal implementation to a submodule. Unfortunately this changes the paths of the symbols, causing pickles of those types to fail to load in earlier versions of Python. This commit introduces a custom unpickler which accounts for this move, allowing bi-directional passing of pickles to work.
Configuration menu - View commit details
-
Copy full SHA for 2551863 - Browse repository at this point
Copy the full SHA 2551863View commit details
Commits on Jul 5, 2024
-
Ignore py__name__ issues for functools.partial in Python 3.13.0b3+
See davidhalter#2012 for details.
Configuration menu - View commit details
-
Copy full SHA for 857c9be - Browse repository at this point
Copy the full SHA 857c9beView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.