./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-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-11-03 20:07:15 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.4.1

4.4.1 (2024-11-03)

- Dropped Python 3.8 support
- Changed the signature of ``typeguard_ignore()`` to be compatible with
  ``typing.no_type_check()``
- Avoid creating reference cycles when type checking uniontypes and classes
- Fixed checking of variable assignments involving tuple unpacking
- Fixed ``TypeError`` when checking a class against ``type[Self]``
- Fixed checking of protocols on the class level (against ``type[SomeProtocol]``)
- Fixed ``Self`` checks in instance/class methods that have positional-only arguments
- Fixed explicit checks of PEP 604 unions against ``types.UnionType``
- Fixed checks against annotations wrapped in ``NotRequired`` not being run \ 
unless the
  ``NotRequired`` is a forward reference
- Fixed the ``pytest_ignore_collect`` hook in the pytest plugin blocking default \ 
pytest
  collection ignoring behavior by returning ``None`` instead of ``False``
   2024-10-30 09:52:36 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.4.0

4.4.0 (2024-10-27)

- Added proper checking for method signatures in protocol checks
- Fixed basic support for intersection protocols
- Fixed protocol checks running against the class of an instance and not the instance
  itself (this produced wrong results for non-method member checks)
   2024-05-29 13:38:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-typeguard: updated to 4.3.0

4.3.0 (2024-05-27)

- Added support for checking against static protocols
- Fixed some compatibility problems when running on Python 3.13
- Fixed test suite incompatibility with pytest 8.2
- Fixed pytest plugin crashing on pytest version older than v7.0.0 (even if it's just
  present)
   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.