Skip to content

Commit aaab121

Browse files
authored
chore: Drop Python 3.10, test on 3.13 and 3.14 (#9)
Drop support for Python 3.10. Add 3.13 and 3.14 to test matrix. Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent 393477f commit aaab121

3 files changed

Lines changed: 15 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
strategy:
1717
matrix:
1818
python:
19-
- "3.10"
2019
- "3.11"
2120
- "3.12"
21+
- "3.13"
22+
- "3.14"
2223
platform:
2324
- "ubuntu-latest"
2425

@@ -58,7 +59,7 @@ jobs:
5859
strategy:
5960
matrix:
6061
python:
61-
- "3.12"
62+
- "3.14"
6263
platform:
6364
- "ubuntu-latest"
6465

@@ -97,7 +98,7 @@ jobs:
9798
- name: Set up Python
9899
uses: actions/setup-python@v5
99100
with:
100-
python-version: 3.12
101+
python-version: "3.14"
101102
cache: pip
102103
cache-dependency-path: |
103104
**/pyproject.toml

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,14 @@ classifiers = [
2222
"Programming Language :: Python",
2323
"Programming Language :: Python :: 3",
2424
"Programming Language :: Python :: 3 :: Only",
25-
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",
2726
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
28+
"Programming Language :: Python :: 3.14",
2829
"Programming Language :: Python :: Implementation :: CPython",
2930
"Topic :: Utilities",
3031
]
31-
requires-python = ">=3.10"
32+
requires-python = ">=3.11"
3233
dependencies = [
3334
"pyelftools",
3435
]
@@ -78,7 +79,7 @@ exclude_lines = [
7879
local_scheme = "no-local-version"
7980

8081
[tool.ruff]
81-
target-version = "py39"
82+
target-version = "py311"
8283
line-length = 88
8384

8485
[tool.ruff.lint]
@@ -103,7 +104,7 @@ select = [
103104
known-first-party = ["elfdeps"]
104105

105106
[tool.mypy]
106-
python_version = "3.10"
107+
python_version = "3.11"
107108
warn_return_any = true
108109
warn_unused_configs = true
109110

tox.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: Apache-2.0
22

33
[tox]
4-
envlist=py3{10,11,12},lint,coverage-report
4+
envlist=py3{11,12,13,14},lint,coverage-report
55

66
[testenv]
77
package = wheel
@@ -10,14 +10,14 @@ extras = test
1010
set_env =
1111
COVERAGE_PROCESS_START={toxinidir}/pyproject.toml
1212
commands_pre =
13-
py3{10,11,12}: {envpython} -c 'import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")'
13+
py3{11,12,13,14}: {envpython} -c 'import pathlib; pathlib.Path("{env_site_packages_dir}/cov.pth").write_text("import coverage; coverage.process_startup()")'
1414
commands =
1515
coverage run -m pytest {posargs:tests}
1616

1717
[testenv:coverage-report]
1818
description = Report coverage over all test runs.
19-
basepython = py312
20-
depends = py3{10,11,12}
19+
basepython = py314
20+
depends = py3{11,12,13,14}
2121
deps = coverage[toml]
2222
skip_install = true
2323
parallel_show_output = true
@@ -50,6 +50,7 @@ skip_sdist = true
5050

5151
[gh]
5252
python =
53+
3.14 = py314
54+
3.13 = py313
5355
3.12 = py312
5456
3.11 = py311
55-
3.10 = py310

0 commit comments

Comments
 (0)