Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
platform:
- "ubuntu-latest"

Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
with:
name: coverage-${{ matrix.python }}
path: .coverage.*
include-hidden-files: true
if-no-files-found: ignore

ruff:
Expand All @@ -57,7 +59,7 @@ jobs:
strategy:
matrix:
python:
- "3.12"
- "3.14"
platform:
- "ubuntu-latest"

Expand Down Expand Up @@ -96,7 +98,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: "3.14"
cache: pip
cache-dependency-path: |
**/pyproject.toml
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"pyelftools",
]
Expand Down Expand Up @@ -78,7 +79,7 @@ exclude_lines = [
local_scheme = "no-local-version"

[tool.ruff]
target-version = "py39"
target-version = "py311"
line-length = 88

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

[tool.mypy]
python_version = "3.10"
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true

Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0

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

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

[testenv:coverage-report]
description = Report coverage over all test runs.
basepython = py312
depends = py3{10,11,12}
basepython = py314
depends = py3{11,12,13,14}
deps = coverage[toml]
skip_install = true
parallel_show_output = true
Expand Down Expand Up @@ -50,6 +50,7 @@ skip_sdist = true

[gh]
python =
3.14 = py314
3.13 = py313
3.12 = py312
3.11 = py311
3.10 = py310
Loading