Skip to content

Commit e89ec94

Browse files
Dropped support for pytest 6 (#116)
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 5a0b74e commit e89ec94

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

.github/workflows/test.yml

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

61-
- name: Run tests with PyTest 6
62-
run: tox
63-
if: runner.os != 'Windows' && matrix.python-version != '3.14'
64-
env:
65-
PYTEST_MAJOR_VERSION: 6
66-
PYTEST_PLUGINS: pytest_github_actions_annotate_failures
67-
6861
post-test:
6962
name: All tests passed
7063
if: always()

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- Fix internal error when processing warnings #117
66
- Test on Python 3.14 #115
7+
- Require pytest 7+ #116
78

89
## 0.3.0 (2025-01-17)
910

pyproject.toml

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

4747
[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,314}-pytest{6,7,8}
3+
py{38,39,310,311,312,313,314}-pytest{7,8}
44

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

1515
[gh-actions:env]
1616
PYTEST_MAJOR_VERSION =
17-
6: pytest6
1817
7: pytest7
1918
8: pytest8
2019

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

0 commit comments

Comments
 (0)