13
0

9 Commits

Author SHA256 Message Date
31e4b8e7e1 Accepting request 1288852 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1288852
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typeguard?expand=0&rev=10
2025-06-30 11:03:35 +00:00
565cf22e59 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typeguard?expand=0&rev=21
2025-06-27 14:21:13 +00:00
b830d936b8 Accepting request 1250003 from devel:languages:python
- drop unneeded dependency
- 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

OBS-URL: https://build.opensuse.org/request/show/1250003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typeguard?expand=0&rev=9
2025-03-06 13:48:09 +00:00
4a95815bb9 - drop unneeded dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typeguard?expand=0&rev=19
2025-03-04 09:15:16 +00:00
8d35897070 Accepting request 1249214 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1249214
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typeguard?expand=0&rev=18
2025-03-04 09:13:27 +00:00
48dc5b701c Accepting request 1225374 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1225374
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typeguard?expand=0&rev=8
2024-11-21 14:13:27 +00:00
33ab618fa1 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typeguard?expand=0&rev=16
2024-11-20 17:29:24 +00:00
855db9f0f3 Accepting request 1219719 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1219719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typeguard?expand=0&rev=7
2024-11-01 20:00:42 +00:00
f7ff59fe4d - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typeguard?expand=0&rev=14
2024-10-30 19:48:17 +00:00
4 changed files with 71 additions and 6 deletions

View File

@@ -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>

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.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)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:97e071dea3507d41f10d6254ee41893c3e5e264570f0dc860a3dde95763dee97
size 71834