- Update to 2.1.1:

## Features Changed
  * Drop support for Python 3.8. Python version 3.9 or later is now required.
  ## Bugs Fixed
  * Missing tox.ini from source distribution package has been added.
  * Improved type hints so that mypy and ty work better for methods of
    classes when using wrapt.decorator and wrapt.function_wrapper. Note that
    applying these to static methods still does not work correctly due to
    possibly limitations in those type checkers. The pyrefly tool still does
    not work correctly with wrapt.decorator and wrapt.function_wrapper
    applied to any methods of classes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wrapt?expand=0&rev=47
This commit is contained in:
2026-02-03 05:11:35 +00:00
committed by Git OBS Bridge
parent fd8790c6ff
commit e397139ea6
4 changed files with 21 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54dd4dd4f357e398ffc3d70b7d89cc56b8e5e535dc1a4de2e5015f05e4896be6
size 184792

3
2.1.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56b4336aba320225e54e7fc3e454628de877bfb1655ddeece593eec7659c8285
size 183812

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Feb 3 05:11:19 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.1.1:
## Features Changed
* Drop support for Python 3.8. Python version 3.9 or later is now required.
## Bugs Fixed
* Missing tox.ini from source distribution package has been added.
* Improved type hints so that mypy and ty work better for methods of
classes when using wrapt.decorator and wrapt.function_wrapper. Note that
applying these to static methods still does not work correctly due to
possibly limitations in those type checkers. The pyrefly tool still does
not work correctly with wrapt.decorator and wrapt.function_wrapper
applied to any methods of classes
-------------------------------------------------------------------
Wed Nov 26 01:59:50 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wrapt
#
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,13 +19,13 @@
%{?sle15_python_module_pythons}
Name: python-wrapt
Version: 2.0.1
Version: 2.1.1
Release: 0
Summary: A Python module for decorators, wrappers and monkey patching
License: BSD-2-Clause
URL: https://github.com/GrahamDumpleton/wrapt
Source: https://github.com/GrahamDumpleton/wrapt/archive/%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}