14
0
forked from pool/python-wrapt
Commit Graph

17 Commits

Author SHA256 Message Date
b62d187077 - update to 1.13.3:
* Adds wheels for Python 3.10 on PyPi and where possible also now
   generating binary wheels for ``musllinux``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=28
2021-11-06 18:23:49 +00:00
5d7d7b6a0d - update to 1.13.2:
* Note that the next signficant release of `wrapt` will drop support for
    Python 2.7 and Python 3.5.
  * Fix Python version constraint so PyPi classifier for ``pip`` requires
    Python 2.7 or Python 3.5+.
  * 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=27
2021-10-26 21:16:57 +00:00
4a45431977 Accepting request 880266 from home:bnavigator:branches:devel:languages:python
- Fix python39 test suite failures
  * wrapt-pr161-py39tests.patch
  * gh#GrahamDumpleton/wrapt#161

OBS-URL: https://build.opensuse.org/request/show/880266
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=25
2021-03-22 10:45:17 +00:00
39009f250a Accepting request 853000 from home:bnavigator:branches:devel:languages:python
- Fix python3.6 build with pytest 6
  * fix-dummy-collector-pytest6.patch
  * gh#GrahamDumpleton/wrapt#168

OBS-URL: https://build.opensuse.org/request/show/853000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=23
2020-12-04 10:49:15 +00:00
6ab6e1f8b1 - update to 1.12.1:
* Applying a function wrapper to a static method of a class using the
  ``wrap_function_wrapper()`` function, or wrapper for the same, wasn't
  being done correctly when the static method was the immediate child of
  the target object. It was working when the name path had multiple name
  components. A failure would subsequently occur when the static method
  was called via an instance of the class, rather than the class.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=21
2020-03-16 11:02:48 +00:00
b20b330dda - update to 1.12.0:
* Provided that you only want to support Python 3.7, when deriving from
    a base class which has a decorator applied to it, you no longer need
    to access the true type of the base class using ``__wrapped__`` in
    the inherited class list of the derived class.
  * When using the ``synchronized`` decorator on instance methods of a
    class, if the class declared special methods to override the result for
    when the class instance was tested as a boolean so that it returned
    ``False`` all the time, the synchronized method would fail when called.
  * When using an adapter function to change the signature of the decorated                    
    function, ``inspect.signature()`` was returning the wrong signature
    when an instance method was inspected by accessing the method via the
    class type.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=19
2020-03-09 16:26:38 +00:00
Tomáš Chvátal
2e45767abf - Update to 1.11.2:
* Fix possible crash when garbage collection kicks in when invoking a destructor of wrapped object.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=17
2019-07-22 11:37:49 +00:00
Tomáš Chvátal
db9958982d - Update to 1.11.1:
* Many bugfixes all around
  * see changes.rst for detailed list
- Switch to github to include tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=15
2019-03-11 13:29:34 +00:00
c94da7a2f8 - update to version 1.10.10:
* Added back missing description and categorisations when releasing
  to PyPi.
  * Code for inspect.getargspec() when using Python 2.6 was missing 
  import of sys module.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=13
2017-09-20 20:04:23 +00:00
Thomas Bechtold
92750aa542 Accepting request 509008 from science:unstable
patchlevel version update

OBS-URL: https://build.opensuse.org/request/show/509008
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=11
2017-07-09 14:37:34 +00:00
Jan Matejek
044a3ea1c9 Accepting request 479711 from devel:languages:python:singlespec
- update for singlespec

OBS-URL: https://build.opensuse.org/request/show/479711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=9
2017-03-15 15:12:50 +00:00
73d08d378a Accepting request 424121 from home:tbechtold:branches:devel:languages:python
update to version 1.10.8
  * Increment version to 1.10.8.
  * Fix modulo operator on ObjectProxy
  * Increment version to 1.10.7.
  * Document mod operator bug in Python variant of object proxy.
  * Update copyright year.
  * Fix tests for floordiv and mod.
  * Remove reference to inspect.getargspec() as removed in Python 3.6. #64
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/request/show/424121
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=7
2016-09-01 07:28:49 +00:00
Todd R
f4b62ff794 Accepting request 359583 from home:stroeder:branches:devel:languages:python
update to 1.10.6

OBS-URL: https://build.opensuse.org/request/show/359583
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=5
2016-02-16 08:39:02 +00:00
Stephan Kulow
652cddcf37 Accepting request 318875 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/318875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wrapt?expand=0&rev=1
2015-08-05 04:50:50 +00:00
Denisart Benjamin
f78beaf65e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=3 2015-02-09 15:30:03 +00:00
Denisart Benjamin
8a2f76b5e8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=2 2015-02-09 15:30:00 +00:00
Denisart Benjamin
8bf241f096 Accepting request 284598 from home:frispete:python
this is a dependency of python-vcrpy

OBS-URL: https://build.opensuse.org/request/show/284598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=1
2015-02-09 15:29:26 +00:00