-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[Packaging] Support Python 3.11 #26923
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
edf18bd
Init
bebound e2852ec
Replace inspect.getargspec
bebound d0421af
Merge branch 'dev' into python-3.11
bebound c5dec5a
Fix mock_get_extension
bebound f91ee23
Fix mock error
bebound db4341f
Test new knack
bebound 7a0c285
Fix test_parser_error_spellchecker
bebound 265fb6c
Fix test_help_loads
bebound 70a89dc
Fix test_command_index_always_loaded_extension
bebound f2dc5e7
Fix test_vm_defaults
bebound 890df61
Revert "Test new knack"
bebound 97beb14
Merge remote-tracking branch 'upstream/main' into python-3.11
bebound ae79bd7
Merge remote-tracking branch 'upstream/dev' into python-3.11
bebound 9532240
Revert "Fix test_vm_defaults"
bebound 5a3d9f2
Merge remote-tracking branch 'upstream/dev' into python-3.11
bebound 957f19b
Use 3.11 in test
bebound 0e92cb2
Fix enum str change in 3.11
bebound edea742
Merge remote-tracking branch 'upstream/dev' into python-3.11
bebound 7e19a72
Minor fix
bebound 36d8dc4
Use inspect.signature()
bebound 87d3e90
Ignore deprecated-method
bebound 952aac6
Merge remote-tracking branch 'upstream/dev' into python-3.11
bebound b5fedff
Merge branch 'dev' into python-3.11
bebound f4cf181
Merge remote-tracking branch 'upstream/dev' into python-3.11
bebound c8109ff
Rollback to inspect.getfullargspec
bebound ba4951a
Replace locale.getdefaultlocale with locale.getlocale
bebound f87722c
Merge commit 'a0b940589ec808e41b379b67286fe6d975ed621f' into python-3.11
bebound f2baaba
Use 3.10 in CodegenCoverage
bebound 6936dc5
Revert fix mock_get_extension
bebound 8b7a8c3
Use 3.11 in CodegenCoverage
bebound d0887b9
Merge remote-tracking branch 'upstream/dev' into python-3.11
bebound File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix test_help_loads
- Loading branch information
commit 265fb6cb0a2e3fe5826cd0686568d6f3ed82ead7
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix
The command table is build in
cli.invoke(['-h']). If this line is called again, subparsers are added again, which is not allowed in Python 3.11. See python/cpython#18605