py-wrapt: updated to 1.14.0

Version 1.14.0

Bugs Fixed

Python 3.11 dropped inspect.formatargspec() which was used in creating signature changing decorators. Now bundling a version of this function which uses Parameter and Signature from inspect module when available. The replacement function is exposed as wrapt.formatargspec() if need it for your own code.
When using a decorator on a class, isinstance() checks wouldn’t previously work as expected and you had to manually use Type.__wrapped__ to access the real type when doing instance checks. The __instancecheck__ hook is now implemented such that you don’t have to use Type.__wrapped__ instead of Type as last argument to isinstance().
Eliminated deprecation warnings related to Python module import system, which would have turned into broken code in Python 3.12. This was used by the post import hook mechanism.

New Features

Binary wheels provided on PyPi for aarch64 Linux systems and macOS native silicon where supported by Python when using pypa/cibuildwheel.
This commit is contained in:
adam 2022-03-31 08:43:02 +00:00
parent a868410c8a
commit c06ddc2200
3 changed files with 10 additions and 8 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.12 2022/01/04 20:53:48 wiz Exp $
# $NetBSD: Makefile,v 1.13 2022/03/31 08:43:02 adam Exp $
DISTNAME= wrapt-1.13.3
DISTNAME= wrapt-1.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wrapt/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2021/10/11 18:02:12 adam Exp $
@comment $NetBSD: PLIST,v 1.4 2022/03/31 08:43:02 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@ -8,6 +8,9 @@ ${PYSITELIB}/wrapt/__init__.py
${PYSITELIB}/wrapt/__init__.pyc
${PYSITELIB}/wrapt/__init__.pyo
${PYSITELIB}/wrapt/_wrappers.so
${PYSITELIB}/wrapt/arguments.py
${PYSITELIB}/wrapt/arguments.pyc
${PYSITELIB}/wrapt/arguments.pyo
${PYSITELIB}/wrapt/decorators.py
${PYSITELIB}/wrapt/decorators.pyc
${PYSITELIB}/wrapt/decorators.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.11 2021/10/31 09:21:37 adam Exp $
$NetBSD: distinfo,v 1.12 2022/03/31 08:43:02 adam Exp $
BLAKE2s (wrapt-1.13.3.tar.gz) = b99bdc3641b41e47da016be4da5fc41f0b865f36391240d030a5cd0847566940
SHA512 (wrapt-1.13.3.tar.gz) = c80505b1d52eebc405cdb69a2e5a1d4d429e3091d04ae21d4af38175576818d30fdd57ef1e5422bd29022079e2996ee2ce97a3e8e4fada78387f24aa41fa2e32
Size (wrapt-1.13.3.tar.gz) = 48871 bytes
BLAKE2s (wrapt-1.14.0.tar.gz) = 7abed5c23fd911b74fd63acb8008c77283501ae7f09835a860c91609dbde5d4f
SHA512 (wrapt-1.14.0.tar.gz) = 9c56807f419908427a4690eef9cce317153f11fb2a70cc8fd753f409a83818bf17d671856e04ca7efdcd801af7bacef72441d67d3faf110fb31de5734e58d4ae
Size (wrapt-1.14.0.tar.gz) = 50796 bytes