- Update to 5.2.1
* Updated CHANGES.md
* Update Makefile [ci skip]
* Include tests and documentation in sdist
* Managed functions without __name__
- from version 5.2.0
* Replace deprecated logging.warn with logging.warning
* Add support for Python 3.11
* Update download links
* Fix codespell errors
* Add support for decorative partial functions
* Replace 'bytecode' by 'binary' in LICENSE.txt to align with BSD-2-Clause
* Add support for Python 3.12
* Stop testing EOL Python 3.5 and 3.6 due to CI unavailability
* Requiring Python >= 3.7
* Dropped support for Python <= 3.6
* Use SPDX license identifier
* Add support for Python 3.13
* codespell: assertIn is not a typo
* Testing only Python >= 3.8
* Using asyncio.run
* Replaced setup.py with pyproject
* Updated copyright
* Moved tests outside of src
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
OBS-URL: https://build.opensuse.org/request/show/1278569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=54
- update to 5.1.0:
* Added a function `decoratorx` using the `FunctionMaker` and thus
preserving the signature of `__code__` objects.
* Sphinx was printing a few warnings when building the documentation
* functions decorated with `decorator.contextmanager` were one-shot,
as discovered by Alex Pizarro.
* `decorator.decorator` was not passing the kwsyntax argument.
- drop kwsyntax.patch (usptream)
OBS-URL: https://build.opensuse.org/request/show/925751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=24
* Added a function `decoratorx` using the `FunctionMaker` and thus
preserving the signature of `__code__` objects.
* Sphinx was printing a few warnings when building the documentation
* functions decorated with `decorator.contextmanager` were one-shot,
as discovered by Alex Pizarro.
* `decorator.decorator` was not passing the kwsyntax argument.
- drop kwsyntax.patch (usptream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=50
* Fixed a test breaking PyPy. Restored support for Sphinx.
* Made the decorator module more robust when decorating builtin functions
lacking dunder attributes, like `dict.__setitem__`.
* The decorator module was not passing correctly the defaults inside the
`*args` tuple, thanks to Dan Shult for the fix.
* The decorator module was not copying the __module__ attribute anymore.
* Dropped support for Python < 3.5 with a substantial simplification of
the code base (now building a decorator does not require calling "exec").
Added a way to mimic functools.wraps-generated decorators.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=48
- update to version 4.3.2
* now the decorator module can decorate generator functions by
preserving their being generator functions
* Set `python_requires='>=2.6, !=3.0.*, !=3.1.*'` in setup.py
- update to version 4.3.1
* Added a section "For the impatient" to the README, addressing
an issue raised by Amir Malekpour.
* Added support for Python 3.7.
* Now the path to the decorator module appears in the
tracebacks, as suggested by a user at EuroPython 2018.
OBS-URL: https://build.opensuse.org/request/show/674686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=40
- update to 4.1.2:
* Made it possible to define decorators converting coroutines into regular
functions.
* Changed the documentation build system to sphinx and uploaded the docs
on readthedocs.org.
* Support for Python 3.5 coroutines defined with `async def`, thanks to
Victor-Nicolae Savu who raised the issue of `iscoroutinefunction` not
giving the right answer for coroutines decorated with the decorator module.
OBS-URL: https://build.opensuse.org/request/show/515732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-decorator?expand=0&rev=31
- fix source url
- Update to 4.0.11
* Small improvements to the documentation and tested with Python 3.6
- Update to 4.0.10
* Improved the documentation thanks to Tony Goodchild (zearin) who also
provided a much better CSS than the one I was using.
- Update to 4.0.9
* Same as 4.0.7 and 4.0.8, re-uploaded due to issues on PyPI.
- Update to 4.0.7
* Switched to a new changelog format (the one in http://keepachangelog.com/)
since it was contributed by Alexander Artemenko. Re-added a newline to support
old version of Python, as requested by [azjps](https://github.com/azjps).
- Update to 4.0.6
* Removed a file x.py accidentally entered in the tarball.
- Update to 4.0.5
* Documented a quirk signaled by David Goldstein when writing decorators
for functions with keyword arguments. Avoided copying the globals,
as signaled by Benjamin Peterson.
- Update to 4.0.4
* Included a patch from Zev Benjamin: now decorated functions play well
with cProfile.
- Update to 4.0.3
* Added a warning about the memoize example, as requested by Robert
Buchholz.
- Update to 4.0.2
* docs/README.rst was not included in MANIFEST.in by accident,
thus breaking the source installation.
- Update to 4.0.1
* Added docs directory and upload_docs command. Fixed bug with
OBS-URL: https://build.opensuse.org/request/show/485855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-decorator?expand=0&rev=14