./devel/py-typeguard, Python run-time type checking library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.4.1, Package name: py312-typeguard-4.4.1, Maintainer: pkgsrc-users

This library provides run-time type checking for functions defined with PEP 484
argument (and return) type annotations.


Master sites:

Filesize: 73.202 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-25 07:28:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.2.1

4.2.1 (2023-03-24)

- Fixed missing ``typing_extensions`` dependency for Python 3.12
- Fixed deprecation warning in the test suite on Python 3.13
   2024-03-24 08:28:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.2.0

4.2.0

Added support for specifying options for the pytest plugin via pytest config files
Avoid creating reference cycles when type checking unions (PR by Shantanu)
Fixed Optional[...] being removed from the AST if it was located within a subscript
Fixed TypedDict from typing_extensions not being recognized as one
Fixed typing types (dict[str, int], List[str], etc.) not passing checks against \ 
type or Type
Fixed detection of optional fields (NotRequired[...]) in TypedDict when using \ 
forward references
Fixed mapping checks against Django's MultiValueDict
   2023-11-19 17:02:44 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-typeguard: fix DEPENDS and test target
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-09-15 16:52:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.1.5

4.1.5 (2023-09-11)

- Fixed ``Callable`` erroneously rejecting a callable that has the requested \ 
amount of
  positional arguments but they have defaults
- Fixed a regression introduced in v4.1.4 where the elements of ``Literal`` got \ 
quotes
  removed from them by the AST transformer
   2023-09-11 11:30:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2023-08-27 04:50:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.1.3

4.1.3

- Dropped Python 3.7 support
- Fixed ``@typechecked`` optimization causing compilation of instrumented code \ 
to fail
  when any block was left empty by the AST transformer (eg `if` or `try` / \ 
`except` blocks)
- Fixed placement of injected typeguard imports with respect to ``__future__`` \ 
imports and module
   2023-08-24 22:31:01 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: update to 4.1.2.

4.1.2 (2023-08-18)

    Fixed Any being removed from a subscript that still contains other elements (#373

4.1.1 (2023-08-16)

    Fixed suppress_type_checks() causing annotated variable assignments to \ 
always assign None (#380)