Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
31e4b8e7e1 | |||
565cf22e59 | |||
b830d936b8 | |||
4a95815bb9 | |||
8d35897070 | |||
48dc5b701c | |||
33ab618fa1 | |||
855db9f0f3 | |||
f7ff59fe4d |
@@ -1,3 +1,69 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 25 14:16:58 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 4.4.4
|
||||
* Fixed IndexError when using @typechecked on more than one
|
||||
function with the same name under certain circumstances (#527)
|
||||
* Fixed TypeError during type checking when the value to check
|
||||
is a parametrized generic class (#526)
|
||||
- from version 4.4.3
|
||||
* Fixed @typechecked unable to find the target function or method if
|
||||
it or the containing class had PEP 695 type parameters on them (#500)
|
||||
* Fixed handling of union types on Python 3.14 (#522)
|
||||
* Fixed __type_params__ getting lost when a function is instrumented
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -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.4
|
||||
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)
BIN
typeguard-4.3.0-gh.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
typeguard-4.4.4-gh.tar.gz
Normal file
3
typeguard-4.4.4-gh.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:97e071dea3507d41f10d6254ee41893c3e5e264570f0dc860a3dde95763dee97
|
||||
size 71834
|
Reference in New Issue
Block a user