-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[ci] Add jobs for python 3.12-beta following its release #8718
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
jacobtylerwalls
merged 20 commits into
pylint-dev:main
from
Pierre-Sassoulas:add-python3.12-beta-in-ci
Jul 15, 2023
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
7e2ab19
[ci] Add jobs for python 3.12-beta following its release
Pierre-Sassoulas 5c474e3
Increase setuptools version above 66.1 see https://github.com/pypa/pi…
Pierre-Sassoulas 28eb972
Do not upgrade the primer's upper bound yet
Pierre-Sassoulas 42c18cd
Remove fragment, update doc
Pierre-Sassoulas 39e8c4c
Restore news fragment
jacobtylerwalls 98ad7db
Add python 3.12 classifier
jacobtylerwalls ee27fde
Apply dill patch for DeprecationWarnings on 3.12
jacobtylerwalls fd1f69d
Reflect better TokenError linenos in python 3.12
jacobtylerwalls 20207a0
Simulate legacy editable_mode=compat
jacobtylerwalls bdde25a
Cope with DeprecationWarnings becoming SyntaxWarnings
jacobtylerwalls 445e897
Rotate the deprecated module used in test
jacobtylerwalls fc9f69b
Add max_pyver
jacobtylerwalls f1560cf
Adapt unhashable-member tests for slices as dict keys
jacobtylerwalls dfc4df2
TypeAlias became a class in python 3.12
jacobtylerwalls b70c4bc
typing.Generic no longer has slots
jacobtylerwalls 839fdda
Update news fragment
jacobtylerwalls 0c68458
distutils was removed in 3.12
jacobtylerwalls a5a525c
Skip enum.__getattr__ test on Python 3.12 for now
jacobtylerwalls 158f3a9
Remove double colon in fragment
jacobtylerwalls b7592e6
Bump astroid to 3.0.0a8
jacobtylerwalls 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
timeout-minutes: 5 | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, "3.10", "3.11"] | ||
python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"] | ||
outputs: | ||
python-key: ${{ steps.generate-python-key.outputs.key }} | ||
steps: | ||
|
@@ -72,7 +72,7 @@ jobs: | |
needs: prepare-tests-linux | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, "3.10", "3.11"] | ||
python-version: [3.8, 3.9, "3.10", "3.11", "3.12-dev"] | ||
steps: | ||
- name: Check out code from GitHub | ||
uses: actions/[email protected] | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,10 +103,10 @@ contributors: | |
- Tushar Sadhwani <[email protected]> (tusharsadhwani) | ||
- Nicolas Chauvat <[email protected]> | ||
- orSolocate <[email protected]> | ||
- Zen Lee <[email protected]> | ||
- Radu Ciorba <[email protected]>: not-context-manager and confusing-with-statement warnings. | ||
- Holger Peters <[email protected]> | ||
- Cosmin Poieană <[email protected]>: unichr-builtin and improvements to bad-open-mode. | ||
- Zen Lee <[email protected]> | ||
- Steven Myint <[email protected]>: duplicate-except. | ||
- Peter Kolbus <[email protected]> (Garmin) | ||
- Luigi Bertaco Cristofolini <[email protected]> (luigibertaco) | ||
|
@@ -118,16 +118,17 @@ contributors: | |
- Julien Jehannet <[email protected]> | ||
- Boris Feld <[email protected]> | ||
- Anthony Sottile <[email protected]> | ||
- Robert Hofer <[email protected]> | ||
- Pedro Algarvio <[email protected]> (s0undt3ch) | ||
- Julien Palard <[email protected]> | ||
- David Liu <[email protected]> (david-yz-liu) | ||
- Dan Goldsmith <[email protected]>: support for msg-template in HTML reporter. | ||
- Buck Evan <[email protected]> | ||
- Robert Hofer <[email protected]> | ||
- Mariatta Wijaya <[email protected]> | ||
* Added new check `logging-fstring-interpolation` | ||
* Documentation typo fixes | ||
- Jakub Wilk <[email protected]> | ||
- Hugo van Kemenade <[email protected]> | ||
- Eli Fine <[email protected]> (eli88fine): Fixed false positive duplicate code warning for lines with symbols only | ||
- Andrew Haigh <[email protected]> (nelfin) | ||
- Émile Crater <[email protected]> | ||
|
@@ -138,10 +139,10 @@ contributors: | |
- Marianna Polatoglou <[email protected]>: minor contribution for wildcard import check | ||
- Manuel Vázquez Acosta <[email protected]> | ||
- Luis Escobar <[email protected]> (Vauxoo): Add bad-docstring-quotes and docstring-first-line-empty | ||
- Lucas Cimon <[email protected]> | ||
- Konstantina Saketou <[email protected]> | ||
- Konstantin <[email protected]> | ||
- Jim Robertson <[email protected]> | ||
- Hugo van Kemenade <[email protected]> | ||
- Ethan Leba <[email protected]> | ||
- Enji Cooper <[email protected]> | ||
- Drum Ogilvie <[email protected]> | ||
|
@@ -219,7 +220,6 @@ contributors: | |
* Fixed ignored empty functions by similarities checker with "ignore-signatures" option enabled | ||
* Ignore function decorators signatures as well by similarities checker with "ignore-signatures" option enabled | ||
* Ignore class methods and nested functions signatures as well by similarities checker with "ignore-signatures" option enabled | ||
- Lucas Cimon <[email protected]> | ||
- Kylian <[email protected]> | ||
- Konstantin Manna <[email protected]> | ||
- Kai Mueller <[email protected]> | ||
|
@@ -363,6 +363,7 @@ contributors: | |
- Viorel Știrbu <[email protected]>: intern-builtin warning. | ||
- VictorT <[email protected]> | ||
- Victor Jiajunsu <[email protected]> | ||
- ViRuSTriNiTy <[email protected]> | ||
- Trevor Bekolay <[email protected]> | ||
* Added --list-msgs-enabled command | ||
- Tomer Chachamu <[email protected]>: simplifiable-if-expression | ||
|
@@ -428,6 +429,7 @@ contributors: | |
- Moody <[email protected]> | ||
- Mitchell Young <[email protected]>: minor adjustment to docparams | ||
- Mitar <[email protected]> | ||
- Mikhail f. Shiryaev <[email protected]> | ||
- Mike Fiedler <[email protected]> (miketheman) | ||
- Mike Bryant <[email protected]> | ||
- Michka Popoff <[email protected]> | ||
|
@@ -476,6 +478,7 @@ contributors: | |
* Fixed `toml` dependency issue | ||
- Jeremy Fleischman <[email protected]> | ||
- Jason Owen <[email protected]> | ||
- Jason Lau <[email protected]> | ||
- Jared Garst <[email protected]> | ||
- Jared Deckard <[email protected]> | ||
- Janne Rönkkö <[email protected]> | ||
|
@@ -553,6 +556,7 @@ contributors: | |
- Arun Persaud <[email protected]> | ||
- Arthur Lutz <[email protected]> | ||
- Antonio Ossa <[email protected]> | ||
- Antonio <[email protected]> | ||
- Anthony VEREZ <[email protected]> | ||
- Anthony Tan <[email protected]> | ||
- Anthony Foglia <[email protected]> (Google): Added simple string slots check. | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
``pyreverse``: Support for the ``.vcg`` output format (Visualaization of Compiler Graphs) has been dropped. | ||
``pyreverse``: Support for the ``.vcg`` output format (Visualization of Compiler Graphs) has been dropped. | ||
|
||
Closes #8416 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Pylint now supports python 3.12. | ||
|
||
Refs #8718 |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[testoptions] | ||
min_pyver = 3.10 | ||
max_pyver = 3.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""This deprecated stdlib module is redundantly given by the user in the config.""" | ||
# pylint: disable-next=unused-import | ||
import imp # [deprecated-module] | ||
import optparse # [deprecated-module] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[Imports] | ||
deprecated-modules=imp | ||
deprecated-modules=optparse |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
deprecated-module:3:0:3:10::Deprecated module 'imp':UNDEFINED | ||
deprecated-module:3:0:3:15::Deprecated module 'optparse':UNDEFINED |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[testoptions] | ||
# https://github.com/python/cpython/issues/106762 | ||
max_pyver=3.12 |
2 changes: 2 additions & 0 deletions
2
tests/functional/r/regression_02/regression_distutil_import_error_73.rc
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[testoptions] | ||
max_pyver=3.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
"""A module that is accepted by Python but rejected by tokenize. | ||
|
||
The problem is the trailing line continuation at the end of the line, | ||
"""The problem is the trailing line continuation at the end of the line, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also rejected in Python since python/cpython#13401 |
||
which produces a TokenError.""" | ||
# +2: [syntax-error] | ||
""\ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
[testoptions] | ||
max_pyver=3.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
syntax-error:7:0:None:None::EOF in multi-line statement:UNDEFINED | ||
syntax-error:5:0:None:None::EOF in multi-line statement:HIGH |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"""The problem is the trailing line continuation at the end of the line, | ||
which produces a TokenError.""" | ||
# +1: [syntax-error] | ||
""\ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[testoptions] | ||
min_pyver=3.12 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
syntax-error:4:4:None:None::unexpected EOF in multi-line statement:HIGH |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
unhashable-member:8:0:8:2::'[1, 2, 3]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:9:0:9:2::'{}' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:10:0:10:2::'Unhashable()' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:11:0:11:2::"'1:2' is unhashable and can't be used as a key in a dict":INFERENCE | ||
unhashable-member:16:1:16:10::'[1, 2, 3]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:18:4:18:13::'[1, 2, 3]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:19:4:19:13::'[4, 5, 6]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:21:1:21:10::'[1, 2, 3]' is unhashable and can't be used as a member in a set:INFERENCE | ||
unhashable-member:15:1:15:10::'[1, 2, 3]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:17:4:17:13::'[1, 2, 3]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:18:4:18:13::'[4, 5, 6]' is unhashable and can't be used as a key in a dict:INFERENCE | ||
unhashable-member:20:1:20:10::'[1, 2, 3]' is unhashable and can't be used as a member in a set:INFERENCE |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"""slices can be used as dict keys from python 3.12""" | ||
var = {}[1:2] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[testoptions] | ||
min_pyver = 3.12 |
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.
This is slowly becoming very ugly :(