Skip to content

Commit 05e89e7

Browse files
authored
Merge pull request #2 from mikicz/feature/pytest-8
Support pytest 8
2 parents 516a484 + 07fa4ba commit 05e89e7

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,15 @@ jobs:
2020
tox_env: ${{ matrix.tox_env }}
2121
strategy:
2222
matrix:
23-
tox_env: [py39, py310, py311, py312]
23+
tox_env:
24+
- py39-pytest7
25+
- py39-pytest8
26+
- py310-pytest7
27+
- py310-pytest8
28+
- py311-pytest7
29+
- py311-pytest8
30+
- py312-pytest7
31+
- py312-pytest8
2432

2533
# Use GitHub's Linux Docker host
2634
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pytest-unused-fixtures"
3-
version = "0.1.4"
3+
version = "0.1.5"
44
description = "A pytest plugin to list unused fixtures after a test run."
55
authors = ["Mikuláš Poul <[email protected]>"]
66
license = "MIT"
@@ -28,7 +28,7 @@ pytest-unused-fixtures = "pytest_unused_fixtures"
2828

2929
[tool.poetry.dependencies]
3030
python = "^3.9"
31-
pytest = "^7.3.2"
31+
pytest = ">7.3.2"
3232

3333
[tool.poetry.group.dev.dependencies]
3434
black = "^23.7.0"

pytest_unused_fixtures/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .decorators import ignore_unused_fixture # noqa: F401
22
from .options import pytest_addoption, pytest_configure # noqa: F401
33

4-
__version__ = "0.1.2"
4+
__version__ = "0.1.5"

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[tox]
22
envlist =
3-
py{39,310,311,312}
3+
py{39,310,311,312}-pytest{7,8}
44
isolated_build = true
55

66
[testenv]
7-
deps = pytest
7+
deps=
8+
pytest7: pytest<8
9+
pytest8: pytest>8
810
commands = pytest {posargs}

0 commit comments

Comments
 (0)