1
0

Compare commits

...

4 Commits

Author SHA256 Message Date
Ana Guerrero
a7efd60e59 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
7895a40d27 - 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
Dominique Leuenberger
9dc5a7ae50 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
a6377752b1 - 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 39 additions and 4 deletions

View File

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

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-typeguard
Version: 4.3.0
Version: 4.4.1
Release: 0
Summary: Library for runtime checking of Python types
License: MIT

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:562e7bbf300649b416a6dd8654cc2f6d7be6aa6c9a67354dfcfd137a6f5901b3
size 71269