Skip to content

Commit c1391e8

Browse files
committed
3.13, tox-uv, and flit-> hatch
1 parent 54a7f39 commit c1391e8

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19+
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
2020

2121
steps:
2222
- uses: actions/checkout@v3

changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ All notable changes to this project be documented in this file.
1919
- nothing so far
2020
2121
-->
22+
## [2.4.2] - 2025-Feb-8
23+
24+
### Modified
25+
- Add testing for Python 3.13 to GH actions
26+
- Add testing for Python 3.13 and 3.14 to tox.ini
27+
- Switch packackaching from flit to hatchling
2228

2329
## [2.4.1] - 2024-Aug-27
2430

pyproject.toml

+10-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authors = [{name = "Brian Okken"}]
44
readme = "README.md"
55
license = {file = "LICENSE.txt"}
66
description="A pytest plugin that allows multiple failures per test."
7-
version = "2.4.1"
7+
version = "2.4.2"
88
requires-python = ">=3.8"
99
classifiers = [
1010
"License :: OSI Approved :: MIT License",
@@ -16,6 +16,7 @@ classifiers = [
1616
'Programming Language :: Python :: 3.10',
1717
'Programming Language :: Python :: 3.11',
1818
'Programming Language :: Python :: 3.12',
19+
'Programming Language :: Python :: 3.13',
1920
'Topic :: Software Development :: Testing',
2021
'Topic :: Utilities',
2122
]
@@ -28,11 +29,15 @@ Home = "https://github.com/okken/pytest-check"
2829
check = "pytest_check.plugin"
2930

3031
[build-system]
31-
requires = ["flit_core >=3.2,<4"]
32-
build-backend = "flit_core.buildapi"
32+
requires = ["hatchling"]
33+
build-backend = "hatchling.build"
3334

34-
[tool.flit.module]
35-
name = "pytest_check"
35+
[project.optional-dependencies]
36+
dev = [
37+
"tox",
38+
"tox-uv",
39+
"build"
40+
]
3641

3742
[tool.flit.sdist]
3843
include = ["changelog.md", "examples", "tests", "tox.ini"]

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38, py39, py310, py311, py312, pytest_earliest, coverage, lint
2+
envlist = py38, py39, py310, py311, py312, py313, py314, pytest_earliest, coverage, lint
33

44
skip_missing_interpreters = true
55

@@ -11,7 +11,7 @@ wheel_build_env = .pkg
1111

1212
[testenv:coverage]
1313
deps = coverage
14-
basepython = python3.12
14+
basepython = python3.13
1515
commands =
1616
coverage run --source={envsitepackagesdir}/pytest_check,tests -m pytest
1717
coverage report --fail-under=100 --show-missing
@@ -26,7 +26,7 @@ description = Run earliest supported pytest
2626
[testenv:lint]
2727
skip_install = true
2828
deps = ruff
29-
basepython = python3.12
29+
basepython = python3.13
3030
commands = ruff check src tests examples
3131
description = Run ruff over src, test, exampless
3232

0 commit comments

Comments
 (0)