Compare commits

1 Commits
1.1 ... main

4 changed files with 57 additions and 6 deletions

View File

@@ -1,3 +1,55 @@
-------------------------------------------------------------------
Tue Mar 4 09:14:50 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- drop unneeded dependency
-------------------------------------------------------------------
Fri Feb 28 09:51:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.4.2
* Fixed ``TypeCheckError`` in unpacking assignment involving
properties of a parameter of the function
* Fixed display of module name for forward references
* Fixed ``TypeError`` when using an assignment expression
* Fixed ``ValueError: no signature found for builtin`` when
checking against a protocol and a matching attribute in the
subject is a built-in function
-------------------------------------------------------------------
Wed Nov 20 17:29:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.4.1:
* Dropped Python 3.8 support
* Changed the signature of typeguard_ignore() to be compatible
with typing.no_type_check() (PR by @jolaf)
* Avoid creating reference cycles when type checking uniontypes
and classes
* Fixed checking of variable assignments involving tuple
unpacking
* Fixed TypeError when checking a class against type[Self]
* Fixed checking of protocols on the class level (against
type[SomeProtocol])
* Fixed Self checks in instance/class methods that have
positional-only arguments
* Fixed explicit checks of PEP 604 unions against
types.UnionType
* Fixed checks against annotations wrapped in NotRequired not
being run unless the NotRequired is a forward reference
* Fixed the pytest_ignore_collect hook in the pytest plugin
blocking default pytest collection ignoring behavior by
returning None instead of False (PR by @mgorny)
-------------------------------------------------------------------
Wed Oct 30 19:48:05 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.4.0:
* Added proper checking for method signatures in protocol
checks
* Fixed basic support for intersection protocols
* Fixed protocol checks running against the class of an
instance and not the instance itself (this produced wrong
results for non-method member checks)
-------------------------------------------------------------------
Sat Jun 8 13:05:55 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-typeguard
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-typeguard
Version: 4.3.0
Version: 4.4.2
Release: 0
Summary: Library for runtime checking of Python types
License: MIT
@@ -33,7 +33,6 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
Requires: python-importlib-metadata >= 3.6
Requires: python-typing-extensions >= 4.10.0
%python_subpackages

BIN
typeguard-4.3.0-gh.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
typeguard-4.4.2-gh.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.