Skip to content

Commit 83244c0

Browse files
Drop support for Python 3.8
1 parent d83fb24 commit 83244c0

File tree

11 files changed

+22
-19
lines changed

11 files changed

+22
-19
lines changed

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ body:
8181
label: Pylint version
8282
description: >-
8383
Please copy and paste the result of `pylint --version` or specify the range of
84-
version affected.
84+
versions affected.
8585
placeholder: |
86-
pylint 2.9.6
87-
astroid 2.6.5
88-
Python 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
86+
pylint 3.3.0
87+
astroid 3.3.0
88+
Python 3.12.0 (v3.12.0:0fb18b02c8, Oct 2 2023, 09:45:56)
8989
render: shell
9090
validations:
9191
required: true

.github/workflows/primer-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
timeout-minutes: 5
3131
strategy:
3232
matrix:
33-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
33+
python-version: [3.9, "3.10", "3.11", "3.12"]
3434
outputs:
3535
python-key: ${{ steps.generate-python-key.outputs.key }}
3636
steps:
@@ -72,7 +72,7 @@ jobs:
7272
needs: prepare-tests-linux
7373
strategy:
7474
matrix:
75-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
75+
python-version: [3.9, "3.10", "3.11", "3.12"]
7676
steps:
7777
- name: Check out code from GitHub
7878
uses: actions/[email protected]

.github/workflows/primer_run_main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
timeout-minutes: 45
3030
strategy:
3131
matrix:
32-
python-version: ["3.8", "3.12"]
32+
python-version: ["3.9", "3.12"]
3333
batches: [4]
3434
batchIdx: [0, 1, 2, 3]
3535
steps:

.github/workflows/primer_run_pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
timeout-minutes: 45
3939
strategy:
4040
matrix:
41-
python-version: ["3.8", "3.12"]
41+
python-version: ["3.9", "3.12"]
4242
batches: [4]
4343
batchIdx: [0, 1, 2, 3]
4444
steps:
@@ -198,7 +198,7 @@ jobs:
198198
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
199199
- name: Upload PR number
200200
if:
201-
startsWith(steps.python.outputs.python-version, '3.8') && matrix.batchIdx == 0
201+
startsWith(steps.python.outputs.python-version, '3.9') && matrix.batchIdx == 0
202202
uses: actions/[email protected]
203203
with:
204204
name: pr_number

.github/workflows/tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
34+
python-version: [3.9, "3.10", "3.11", "3.12"]
3535
outputs:
3636
python-key: ${{ steps.generate-python-key.outputs.key }}
3737
steps:
@@ -175,7 +175,7 @@ jobs:
175175
strategy:
176176
fail-fast: false
177177
matrix:
178-
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
178+
python-version: [3.9, "3.10", "3.11", "3.12"]
179179
steps:
180180
- name: Set temp directory
181181
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV
@@ -225,7 +225,7 @@ jobs:
225225
fail-fast: false
226226
matrix:
227227
# We only run on the oldest supported version on Mac
228-
python-version: [3.8]
228+
python-version: [3.9]
229229
steps:
230230
- name: Check out code from GitHub
231231
uses: actions/[email protected]
@@ -269,7 +269,7 @@ jobs:
269269
strategy:
270270
fail-fast: false
271271
matrix:
272-
python-version: ["pypy-3.8", "pypy-3.9", "pypy-3.10"]
272+
python-version: ["pypy-3.9", "pypy-3.10"]
273273
steps:
274274
- name: Check out code from GitHub
275275
uses: actions/[email protected]

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ What is Pylint?
4545
---------------
4646

4747
Pylint is a `static code analyser`_ for Python 2 or 3. The latest version supports Python
48-
3.8.0 and above.
48+
3.9.0 and above.
4949

5050
.. _`static code analyser`: https://en.wikipedia.org/wiki/Static_code_analysis
5151

doc/development_guide/contributor_guide/tests/launching_test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tox
3030
You can also *optionally* install tox_ and run our tests using the tox_ package, as in::
3131

3232
python -m tox
33-
python -m tox -epy38 # for Python 3.8 suite only
33+
python -m tox -epy312 # for Python 3.12 suite only
3434
python -m tox -epylint # for running Pylint over Pylint's codebase
3535
python -m tox -eformatting # for running formatting checks over Pylint's codebase
3636

doc/whatsnew/fragments/9774.other

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Remove support for launching pylint with Python 3.8.
2+
Code that supports Python 3.8 can still be linted with the ``--py-version=3.8`` setting.
3+
4+
Refs #9774

pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ unsafe-load-any-extension=no
5454
extension-pkg-allow-list=
5555

5656
# Minimum supported python version
57-
py-version = 3.8.0
57+
py-version = 3.9.0
5858

5959
# Control the amount of potential inferred values when inferring a single
6060
# object. This can help the performance when dealing with large functions or

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers = [
2020
"Programming Language :: Python",
2121
"Programming Language :: Python :: 3",
2222
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
@@ -32,7 +31,7 @@ classifiers = [
3231
"Topic :: Software Development :: Testing",
3332
"Typing :: Typed"
3433
]
35-
requires-python = ">=3.8.0"
34+
requires-python = ">=3.9.0"
3635
dependencies = [
3736
"dill>=0.2;python_version<'3.11'",
3837
"dill>=0.3.6;python_version>='3.11'",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion = 3.0
3-
envlist = formatting, py38, py39, py310, py311, py312, pypy, benchmark
3+
envlist = formatting, py39, py310, py311, py312, pypy, benchmark
44
skip_missing_interpreters = true
55
requires = pip >=21.3.1
66
isolated_build = true

0 commit comments

Comments
 (0)