Skip to content

Commit

Permalink
3.13, tox-uv, and flit-> hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
okken committed Feb 9, 2025
1 parent 54a7f39 commit c1391e8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ All notable changes to this project be documented in this file.
- nothing so far
-->
## [2.4.2] - 2025-Feb-8

### Modified
- Add testing for Python 3.13 to GH actions
- Add testing for Python 3.13 and 3.14 to tox.ini
- Switch packackaching from flit to hatchling

## [2.4.1] - 2024-Aug-27

Expand Down
15 changes: 10 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = [{name = "Brian Okken"}]
readme = "README.md"
license = {file = "LICENSE.txt"}
description="A pytest plugin that allows multiple failures per test."
version = "2.4.1"
version = "2.4.2"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
Expand All @@ -16,6 +16,7 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
]
Expand All @@ -28,11 +29,15 @@ Home = "https://github.com/okken/pytest-check"
check = "pytest_check.plugin"

[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.flit.module]
name = "pytest_check"
[project.optional-dependencies]
dev = [
"tox",
"tox-uv",
"build"
]

[tool.flit.sdist]
include = ["changelog.md", "examples", "tests", "tox.ini"]
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38, py39, py310, py311, py312, pytest_earliest, coverage, lint
envlist = py38, py39, py310, py311, py312, py313, py314, pytest_earliest, coverage, lint

skip_missing_interpreters = true

Expand All @@ -11,7 +11,7 @@ wheel_build_env = .pkg

[testenv:coverage]
deps = coverage
basepython = python3.12
basepython = python3.13
commands =
coverage run --source={envsitepackagesdir}/pytest_check,tests -m pytest
coverage report --fail-under=100 --show-missing
Expand All @@ -26,7 +26,7 @@ description = Run earliest supported pytest
[testenv:lint]
skip_install = true
deps = ruff
basepython = python3.12
basepython = python3.13
commands = ruff check src tests examples
description = Run ruff over src, test, exampless

Expand Down

0 comments on commit c1391e8

Please sign in to comment.