Skip to content

Commit e37c871

Browse files
Drop support for Python 3.9
1 parent cb3f1a4 commit e37c871

File tree

10 files changed

+17
-16
lines changed

10 files changed

+17
-16
lines changed

.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.9", "3.10", "3.11", "3.12", "3.13"]
33+
python-version: ["3.10", "3.11", "3.12", "3.13"]
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.9", "3.10", "3.11", "3.12", "3.13"]
75+
python-version: ["3.10", "3.11", "3.12", "3.13"]
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.9", "3.13"]
32+
python-version: ["3.10", "3.13"]
3333
batches: [4]
3434
batchIdx: [0, 1, 2, 3]
3535
steps:

.github/workflows/primer_run_pr.yaml

Lines changed: 3 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.9", "3.13"]
41+
python-version: ["3.10", "3.13"]
4242
batches: [4]
4343
batchIdx: [0, 1, 2, 3]
4444
steps:
@@ -217,7 +217,8 @@ jobs:
217217
echo ${{ github.event.pull_request.number }} | tee pr_number.txt
218218
- name: Upload PR number
219219
if:
220-
startsWith(steps.python.outputs.python-version, '3.9') && matrix.batchIdx == 0
220+
startsWith(steps.python.outputs.python-version, '3.10') && matrix.batchIdx ==
221+
0
221222
uses: actions/[email protected]
222223
with:
223224
name: pr_number

.github/workflows/tests.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
os: [ubuntu-latest]
34-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
34+
python-version: ["3.10", "3.11", "3.12", "3.13"]
3535
include:
3636
- os: macos-latest
37-
python-version: "3.9"
38-
- os: ubuntu-latest
39-
python-version: "pypy-3.9"
37+
python-version: "3.10"
4038
- os: ubuntu-latest
4139
python-version: "pypy-3.10"
4240
- os: ubuntu-latest
@@ -190,7 +188,7 @@ jobs:
190188
strategy:
191189
fail-fast: false
192190
matrix:
193-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
191+
python-version: ["3.10", "3.11", "3.12", "3.13"]
194192
steps:
195193
- name: Set temp directory
196194
run: echo "TEMP=$env:USERPROFILE\AppData\Local\Temp" >> $env:GITHUB_ENV

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.9.0 and above.
48+
3.10.0 and above.
4949

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

doc/whatsnew/fragments/10405.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.9.
2+
Code that supports Python 3.9 can still be linted with the ``--py-version=3.9`` setting.
3+
4+
Refs #10405

pylintrc

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

5252
# Minimum supported python version
53-
py-version = 3.9.0
53+
py-version = 3.10.0
5454

5555
# Control the amount of potential inferred values when inferring a single
5656
# 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
@@ -13,15 +13,14 @@ license-files = [ "LICENSE", "CONTRIBUTORS.txt" ]
1313
authors = [
1414
{ name = "Python Code Quality Authority", email = "[email protected]" },
1515
]
16-
requires-python = ">=3.9.0"
16+
requires-python = ">=3.10.0"
1717
classifiers = [
1818
"Development Status :: 6 - Mature",
1919
"Environment :: Console",
2020
"Intended Audience :: Developers",
2121
"Operating System :: OS Independent",
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",

tests/primer/packages_to_prime.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"branch": "master",
3030
"directories": ["music21"],
3131
"pylintrc_relpath": ".pylintrc",
32-
"minimum_python": "3.10",
3332
"url": "https://github.com/cuthbertLab/music21"
3433
},
3534
"pandas": {

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, py39, py310, py311, py312, py313, pypy, benchmark
3+
envlist = formatting, py310, py311, py312, py313, pypy, benchmark
44
skip_missing_interpreters = true
55
requires = pip >=21.3.1
66
isolated_build = true

0 commit comments

Comments
 (0)