pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-wrapt



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Nov 23 11:06:30 UTC 2024

Modified Files:
        pkgsrc/devel/py-wrapt: Makefile distinfo

Log Message:
py-wrapt: updated to 1.17.0

Version 1.17.0

Note that version 1.17.0 drops support for Python 3.6 and 3.7. Python version 3.8 or later is required.

New Features

Add __format__() method to ObjectProxy class to allow formatting of wrapped object.
Added C extension internal flag to indicate that wrapt should be safe for Python 3.13 free threading mode. Releases will include free threading variants of Python wheels. Note that as free threading 
is new, one should be cautious about using it in production until it has been more widely tested.

Bugs Fixed

When a normal function or builtin function which had wrapt.decorator or a function wrapper applied, was assigned as a class attribute, and the function attribute called via the class or an instance 
of the class, an additional argument was being passed, inserted as the first argument, which was the class or instance. This was not the correct behaviour and the class or instance should not have 
been passed as the first argument.
When an instance of a callable class object was wrapped which didn't not have a __get__() method for binding, and it was called in context whhere binding would be attempted, it would fail with error 
that __get__() did not exist when instead it should have been called directly, ignoring that binding was not possible.
The __round__ hook for the object proxy didn't accept ndigits argument.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-wrapt/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-wrapt/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-wrapt/Makefile
diff -u pkgsrc/devel/py-wrapt/Makefile:1.18 pkgsrc/devel/py-wrapt/Makefile:1.19
--- pkgsrc/devel/py-wrapt/Makefile:1.18 Mon Nov 11 07:28:30 2024
+++ pkgsrc/devel/py-wrapt/Makefile      Sat Nov 23 11:06:30 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2024/11/11 07:28:30 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2024/11/23 11:06:30 adam Exp $
 
-DISTNAME=      wrapt-1.16.0
+DISTNAME=      wrapt-1.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=w/wrapt/}
 
@@ -13,7 +12,5 @@ LICENSE=      2-clause-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-wrapt/distinfo
diff -u pkgsrc/devel/py-wrapt/distinfo:1.15 pkgsrc/devel/py-wrapt/distinfo:1.16
--- pkgsrc/devel/py-wrapt/distinfo:1.15 Thu Nov  9 16:35:24 2023
+++ pkgsrc/devel/py-wrapt/distinfo      Sat Nov 23 11:06:30 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2023/11/09 16:35:24 adam Exp $
+$NetBSD: distinfo,v 1.16 2024/11/23 11:06:30 adam Exp $
 
-BLAKE2s (wrapt-1.16.0.tar.gz) = 809f3cf1fcaf59f04462faaa941200a2db6e1fa4ea71f86fb90d7b0c35ff5efb
-SHA512 (wrapt-1.16.0.tar.gz) = 27b2547a016c4a6bfdecfb860e26f3b4cd5af64eda0c0865393baf8a6e2ebe31cc2e8a74f0ba02a453854962c4a24ade84e0cb983f011e7b10a3a6c291f794cc
-Size (wrapt-1.16.0.tar.gz) = 53972 bytes
+BLAKE2s (wrapt-1.17.0.tar.gz) = e62d413fbabc34b6bfae1ee5972254528923f88a5ade9216d8b8a3541c3f7c94
+SHA512 (wrapt-1.17.0.tar.gz) = 74eabdc97ee53ba915cc5361554e3d7c0e1a0870cf024468ba790baec9a1ec17c3ba5751a00658cc19c576215e2eca83c55ab7f4c7aa83377955613327595de8
+Size (wrapt-1.17.0.tar.gz) = 55542 bytes



Home | Main Index | Thread Index | Old Index