forked from pool/python-makefun
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 583636a204 | |||
| 97bc0f0f1e | |||
| dcf6e0bc87 | |||
| 3078c64bfc |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:16f2a2b34d9ee0c2b578c960a1808c974e2822cf79f6e9b9c455aace10882d45
|
|
||||||
size 74602
|
|
||||||
3
makefun-1.16.0.tar.gz
Normal file
3
makefun-1.16.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e14601831570bff1f6d7e68828bcd30d2f5856f24bad5de0ccb22921ceebc947
|
||||||
|
size 73565
|
||||||
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Thu Dec 7 22:55:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@@ -17,7 +37,7 @@ Sun Mar 26 18:45:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|||||||
- update to 1.15.1:
|
- update to 1.15.1:
|
||||||
* Fixed `ValueError: Invalid co_name` happening on python 2
|
* Fixed `ValueError: Invalid co_name` happening on python 2
|
||||||
when the name of a function to create starts or ends with
|
when the name of a function to create starts or ends with
|
||||||
`_` or contains a double `__`
|
`_` or contains a double `__`
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 2 20:29:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Fri Dec 2 20:29:56 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
@@ -43,7 +63,7 @@ Thu Sep 29 15:46:07 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
|||||||
- Fixed regression with generators in python 3.5
|
- 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
|
- 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
|
- Update to Version 1.13.0
|
||||||
- Support for async generator functions
|
- Support for async generator functions
|
||||||
async generator functions are now supported (See PEP525). Fixed #77. PR#78 by broglep-work.
|
async generator functions are now supported (See PEP525). Fixed #77. PR#78 by broglep-work.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-makefun
|
# spec file for package python-makefun
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,17 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-makefun
|
Name: python-makefun
|
||||||
Version: 1.15.2
|
Version: 1.16.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Summary: Small library to dynamically create python functions
|
Summary: Small library to dynamically create python functions
|
||||||
URL: https://github.com/smarie/python-makefun
|
URL: https://github.com/smarie/python-makefun
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: https://files.pythonhosted.org/packages/source/m/makefun/makefun-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/m/makefun/makefun-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -45,10 +47,10 @@ Small library to dynamically create python functions.
|
|||||||
sed -i '/pytest-runner/d' setup.cfg
|
sed -i '/pytest-runner/d' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -57,6 +59,7 @@ sed -i '/pytest-runner/d' setup.cfg
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/makefun*
|
%{python_sitelib}/makefun
|
||||||
|
%{python_sitelib}/makefun-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user