--- - branch: MAIN date: Mon Oct 11 18:02:12 UTC 2021 files: - new: '1.9' old: '1.8' path: pkgsrc/devel/py-wrapt/Makefile pathrev: pkgsrc/devel/py-wrapt/Makefile@1.9 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/py-wrapt/PLIST pathrev: pkgsrc/devel/py-wrapt/PLIST@1.3 type: modified - new: '1.8' old: '1.7' path: pkgsrc/devel/py-wrapt/distinfo pathrev: pkgsrc/devel/py-wrapt/distinfo@1.8 type: modified id: 20211011T180212Z.0dd9ea40e4f09d5ed2e18316f3f603eeefee1919 log: | py-wrapt: updated to 1.13.1 Version 1.13.1 Bugs Fixed Fix Python version constraint so PyPi classifier for pip requires Python 2.7 or Python 3.5+. Version 1.13.0 Bugs Fixed When a reference to a class method was taken out of a class, and then wrapped in a function wrapper, and called, the class type was not being passed as the instance argument, but as the first argument in args, with the instance being None. The class type should have been passed as the instance argument. If supplying an adapter function for a signature changing decorator using input in the form of a function argument specification, name lookup exceptions would occur where the adaptor function had annotations which referenced non builtin Python types. Although the issues have been addressed where using input data in the format usually returned by inspect.getfullargspec() to pass the function argument specification, you can still have problems when supplying a function signature as string. In the latter case only Python builtin types can be referenced in annotations. When a decorator was applied on top of a data/non-data descriptor in a class definition, the call to the special method __set_name__() to notify the descriptor of the variable name was not being propogated. Note that this issue has been addressed in the FunctionWrapper used by @wrapt.decorator but has not been applied to the generic ObjectProxy class. If using ObjectProxy directly to construct a custom wrapper which is applied to a descriptor, you will need to propogate the __set_name__() call yourself if required. The issubclass() builtin method would give incorrect results when used with a class which had a decorator applied to it. Note that this has only been able to be fixed for Python 3.7+. Also, due to what is arguably a bug (https://bugs.python.org/issue44847) in the Python standard library, you will still have problems when the class heirarchy uses a base class which has the abc.ABCMeta metaclass. In this later case an exception will be raised of TypeError: issubclass() arg 1 must be a class. module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-wrapt' unixtime: '1633975332' user: adam