14
0

- update to 4.3.0:

* Added support for checking against static protocols
  * Fixed some compatibility problems when running on Python 3.13
  * Fixed test suite incompatibility with pytest 8.2
  * Fixed pytest plugin crashing on pytest version older than
    v7.0.0 (even if it's just present)
  * Fixed missing typing_extensions dependency for Python 3.12
  * Fixed deprecation warning in the test suite on Python 3.13
  * Added support for specifying options for the pytest plugin
    via pytest config files
  * Avoid creating reference cycles when type checking unions (PR
    by Shantanu)
  * Fixed Optional[...] being removed from the AST if it was
    located within a subscript
  * Fixed TypedDict from typing_extensions not being recognized
    as one
  * Fixed typing types (dict[str, int], List[str], etc.) not
    passing checks against type or Type
  * Fixed detection of optional fields (NotRequired[...]) in
    TypedDict when using forward references
  * Fixed mapping checks against Django's MultiValueDict

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typeguard?expand=0&rev=12
This commit is contained in:
2024-06-08 13:06:28 +00:00
committed by Git OBS Bridge
parent 3b1315492d
commit fa0ba54dc1
4 changed files with 36 additions and 8 deletions

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sat Jun 8 13:05:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.3.0:
* Added support for checking against static protocols
* Fixed some compatibility problems when running on Python 3.13
* Fixed test suite incompatibility with pytest 8.2
* Fixed pytest plugin crashing on pytest version older than
v7.0.0 (even if it's just present)
* Fixed missing typing_extensions dependency for Python 3.12
* Fixed deprecation warning in the test suite on Python 3.13
* Added support for specifying options for the pytest plugin
via pytest config files
* Avoid creating reference cycles when type checking unions (PR
by Shantanu)
* Fixed Optional[...] being removed from the AST if it was
located within a subscript
* Fixed TypedDict from typing_extensions not being recognized
as one
* Fixed typing types (dict[str, int], List[str], etc.) not
passing checks against type or Type
* Fixed detection of optional fields (NotRequired[...]) in
TypedDict when using forward references
* Fixed mapping checks against Django's MultiValueDict
-------------------------------------------------------------------
Mon Dec 4 11:32:09 UTC 2023 - Dirk Müller <dmueller@suse.com>