File python-makefun.changes of Package python-makefun
-------------------------------------------------------------------
Thu Jun 12 15:53:22 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.16.0
* Removed official support for python versions ``<3.9``.
These versions will not run in CI anymore.
* Fixed ``RuntimeError`` in tests when running on python 3.14.
Added python 3.14 to CI. Fixes #112
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Tue Oct 29 21:11:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.15.6:
* Fixed issue with legacy python 2.7 and 3.5.
* Python 3.13 is now supported.
* Fixed `SyntaxError: invalid syntax` happening when the
default value of one argument of the created function is a
* subclass of a basic primitive.
-------------------------------------------------------------------
Thu Dec 7 22:55:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.15.2:
* Fixed `SyntaxError` happening when the name of a native
coroutine function to create contains `'return'`.
* Fixes #96.
-------------------------------------------------------------------
Tue Mar 28 09:39:24 UTC 2023 - pgajdos@suse.com
- python-six is not required
-------------------------------------------------------------------
Sun Mar 26 18:45:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.15.1:
* Fixed `ValueError: Invalid co_name` happening on python 2
when the name of a function to create starts or ends with
`_` or contains a double `__`
-------------------------------------------------------------------
Fri Dec 2 20:29:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.15.0
Moved auto signature string to Signature object conversion to wraps. …
…Added a test.
-------------------------------------------------------------------
Thu Sep 29 15:46:07 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to Version 1.15.0
More PEP-compliant `wraps` Latest
wraps now always sets the __wrapped__ attribute, and also sets the __signature__ attribute when the signature changes,
as specified by PEP 362. PR by #86 by lucaswiman.
- Update to Version 1.14.0
Support for lambda functions
create_wrapper, create_function, wraps and with_signature now support lambda functions. They also accept a new parameter
co_name to define the name to be used in the compiled code. PR #80 by andrewcleveland.
- Update to Version 1.13.1
- Fixed regression with generators in python 3.5
- Fixed an issue where using partial on a generator function in python 3.5 was raising a SyntaxError. Fixed #79
- Update to Version 1.13.0
- Support for async generator functions
async generator functions are now supported (See PEP525). Fixed #77. PR#78 by broglep-work.
-------------------------------------------------------------------
Tue Dec 14 12:04:47 UTC 2021 - pgajdos@suse.com
- version update to 1.12.1
### 1.12.1 - Bugfix
- Fixed `TypeError` when a `func` attribute is present on the function provided to `create_function`. Fixed [#76]
### 1.12.0 - Refactoring and consistency improvement
- Fixed `partial` so that :
- when no argument is provided, it is equivalent to `wraps(f)(f)`. That is, the `__wrapped__` attribute is set. Fixed [#73]
- it sets the `func` attribute just as `functools.partial` does. Fixed [#75]
- Removed `pytest-cases` dependency as it was a circular one. Fixed [#68]
- Now using `flake8` for qualimetry and `genbadge` for badges. Fixed [#71]
- Restructured project so that tests are truly independent, to ease rpm/apt/etc. packaging. Fixed [#69]
- test the package
-------------------------------------------------------------------
Thu May 6 15:50:16 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Initial package for version 1.11.3