BSD Ports

devel/py-typeguard 4.6.0 NetBSD

Python run-time type checking library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
24ce0c175a
License
mit
Categories
devel, python
Package size
81.2 KiB, 470.3 KiB installed

Description

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

In the other systems

SystemPortVersion
NetBSDdevel/py-typeguard4.6.0
FreeBSDdevel/py-typeguard4.6.0
OpenBSDdevel/py-typeguard4.5.1
DragonFlydevel/py-typeguard4.4.2
MidnightBSDdevel/py-typeguard4.1.5_1
HardenedBSDdevel/py-typeguard4.6.0
GhostBSDdevel/py-typeguard4.6.0

Install

Binary package:

pkgin install py311-typeguard

From pkgsrc:

cd /usr/pkgsrc/devel/py-typeguard && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.6.0
NetBSD 10.1 aarch644.5.2
SmartOS / illumos x86_644.6.0
macOS 15 arm644.6.0

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-typeguard-4.6.0, py313-typeguard-4.6.0, py314-typeguard-4.6.0

Commit history 1

DateCommitCreditsLog message
24ce0c175a adam py-typeguard: updated to 4.6.0
4.6.0 - Added support for type checking against the PEP 661 ``sentinel`` type (built-in on Python 3.15 and available on ``typing_extensions`` for earlier Pythons) - Added the ``typeguard-packages-ignore`` option (``--typeguard-packages-ignore`` on the command line) to the pytest plugin to exclude specific packages from type checking - Added recognition of wildcard imports from ``typing`` and ``typing_extensions`` in the import hook/instrumenter - Fixed compatibility with Python 3.15 - Fixed an assignment expression against an annotated name (``x: int``, then ``if (x := ...)``) being instrumented as an unpacking target, which raised ``TypeError`` for a non-iterable value and silently replaced an iterable value with ``list(value)`` …