Skip to content

Commit 94de685

Browse files
Dropped support for pytest 6
According to the [ClickPy data for pytest](https://clickpy.clickhouse.com/dashboard/pytest?min_date=2025-01-01&max_date=2025-10-07), pytest v6 represents a very small fraction of downloads, so I think it's fine to remove support for it.
1 parent 383151e commit 94de685

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,6 @@ jobs:
5656
PYTEST_MAJOR_VERSION: 7
5757
PYTEST_PLUGINS: pytest_github_actions_annotate_failures
5858

59-
- name: Run tests with PyTest 6
60-
run: tox
61-
if: runner.os != 'Windows'
62-
env:
63-
PYTEST_MAJOR_VERSION: 6
64-
PYTEST_PLUGINS: pytest_github_actions_annotate_failures
65-
6659
post-test:
6760
name: All tests passed
6861
if: always()

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Unreleased
44

5-
Nothing yet.
5+
- Require pytest 7+ #116
66

77
## 0.3.0 (2025-01-17)
88

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ classifiers = [
4040
]
4141
keywords = ["ansible", "testing", "molecule", "plugin"]
4242
dependencies = [
43-
"pytest>=6.0.0"
43+
"pytest>=7.0.0"
4444
]
4545

4646
[project.urls]

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312,313}-pytest{6,7,8}
3+
py{38,39,310,311,312,313}-pytest{7,8}
44

55
[gh-actions]
66
python =
@@ -13,15 +13,13 @@ python =
1313

1414
[gh-actions:env]
1515
PYTEST_MAJOR_VERSION =
16-
6: pytest6
1716
7: pytest7
1817
8: pytest8
1918

2019
[testenv]
2120
min_version = 4.22.0
2221
groups = test
2322
deps =
24-
pytest6: pytest>=6.0.0,<7.0.0
2523
pytest7: pytest>=7.0.0,<8.0.0
2624
pytest8: pytest>=8.0.0,<9.0.0
2725

0 commit comments

Comments
 (0)