14
0

20 Commits

Author SHA256 Message Date
8794a6bffe Accepting request 1298702 from devel:languages:python
- Add BuildRequires on pytest-asyncio.
- Add patch set-pytest-asyncio-mode.patch:
  * Set asyncio-mode to auto.

OBS-URL: https://build.opensuse.org/request/show/1298702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=10
2025-08-11 11:53:42 +00:00
4225669cdc - Add BuildRequires on pytest-asyncio.
- Add patch set-pytest-asyncio-mode.patch:
  * Set asyncio-mode to auto.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=18
2025-08-11 02:24:53 +00:00
55ae3a2f61 Accepting request 1285412 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1285412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=9
2025-06-13 16:46:57 +00:00
f4ce5922a3 Accepting request 1285204 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1285204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=16
2025-06-13 10:44:42 +00:00
a5251bf2f9 Accepting request 1219185 from devel:languages:python
- 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.

    `_` or contains a double `__`
- Update to Version 1.13.0

OBS-URL: https://build.opensuse.org/request/show/1219185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=8
2024-10-30 16:36:23 +00:00
5420741f3f - 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.
    `_` or contains a double `__`
- Update to Version 1.13.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=14
2024-10-29 21:11:40 +00:00
2fe463f9a7 Accepting request 1131765 from devel:languages:python
- update to 1.15.2:
  * Fixed `SyntaxError` happening when the name of a native
    coroutine function to create contains `'return'`.
  * Fixes #96.

OBS-URL: https://build.opensuse.org/request/show/1131765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=7
2023-12-08 21:32:17 +00:00
6fe7bfd92b - update to 1.15.2:
* Fixed `SyntaxError` happening when the name of a native
    coroutine function to create contains `'return'`.
  * Fixes #96.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=12
2023-12-07 22:55:52 +00:00
9cf25727ac Accepting request 1075037 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1075037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=6
2023-03-29 21:27:06 +00:00
473c9a91b4 Accepting request 1074945 from home:pgajdos:python
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1074945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=10
2023-03-28 15:36:48 +00:00
c6b15f4377 Accepting request 1074493 from devel:languages:python
- 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 `__`

OBS-URL: https://build.opensuse.org/request/show/1074493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=5
2023-03-27 16:16:05 +00:00
3aa85ca73b - 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 `__`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=8
2023-03-26 18:45:56 +00:00
94ab9cc308 Accepting request 1039664 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=4
2022-12-03 09:03:45 +00:00
16bbd02793 Accepting request 1039645 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.15.0
  Moved auto signature string to Signature object conversion to wraps. …
      …Added a test.

OBS-URL: https://build.opensuse.org/request/show/1039645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=6
2022-12-02 21:36:43 +00:00
9e2489f129 Accepting request 1007066 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1007066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=3
2022-09-30 15:57:49 +00:00
d6bb1cb4ab Accepting request 1007011 from home:yarunachalam:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1007011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=4
2022-09-29 19:01:34 +00:00
7be7d65f7e Accepting request 940869 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/940869
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=2
2021-12-16 20:19:40 +00:00
270c455177 Accepting request 940461 from home:pgajdos:python
- 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

OBS-URL: https://build.opensuse.org/request/show/940461
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=3
2021-12-16 11:31:31 +00:00
66b0b0b10d Accepting request 891255 from devel:languages:python
This package would be nice to have in factory. But at least it is required for the new version of yubikey manager

OBS-URL: https://build.opensuse.org/request/show/891255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-makefun?expand=0&rev=1
2021-05-07 14:45:56 +00:00
a7f0b3f53a Accepting request 891088 from home:susnux:branches:security
Required for some packages, at least new version of yubikey-manager (old version is in Factory) requires makefun.

OBS-URL: https://build.opensuse.org/request/show/891088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-makefun?expand=0&rev=1
2021-05-07 02:04:27 +00:00