14
0

- 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
This commit is contained in:
2024-11-20 17:29:24 +00:00
committed by Git OBS Bridge
parent f7ff59fe4d
commit 33ab618fa1
4 changed files with 28 additions and 4 deletions

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
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>