python-decorator/python-decorator.changes

257 lines
10 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Fri Apr 21 12:24:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:40:52 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Mon Jan 10 22:16:37 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 5.1.1:
* cythonized functions can now be decorated.
* fixed an issue in the `decorator_apply` example and
* regression fix for the "fix" in version 5.1 broke
` decorator.contextmanager` even more. Both issues are now solved.
-------------------------------------------------------------------
Sat Oct 16 20:56:50 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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)
-------------------------------------------------------------------
Thu Aug 5 15:25:53 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Add upstream patch kwsyntax.patch
-------------------------------------------------------------------
Tue Jul 27 06:15:15 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 5.0.9:
* 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.
-------------------------------------------------------------------
Sat Mar 14 15:50:24 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 4.4.2:
* removing the usage of `__file__`, that was breaking PyOxidizer.
* fixes for the future Python 3.9.
* some fixes for the future Python 3.10.
-------------------------------------------------------------------
Fri Dec 20 19:11:44 UTC 2019 - Dirk Mueller <dmueller@suse.com>
- update to 4.4.1:
Changed the description to "Decorators for Humans" are requested by
several users. Fixed a .rst bug in the description as seen in PyPI.
-------------------------------------------------------------------
Tue Mar 19 15:15:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 4.4.0:
* Fixed a regression with decorator factories breaking the case with no
arguments by going back to the syntax used in version 4.2.
-------------------------------------------------------------------
Wed Feb 13 17:32:05 UTC 2019 - Todd R <toddrme2178@gmail.com>
- 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.
-------------------------------------------------------------------
Tue Dec 4 12:47:11 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue Apr 17 11:05:41 UTC 2018 - jengelh@inai.de
- Ensure neutrality of description.
-------------------------------------------------------------------
Tue Apr 17 01:52:09 UTC 2018 - arun@gmx.de
- update to version 4.3.0:
* Extended the decorator family facility to work with positional
arguments and updated the documentation. Removed
decorator.getargspec and provided decorator.getfullargspec
instead. This is convenient for users of Python 2.6/2.7, the
others can just use inspect.getfullargspec.
-------------------------------------------------------------------
Wed Jan 17 04:02:48 UTC 2018 - arun@gmx.de
- specfile:
- updated copyright year
- updated to version 4.2.1:
* Fixed a regression breaking IPython reported by
https://github.com/spapini .
- changes from version 4.2.0 :
* Added a facility to define families of decorators (aka decorators
with arguments) as requested by several users. Accepted a pylint
patch by David Allouche.
-------------------------------------------------------------------
Wed Aug 9 14:14:10 UTC 2017 - tbechtold@suse.com
- 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.
-------------------------------------------------------------------
Wed Apr 5 15:13:12 UTC 2017 - jmatejek@suse.com
- fix source url
-------------------------------------------------------------------
Sat Apr 1 21:20:43 UTC 2017 - toddrme2178@gmail.com
- 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
`__qualname__`, reported by Lucian Petrut.
- Update to 4.0.0
* Removed the need for 2to3 by dropping the support for Python 2.5.
* Added a MANIFEST.in file and produced a proper wheel. Improved
the integration with setuptools so that `python setup.py test` works.
* Reworked the documentation and introduced `decorator.decorated`.
* Removed any dependence from `inspect.getargspec`, which is deprecated
in Python 3.5, as signaled by Ralf Gommers.
* Fixed `contextmanager` to work with Python 3.5.
* Copied the `__qualname__` attribute, as requested by Frazer McLean.
* Added a `dispatch_on` facility to implement generic functions.
- Implement single-spec version.
-------------------------------------------------------------------
Sat May 2 18:01:29 UTC 2015 - benoit.monin@gmx.fr
- update to version 3.4.2:
* Same as 3.4.1, re-uploaded to PyPI
- additional changes from version 3.4.1:
* Ported the repository from GoogleCode to GitHub and added
Travis CI support
* Tests are executed with the new command `python test.py -v`
* setuptools is now mandatory in Python 3
* The suggested installation tool is `pip`, not `easy_install`
* Supported IronPython and other Python implementations without
sys._getframe, as requested by Doug Blank
- remove python-nose from BuildRequires, unneeded
- replace README.txt with README.rst: changed upstream
-------------------------------------------------------------------
Thu Oct 24 11:01:04 UTC 2013 - speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
-------------------------------------------------------------------
Tue Jun 25 12:01:33 UTC 2013 - dmueller@suse.com
- update to 3.4.0:
* Added the ability to use classes and generic callables as callers and
implemented a signature-preserving contexmanager decorator. Fixed a bug
with the signature f(**kw) in Python 3 and fixed a couple of doctests
broken by Python 3.3, both issues pointed out by Dominic Sacré (18/10/2012)
-------------------------------------------------------------------
Wed May 23 07:56:17 UTC 2012 - highwaystar.ru@gmail.com
- update to version 3.3.3
- minor spec improvement
- python3 package added
-------------------------------------------------------------------
Tue Nov 29 19:14:17 UTC 2011 - cfarrell@suse.com
- license update: BSD-2-Clause
SPDX format
-------------------------------------------------------------------
Thu Nov 24 13:38:58 UTC 2011 - idoenmez@suse.de
- Update to upstream tarball, no code changes
-------------------------------------------------------------------
Mon Sep 26 07:56:23 UTC 2011 - saschpe@suse.de
- Add python-distribute (setuptools) BuildRequires, seemed to got lost
-------------------------------------------------------------------
Thu Sep 1 09:56:17 UTC 2011 - saschpe@suse.de
- Update to version 3.3.2
- Added proper changes file
-------------------------------------------------------------------
Thu Jan 7 00:00:00 UTC 2010 - hpj@urpla.net
- Update to 3.3.0
-------------------------------------------------------------------
Mon Aug 10 00:00:00 UTC 2009 - cfarrell1980@gmail.com
- Update to 3.0.1
-------------------------------------------------------------------
Tue Dec 2 00:00:00 UTC 2008 - jfunk@funktronics.ca
- Initial release