Mon Sep 11 09:30:20 2023 UTC ()
py-typeguard: updated to 4.1.4

4.1.4

- Fixed ``AttributeError`` where the transformer removed elements from a PEP 604 union
- Fixed ``AttributeError: 'Subscript' object has no attribute 'slice'`` when
  encountering an annotation with a subscript containing an ignored type (imported
  within an ``if TYPE_CHECKING:`` block)
- Fixed type checking not being skipped when the target is a union (PEP 604 or
  ``typing.Union``) where one of the elements is an ignored type (shadowed by an
  argument, variable assignment or an ``if TYPE_CHECKING`` import)
- Fixed type checking of class instances created in ``__new__()`` in cases such as enums
  where this method is already invoked before the class has finished initializing


(adam)
diff -r1.7 -r1.8 pkgsrc/devel/py-typeguard/Makefile
diff -r1.6 -r1.7 pkgsrc/devel/py-typeguard/distinfo

cvs diff -r1.7 -r1.8 pkgsrc/devel/py-typeguard/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-typeguard/Makefile 2023/08/27 02:50:34 1.7
+++ pkgsrc/devel/py-typeguard/Makefile 2023/09/11 09:30:20 1.8
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.7 2023/08/27 02:50:34 adam Exp $ 1# $NetBSD: Makefile,v 1.8 2023/09/11 09:30:20 adam Exp $
2 2
3DISTNAME= typeguard-4.1.3 3DISTNAME= typeguard-4.1.4
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= devel python 5CATEGORIES= devel python
6MASTER_SITES= ${MASTER_SITE_PYPI:=t/typeguard/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=t/typeguard/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/agronholm/typeguard 9HOMEPAGE= https://github.com/agronholm/typeguard
10COMMENT= Python run-time type checking library 10COMMENT= Python run-time type checking library
11LICENSE= mit 11LICENSE= mit
12 12
13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools
14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm 14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
16TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=1.2.0:../../lang/py-mypy 16TEST_DEPENDS+= ${PYPKGPREFIX}-mypy>=1.2.0:../../lang/py-mypy

cvs diff -r1.6 -r1.7 pkgsrc/devel/py-typeguard/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-typeguard/distinfo 2023/08/27 02:50:34 1.6
+++ pkgsrc/devel/py-typeguard/distinfo 2023/09/11 09:30:20 1.7
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.6 2023/08/27 02:50:34 adam Exp $ 1$NetBSD: distinfo,v 1.7 2023/09/11 09:30:20 adam Exp $
2 2
3BLAKE2s (typeguard-4.1.3.tar.gz) = facb7499b93cb9829c997554d5619bd9f1eabd660f60baa932b3e4060db4f3e5 3BLAKE2s (typeguard-4.1.4.tar.gz) = f1d4b10d9c5160dc4d111bf3d41b5faf9803c4fa5fddf69548a717eadded295a
4SHA512 (typeguard-4.1.3.tar.gz) = bf9914ac33b3c7afb439e96c9319f79ee67591d3bfa7da1f0df50ba7b2bbaf0c3705d45d9fe7215b132f838f4d57ae2c0abe1f4b90c4199520601453d2ca04f8 4SHA512 (typeguard-4.1.4.tar.gz) = fc1b8c154d3e26f83241eda5e7781a8d09ac7cb5d5da5809bebf40db7a1691afe008384bdaafbfca4f3eb619e452c8bb841d5691e90bcabb95ab00b710d03c98
5Size (typeguard-4.1.3.tar.gz) = 67821 bytes 5Size (typeguard-4.1.4.tar.gz) = 68958 bytes