Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
3cfe85f741 | |||
8ba394d86d | |||
ac6bc4b7b1 | |||
9b6e8b7db3 | |||
de7749fbe4 | |||
7f125fd1d3 |
BIN
1.16.0.tar.gz
(Stored with Git LFS)
BIN
1.16.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
1.17.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
1.17.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,47 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 02:42:47 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 28 08:57:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.17.2
|
||||
* Added universal binary wheels for macOS. That is, contains
|
||||
both x86_64 and arm64 architectures in the same wheel.
|
||||
- from version 1.17.1
|
||||
* Due to GitHub actions changes, binary wheels were missing
|
||||
for macOS Intel.
|
||||
* Not implemented error for __reduce__() on ObjectProxy was
|
||||
incorrectly displaying the error as being on __reduce_ex__().
|
||||
- from version 1.17.0
|
||||
* Add __format__() method to ObjectProxy class to allow formatting
|
||||
of wrapped object.
|
||||
* Added C extension internal flag to indicate that wrapt should be
|
||||
safe for Python 3.13 free threading mode. Releases will include
|
||||
free threading variants of Python wheels. Note that as free
|
||||
threading is new, one should be cautious about using it in
|
||||
production until it has been more widely tested.
|
||||
* When a normal function or builtin function which had wrapt.decorator
|
||||
or a function wrapper applied, was assigned as a class attribute,
|
||||
and the function attribute called via the class or an instance of
|
||||
the class, an additional argument was being passed, inserted as the
|
||||
first argument, which was the class or instance. This was not the
|
||||
correct behaviour and the class or instance should not have been
|
||||
passed as the first argument.
|
||||
* When an instance of a callable class object was wrapped which didn’t
|
||||
not have a __get__() method for binding, and it was called in context
|
||||
where binding would be attempted, it would fail with error that __get__()
|
||||
did not exist when instead it should have been called directly, ignoring
|
||||
that binding was not possible.
|
||||
* The __round__ hook for the object proxy didn’t accept ndigits argument.
|
||||
- Drop py313-classmethods.patch, merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 11:56:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add py313-classmethods.patch to fix test failures with py313
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 20:31:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wrapt
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-wrapt
|
||||
Version: 1.16.0
|
||||
Version: 1.17.2
|
||||
Release: 0
|
||||
Summary: A Python module for decorators, wrappers and monkey patching
|
||||
License: BSD-2-Clause
|
||||
@@ -27,8 +27,10 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/GrahamDumpleton/wrapt
|
||||
Source: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
@@ -62,10 +64,10 @@ For further information on the **wrapt** module see:
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -75,6 +77,6 @@ export CFLAGS="%{optflags}"
|
||||
%license LICENSE
|
||||
%doc README.rst docs/changes.rst
|
||||
%{python_sitearch}/wrapt
|
||||
%{python_sitearch}/wrapt-%{version}*-info
|
||||
%{python_sitearch}/wrapt-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user