Skip to content

Commit fa35610

Browse files
Merge pull request #172 from pytest-dev/release-0.14.0
Release 0.14.0
2 parents 04094f7 + 7ac6f2f commit fa35610

File tree

7 files changed

+89
-59
lines changed

7 files changed

+89
-59
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
fail-fast: false
3333
matrix:
3434
os: ["ubuntu-latest", "windows-latest"]
35-
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
35+
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3636

3737
steps:
3838
- uses: actions/checkout@v4

CHANGELOG.rst

Lines changed: 82 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,35 @@
11
CHANGELOG
22
=========
33

4-
UNRELEASED
5-
----------
4+
0.14.0
5+
------
66

7-
* Fix output when using ``TestCase.skipTest`` (`#169`_).
7+
*2024-12-07*
88

9-
* Fix ``pytest`` requirement to ``>=7.3`` (`#159`_).
9+
* Add support for Python 3.13.
10+
11+
* Dropped support for EOL Python 3.8.
12+
13+
* Fixed output when using ``TestCase.skipTest`` (`#169`_).
14+
15+
* Fixed ``pytest`` requirement to ``>=7.3`` (`#159`_).
1016

1117
.. _#159: https://github.com/pytest-dev/pytest-subtests/issues/159
1218
.. _#169: https://github.com/pytest-dev/pytest-subtests/pull/169
1319

14-
0.13.1 (2024-07-16)
15-
-------------------
20+
0.13.1
21+
------
22+
23+
*2024-07-16*
1624

1725
* Fixed bug were an extra test would execute when ``-x/--exitfirst`` was used (`#139`_).
1826

1927
.. _#139: https://github.com/pytest-dev/pytest-subtests/pull/139
2028

21-
0.13.0 (2024-07-07)
22-
-------------------
29+
0.13.0
30+
------
31+
32+
*2024-07-07*
2333

2434
* Dropped support for EOL Python 3.7.
2535
* Added support for ``-x/--exitfirst`` (`#134`_).
@@ -28,15 +38,19 @@ UNRELEASED
2838
.. _#131: https://github.com/pytest-dev/pytest-subtests/pull/131
2939
.. _#134: https://github.com/pytest-dev/pytest-subtests/pull/134
3040

31-
0.12.1 (2024-03-07)
32-
-------------------
41+
0.12.1
42+
------
43+
44+
*2024-03-07*
3345

3446
* Fixed compatibility with upcoming pytest ``8.1.x``. (`#125`_).
3547

3648
.. _#125: https://github.com/pytest-dev/pytest-subtests/issues/125
3749

38-
0.12.0 (2024-03-06)
39-
-------------------
50+
0.12.0
51+
------
52+
53+
*2024-03-06*
4054

4155
* Python 3.12 is now officially supported (`#113`_).
4256
* Added typing support (`#115`_).
@@ -46,8 +60,10 @@ UNRELEASED
4660
.. _#115: https://github.com/pytest-dev/pytest-subtests/pull/115
4761

4862

49-
0.11.0 (2023-05-15)
50-
-------------------
63+
0.11.0
64+
------
65+
66+
*2023-05-15*
5167

5268
* Logging is displayed for failing subtests (`#92`_)
5369
* Passing subtests no longer turn the pytest output to yellow (as if warnings have been issued) (`#86`_). Thanks to `Andrew-Brock`_ for providing the solution.
@@ -59,32 +75,42 @@ UNRELEASED
5975

6076
.. _`Andrew-Brock`: https://github.com/Andrew-Brock
6177

62-
0.10.0 (2022-02-15)
63-
-------------------
78+
0.10.0
79+
------
80+
81+
*2022-02-15*
6482

6583
* Added experimental support for suppressing subtest output dots in non-verbose mode with ``--no-subtests-shortletter`` -- this allows the native pytest column calculations to not be disrupted and minimizes unneeded output for large CI systems.
6684

67-
0.9.0 (2022-10-28)
68-
------------------
85+
0.9.0
86+
-----
87+
88+
*2022-10-28*
6989

7090
* Python 3.11 is officially supported.
7191
* Dropped support for Python 3.6.
7292

73-
0.8.0 (2022-05-26)
74-
------------------
93+
0.8.0
94+
-----
95+
96+
*2022-05-26*
7597

7698
* Now passing subtests are shown in the test run summary at the end (for example: ``10 failed, 1 passed, 10 subtests passed in 0.10s``) (`#70`_).
7799

78100
.. _#70: https://github.com/pytest-dev/pytest-subtests/pull/70
79101

80-
0.7.0 (2022-02-13)
81-
------------------
102+
0.7.0
103+
-----
104+
105+
*2022-02-13*
82106

83107
* Fixed support for pytest 7.0, and ``pytest>=7.0`` is now required.
84108

85109

86-
0.6.0 (2022-01-15)
87-
------------------
110+
0.6.0
111+
-----
112+
113+
*2022-01-15*
88114

89115
* ``pytest>=6.0`` is now required.
90116
* Added official support for Python 3.10.
@@ -96,51 +122,67 @@ UNRELEASED
96122
.. _#30: https://github.com/pytest-dev/pytest-subtests/pull/30
97123
.. _#52: https://github.com/pytest-dev/pytest-subtests/pull/52
98124

99-
0.5.0 (2021-05-29)
100-
------------------
125+
0.5.0
126+
-----
127+
128+
*2021-05-29*
101129

102130
* Added support for ``pytest.mark.xfail`` (`#40`_).
103131

104132
.. _#40: https://github.com/pytest-dev/pytest-subtests/pull/40
105133

106-
0.4.0 (2020-12-13)
107-
------------------
134+
0.4.0
135+
-----
136+
137+
*2020-12-13*
108138

109139
* Added support for ``--pdb`` (`#22`_).
110140

111141
.. _#22: https://github.com/pytest-dev/pytest-subtests/issues/22
112142

113-
0.3.2 (2020-08-01)
114-
------------------
143+
0.3.2
144+
-----
145+
146+
*2020-08-01*
115147

116148
* Fixed pytest 6.0 support.
117149

118-
0.3.1 (2020-05-20)
119-
------------------
150+
0.3.1
151+
-----
152+
153+
*2020-05-20*
120154

121155
* Fixed pytest 5.4 support.
122156

123-
0.3.0 (2020-01-22)
124-
------------------
157+
0.3.0
158+
-----
159+
160+
*2020-01-22*
125161

126162
* Dropped support for Python 3.4.
127163
* ``subtests`` now correctly captures and displays stdout/stderr (`#18`_).
128164

129165
.. _#18: https://github.com/pytest-dev/pytest-subtests/issues/18
130166

131-
0.2.1 (2019-04-04)
132-
------------------
167+
0.2.1
168+
-----
169+
170+
*2019-04-04*
133171

134172
* Fixed verbose output reporting on Linux (`#7`_).
135173

136174
.. _#7: https://github.com/pytest-dev/pytest-subtests/issues/7
137175

138-
0.2.0 (2019-04-03)
139-
------------------
176+
0.2.0
177+
-----
178+
179+
*2019-04-03*
140180

141181
* Subtests are correctly reported with ``pytest-xdist>=1.28``.
142182

143-
0.1.0 (2019-04-01)
144-
------------------
183+
0.1.0
184+
-----
185+
186+
*2019-04-01*
145187

146188
* First release to PyPI.

README.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,7 @@ unittest subTest() example
147147
148148
Contributing
149149
------------
150-
Contributions are very welcome. Tests can be run with `tox`_:
151-
152-
.. code-block::
153-
154-
tox -e py37
150+
Contributions are very welcome. Tests can be run with `tox`_.
155151

156152
License
157153
-------

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ classifiers =
1414
Topic :: Software Development :: Testing
1515
Programming Language :: Python
1616
Programming Language :: Python :: 3
17-
Programming Language :: Python :: 3.8
1817
Programming Language :: Python :: 3.9
1918
Programming Language :: Python :: 3.10
2019
Programming Language :: Python :: 3.11
2120
Programming Language :: Python :: 3.12
21+
Programming Language :: Python :: 3.13
2222
Programming Language :: Python :: Implementation :: CPython
2323
Operating System :: OS Independent
2424
License :: OSI Approved :: MIT License
@@ -29,8 +29,7 @@ keywords = test, unittest, pytest
2929
install_requires =
3030
attrs>=19.2.0
3131
pytest>=7.4
32-
typing_extensions;python_version<"3.8"
33-
python_requires = >=3.7
32+
python_requires = >=3.9
3433
packages = find:
3534
package_dir =
3635
= src

src/pytest_subtests/plugin.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,7 @@
3434
if TYPE_CHECKING:
3535
from types import TracebackType
3636

37-
if sys.version_info < (3, 8):
38-
from typing_extensions import Literal
39-
else:
40-
from typing import Literal
37+
from typing import Literal
4138

4239

4340
def pytest_addoption(parser: pytest.Parser) -> None:

tests/test_subtests.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@
22

33
import sys
44
from pathlib import Path
5+
from typing import Literal
56

67
import pytest
78

89
IS_PY311 = sys.version_info[:2] >= (3, 11)
910

10-
if sys.version_info < (3, 8):
11-
from typing_extensions import Literal
12-
else:
13-
from typing import Literal
14-
1511

1612
@pytest.mark.parametrize("mode", ["normal", "xdist"])
1713
class TestFixture:

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py38,py39,py310,py311,py312
2+
envlist = py39,py310,py311,py312,py313
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)