pytest-tap 3.5__tar.gz → 3.6__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ Contributors
9
9
  * Erik Cederstrand
10
10
  * Frédéric Mangano-Tarumi
11
11
  * Greg Sadetsky
12
+ * Karel Kočí
12
13
  * Matt Layman
13
14
  * Måns Ansgariusson - ARM Sweden
14
15
  * meejah (https://meejah.ca)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: pytest-tap
3
- Version: 3.5
3
+ Version: 3.6
4
4
  Summary: Test Anything Protocol (TAP) reporting plugin for pytest
5
5
  Author-email: Matt Layman <matthewlayman@gmail.com>
6
6
  License: BSD
@@ -12,13 +12,13 @@ Classifier: Framework :: Pytest
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: License :: OSI Approved :: BSD License
14
14
  Classifier: Operating System :: OS Independent
15
- Classifier: Programming Language :: Python :: 3.9
16
- Classifier: Programming Language :: Python :: 3.10
17
15
  Classifier: Programming Language :: Python :: 3.11
18
16
  Classifier: Programming Language :: Python :: 3.12
19
17
  Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
20
  Classifier: Topic :: Software Development :: Testing
21
- Requires-Python: >=3.9
21
+ Requires-Python: >=3.11
22
22
  Requires-Dist: pytest>=3.0
23
23
  Requires-Dist: tap-py<4.0,>=3.2
24
24
  Description-Content-Type: text/x-rst
@@ -37,6 +37,17 @@ Additional developer documentation about Python and TAP is on
37
37
  Releases
38
38
  ========
39
39
 
40
+ Version 3.6, November 10, 2026
41
+ -------------------------------
42
+
43
+ * Drop support for Python 3.9 and 3.10 (they are end-of-life).
44
+ * Add support for Python 3.14 and 3.15.
45
+ * Fix compatibility with pytest 9.2 when registering the deprecated
46
+ ``--tap-stream`` option.
47
+ * Fix the wheel so that it includes the ``pytest_tap`` package.
48
+ * Include ``conftest.py`` in the source distribution so downstream packagers
49
+ can run the test suite from the published archive.
50
+
40
51
  Version 3.5, January 30, 2025
41
52
  -----------------------------
42
53
 
@@ -0,0 +1,36 @@
1
+ import pytest
2
+
3
+ pytest_plugins = ["pytester"]
4
+
5
+
6
+ @pytest.fixture
7
+ def sample_test_file(testdir):
8
+ testdir.makepyfile(
9
+ """
10
+ import pytest
11
+ import logging
12
+
13
+ LOGGER = logging.getLogger(__name__)
14
+
15
+ def test_ok():
16
+ LOGGER.info("Running test_ok")
17
+ LOGGER.debug("Debug logging info")
18
+ assert True
19
+
20
+ def test_not_ok():
21
+ LOGGER.error("Running test_not_ok")
22
+ assert False
23
+
24
+ @pytest.mark.parametrize('param', ("foo", "bar"))
25
+ def test_params(param):
26
+ assert True
27
+
28
+ @pytest.mark.skip(reason='some reason')
29
+ def test_skipped():
30
+ assert False
31
+
32
+ @pytest.mark.xfail(reason='a reason')
33
+ def test_broken():
34
+ assert False
35
+ """
36
+ )
@@ -12,6 +12,17 @@ Additional developer documentation about Python and TAP is on
12
12
  Releases
13
13
  ========
14
14
 
15
+ Version 3.6, November 10, 2026
16
+ -------------------------------
17
+
18
+ * Drop support for Python 3.9 and 3.10 (they are end-of-life).
19
+ * Add support for Python 3.14 and 3.15.
20
+ * Fix compatibility with pytest 9.2 when registering the deprecated
21
+ ``--tap-stream`` option.
22
+ * Fix the wheel so that it includes the ``pytest_tap`` package.
23
+ * Include ``conftest.py`` in the source distribution so downstream packagers
24
+ can run the test suite from the published archive.
25
+
15
26
  Version 3.5, January 30, 2025
16
27
  -----------------------------
17
28
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytest-tap"
3
- version = "3.5"
3
+ version = "3.6"
4
4
  description = "Test Anything Protocol (TAP) reporting plugin for pytest"
5
5
  readme = "docs/releases.rst"
6
6
  authors = [
@@ -12,7 +12,7 @@ dependencies = [
12
12
  "pytest>=3.0",
13
13
  "tap.py>=3.2,<4.0"
14
14
  ]
15
- requires-python = ">=3.9"
15
+ requires-python = ">=3.11"
16
16
  keywords = ["TAP", "unittest", "pytest"]
17
17
  classifiers = [
18
18
  "Development Status :: 5 - Production/Stable",
@@ -20,11 +20,11 @@ classifiers = [
20
20
  "Intended Audience :: Developers",
21
21
  "License :: OSI Approved :: BSD License",
22
22
  "Operating System :: OS Independent",
23
- "Programming Language :: Python :: 3.9",
24
- "Programming Language :: Python :: 3.10",
25
23
  "Programming Language :: Python :: 3.11",
26
24
  "Programming Language :: Python :: 3.12",
27
25
  "Programming Language :: Python :: 3.13",
26
+ "Programming Language :: Python :: 3.14",
27
+ "Programming Language :: Python :: 3.15",
28
28
  "Topic :: Software Development :: Testing"
29
29
  ]
30
30
 
@@ -46,12 +46,11 @@ include = [
46
46
  "/src",
47
47
  "/docs",
48
48
  "/tests",
49
+ "/conftest.py",
49
50
  ]
50
- sources = ["src"]
51
51
 
52
52
  [tool.hatch.build.targets.wheel]
53
- sources = ["src"]
54
- packages = ["pytest_tap"]
53
+ packages = ["src/pytest_tap"]
55
54
 
56
55
  [tool.pytest.ini_options]
57
56
  pythonpath = [".", "src"]
@@ -0,0 +1 @@
1
+ __version__ = "3.6"
@@ -131,7 +131,11 @@ def pytest_addoption(parser):
131
131
  )
132
132
  # Deprecated, but keeping for backwards compatibility.
133
133
  group.addoption(
134
- "--tap-stream", default=False, action="store_true", help=argparse.SUPPRESS
134
+ "--tap-stream",
135
+ default=False,
136
+ dest="tap_stream",
137
+ action="store_true",
138
+ help=argparse.SUPPRESS,
135
139
  )
136
140
  group.addoption(
137
141
  "--tap-files",
@@ -1 +0,0 @@
1
- __version__ = "3.5"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes