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 Apr 10 04:01:52 UTC 2026

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

Log Message:
py-test: updated to 9.0.3

pytest 9.0.3 (2026-04-07)

Bug fixes

* Fixed pytest.approx() which now correctly takes into account Mapping keys order to compare them.
* Blocking a conftest.py file using the -p no: option is now explicitly disallowed.
Previously this resulted in an internal assertion failure during plugin loading.

Pytest now raises a clear UsageError explaining that conftest files are not plugins and cannot be disabled via -p.

* Fixed crash when a test raises an exceptiongroup with __tracebackhide__ = True.
* Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.
* Fixed use of insecure temporary directory (CVE-2025-71176).

Improved documentation

* Clarified documentation for -p vs PYTEST_PLUGINS plugin loading and fixed an incorrect -p example.
* Clarified that capture fixtures (e.g. capsys and capfd) take precedence over the -s / --capture=no command-line options in Accessing captured output from a test function.
* Clarified that the default pytest_collection hook sets session.items before it calls pytest_collection_finish, not after.
* TOML integer log levels must be quoted: Updating reference documentation.
Contributor-facing changes
* The test reports are now published to Codecov from GitHub Actions. The test statistics is visible on the web interface.


To generate a diff of this commit:
cvs rdiff -u -r1.143 -r1.144 pkgsrc/devel/py-test/Makefile
cvs rdiff -u -r1.125 -r1.126 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.143 pkgsrc/devel/py-test/Makefile:1.144
--- pkgsrc/devel/py-test/Makefile:1.143 Sun Dec  7 08:23:20 2025
+++ pkgsrc/devel/py-test/Makefile       Fri Apr 10 04:01:52 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.143 2025/12/07 08:23:20 adam Exp $
+# $NetBSD: Makefile,v 1.144 2026/04/10 04:01:52 adam Exp $
 
-DISTNAME=      pytest-9.0.2
+DISTNAME=      pytest-9.0.3
 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.125 pkgsrc/devel/py-test/distinfo:1.126
--- pkgsrc/devel/py-test/distinfo:1.125 Sun Dec  7 08:23:20 2025
+++ pkgsrc/devel/py-test/distinfo       Fri Apr 10 04:01:52 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.125 2025/12/07 08:23:20 adam Exp $
+$NetBSD: distinfo,v 1.126 2026/04/10 04:01:52 adam Exp $
 
-BLAKE2s (pytest-9.0.2.tar.gz) = fa471b910e2ac447165f09ddf08dce7f91d1c2281ccfdb8424b39c380b40c12f
-SHA512 (pytest-9.0.2.tar.gz) = 4f8177b30e39a644763d3e37a78d28d2e8b40e47a834862096571255279adfde22278d27801e36e366cc49e7ab59c38a0f4597b9f5b4c3e45912bd046ef214c9
-Size (pytest-9.0.2.tar.gz) = 1568901 bytes
+BLAKE2s (pytest-9.0.3.tar.gz) = 1454a240ac78aa787651c5884975e04bdfea649af40167f514f5a88461ec8656
+SHA512 (pytest-9.0.3.tar.gz) = 228908e1f9718c418b5e118e7c49cb4b998b907982e277f29cdd13199383425cce9c7cee3275440bb1d0b0ae68b4a88443ef3400f506e9b787fc4d816bc47003
+Size (pytest-9.0.3.tar.gz) = 1572165 bytes



Home | Main Index | Thread Index | Old Index