pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-test



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Sep  5 05:36:06 UTC 2025

Modified Files:
        pkgsrc/devel/py-test: Makefile distinfo

Log Message:
py-test: updated to 8.4.2

pytest 8.4.2 (2025-09-03)
Bug fixes
Fixed a crash when using console_output_style with times and a module is skipped.
Fixed a crash when using pytest.approx() and decimal.Decimal instances with the decimal.FloatOperation trap set.
No longer evaluate type annotations in Python 3.14 when inspecting function signatures.
This prevents crashes during module collection when modules do not explicitly use from __future__ import annotations and import types for annotations within a if TYPE_CHECKING: block.

Added missing int and float variants to the Literal type annotation of the type parameter in pytest.Parser.addini().
pytest.approx() now only imports numpy if NumPy is already in sys.modules. This fixes unconditional import behavior introduced in 8.4.0.
Improved documentation
Clarify that pytest_generate_tests is discovered in test modules/classes; other hooks must be in conftest.py or plugins.


To generate a diff of this commit:
cvs rdiff -u -r1.139 -r1.140 pkgsrc/devel/py-test/Makefile
cvs rdiff -u -r1.121 -r1.122 pkgsrc/devel/py-test/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-test/Makefile
diff -u pkgsrc/devel/py-test/Makefile:1.139 pkgsrc/devel/py-test/Makefile:1.140
--- pkgsrc/devel/py-test/Makefile:1.139 Mon Jun 30 20:09:32 2025
+++ pkgsrc/devel/py-test/Makefile       Fri Sep  5 05:36:06 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.139 2025/06/30 20:09:32 adam Exp $
+# $NetBSD: Makefile,v 1.140 2025/09/05 05:36:06 adam Exp $
 
-DISTNAME=      pytest-8.4.1
+DISTNAME=      pytest-8.4.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}

Index: pkgsrc/devel/py-test/distinfo
diff -u pkgsrc/devel/py-test/distinfo:1.121 pkgsrc/devel/py-test/distinfo:1.122
--- pkgsrc/devel/py-test/distinfo:1.121 Mon Jun 30 20:09:32 2025
+++ pkgsrc/devel/py-test/distinfo       Fri Sep  5 05:36:06 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.121 2025/06/30 20:09:32 adam Exp $
+$NetBSD: distinfo,v 1.122 2025/09/05 05:36:06 adam Exp $
 
-BLAKE2s (pytest-8.4.1.tar.gz) = e39af4df8eaff42b8a33d4459eb48825902fd9d7163b37c82a6c3a5bc58caa40
-SHA512 (pytest-8.4.1.tar.gz) = 1ed64a70e6b49f52364f4d08ca179a47bcd0a709c327c1666f6e5f909c723ce1e2ba56abe08cf1348f75c1fa447da71c4faac8e3e76adb0c563cf66267c8633a
-Size (pytest-8.4.1.tar.gz) = 1517714 bytes
+BLAKE2s (pytest-8.4.2.tar.gz) = 0197d65cb19787b58d3a081974ab22e97139f83430c051b635f7dfe490fbf17a
+SHA512 (pytest-8.4.2.tar.gz) = a6732666e7b59b2c28b47b1020a8381d31073cf9113086c562295429fddfa6b4ef2afda3cdcce0ec60bf60d038ad2bf8e921a2a409f3d56e31d94ca39e5ea81b
+Size (pytest-8.4.2.tar.gz) = 1519618 bytes



Home | Main Index | Thread Index | Old Index