pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test py-test: updated to 7.1.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/466dc2980293
branches:  trunk
changeset: 384611:466dc2980293
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Sep 02 14:47:15 2022 +0000

description:
py-test: updated to 7.1.3

pytest 7.1.3 (2022-08-31)

Bug Fixes
---------
- When running with ``--pdb``, ``TestCase.tearDown`` is no longer called for tests when the *class* has been skipped via ``unittest.skip`` or ``pytest.mark.skip``.
- Invalid XML characters in setup or teardown error messages are now properly escaped for JUnit XML reports.
- Ignore ``.py`` files created by ``pyproject.toml``-based editable builds introduced in `pip 21.3 <https://pip.pypa.io/en/stable/news/#v21-3>`__.
- Doctests now respect the ``--import-mode`` flag.
- Type-annotate ``FixtureRequest.param`` as ``Any`` as a stop gap measure until :issue:`8073` is fixed.
- Fixed a path handling code in ``rewrite.py`` that seems to work fine, but was incorrect and fails in some systems.
- Fixed string representation for :func:`pytest.approx` when used to compare tuples.

Improved Documentation
----------------------
- Explicit note that :fixture:`tmpdir` fixture is discouraged in favour of :fixture:`tmp_path`.

Trivial/Internal Changes
------------------------
- Replace `atomicwrites <https://github.com/untitaker/python-atomicwrites>`__ dependency on windows with `os.replace`.

diffstat:

 devel/py-test/Makefile |  4 ++--
 devel/py-test/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r f420413ebbe0 -r 466dc2980293 devel/py-test/Makefile
--- a/devel/py-test/Makefile    Fri Sep 02 14:44:55 2022 +0000
+++ b/devel/py-test/Makefile    Fri Sep 02 14:47:15 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.108 2022/04/24 16:50:54 adam Exp $
+# $NetBSD: Makefile,v 1.109 2022/09/02 14:47:15 adam Exp $
 
-DISTNAME=      pytest-7.1.2
+DISTNAME=      pytest-7.1.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest/}
diff -r f420413ebbe0 -r 466dc2980293 devel/py-test/distinfo
--- a/devel/py-test/distinfo    Fri Sep 02 14:44:55 2022 +0000
+++ b/devel/py-test/distinfo    Fri Sep 02 14:47:15 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.95 2022/04/24 16:50:54 adam Exp $
+$NetBSD: distinfo,v 1.96 2022/09/02 14:47:15 adam Exp $
 
-BLAKE2s (pytest-7.1.2.tar.gz) = 0a2526fe5bec32dc19ecf64b7b91b371a296610448c06faf8f2e6a9062f43975
-SHA512 (pytest-7.1.2.tar.gz) = e61c9b0a8fc053626da307d6bac1f5caab451c4948ef7c7f2e2f991c3433a55f81ec0d9412fca646c02f22e695c71e873ee48fc0ab0aad337ce01b70628df494
-Size (pytest-7.1.2.tar.gz) = 1256241 bytes
+BLAKE2s (pytest-7.1.3.tar.gz) = f703c39c484005c4a2acaa5285efbf150acddde4cdc987653b48e9e84c19fef5
+SHA512 (pytest-7.1.3.tar.gz) = 07a6b30fc90776dcd59972e2e4fc03ba02270bf1460faba765bfcf8b04888797be15a16a2ae947d97eb523250be200297d8a442870b3b6d56ae776b28fd18dce
+Size (pytest-7.1.3.tar.gz) = 1257801 bytes



Home | Main Index | Thread Index | Old Index