Skip to content

Commit

Permalink
Merge pull request #168 from okken/okken_default_312
Browse files Browse the repository at this point in the history
drop 3.7, add 3.12, tox-uv
  • Loading branch information
okken authored Aug 27, 2024
2 parents a7acdc5 + d4073a7 commit 5375e25
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .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.7", "3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand All @@ -25,6 +25,6 @@ jobs:
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
run: pip install tox
run: pip install tox tox-uv
- name: Run Tox
run: tox -e py
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ All notable changes to this project be documented in this file.
-->

## [2.4.0] - 2024-Aug-27

### Modified
- Drop Python 3.7
- Add testing for Python 3.12
- Add tox-uv to tox.ini and main.yml

## [2.3.1] - 2024-Jan-18

### Modified
Expand Down
13 changes: 11 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@ authors = [{name = "Brian Okken"}]
readme = "README.md"
license = {file = "LICENSE.txt"}
description="A pytest plugin that allows multiple failures per test."
version = "2.3.1"
requires-python = ">=3.7"
version = "2.4.0"
requires-python = ">=3.8"
classifiers = [
"License :: OSI Approved :: MIT License",
"Framework :: Pytest" ,
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
]
dependencies = ["pytest>=7.0.0"]

Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37, py38, py39, py310, py311, py312, pytest_earliest, coverage, lint
envlist = py38, py39, py310, py311, py312, pytest_earliest, coverage, lint

skip_missing_interpreters = true

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

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

[pytest]
Expand Down

0 comments on commit 5375e25

Please sign in to comment.