Accepting request 1135644 from devel:languages:python

- update to 4.9.0:
  * This feature release adds `typing_extensions.ReadOnly`, as
    specified by PEP 705, and makes various other improvements,
    especially to `@typing_extensions.deprecated()`.
  * Add support for PEP 705, adding `typing_extensions.ReadOnly`.
  * All parameters on `NewType.__call__` are now positional-only.
    This means that the signature of
    `typing_extensions.NewType.__call__` now exactly matches the
  * signature of `typing.NewType.__call__`.
  * Fix bug with using `@deprecated` on a mixin class.
  * Exclude `__match_args__` from `Protocol` members.
  * When creating a `typing_extensions.NamedTuple` class, ensure
    `__set_name__` is called on all objects that define
    `__set_name__` and exist in the values of the `NamedTuple`
    class's class dictionary.

  * Support most use cases for PEP 612 with Generic
- add transitional typing-extensions provides
  * Fix tests for Python 3.9

OBS-URL: https://build.opensuse.org/request/show/1135644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=22
This commit is contained in:
Ana Guerrero 2024-01-09 19:48:27 +00:00 committed by Git OBS Bridge
commit 34666d254a
4 changed files with 26 additions and 7 deletions

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Dec 27 11:35:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.9.0:
* This feature release adds `typing_extensions.ReadOnly`, as
specified by PEP 705, and makes various other improvements,
especially to `@typing_extensions.deprecated()`.
* Add support for PEP 705, adding `typing_extensions.ReadOnly`.
* All parameters on `NewType.__call__` are now positional-only.
This means that the signature of
`typing_extensions.NewType.__call__` now exactly matches the
* signature of `typing.NewType.__call__`.
* Fix bug with using `@deprecated` on a mixin class.
* Exclude `__match_args__` from `Protocol` members.
* When creating a `typing_extensions.NamedTuple` class, ensure
`__set_name__` is called on all objects that define
`__set_name__` and exist in the values of the `NamedTuple`
class's class dictionary.
-------------------------------------------------------------------
Thu Oct 19 10:26:29 UTC 2023 - Matej Cepl <mcepl@cepl.eu>

View File

@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-typing_extensions%{psuffix}
Version: 4.8.0
Version: 4.9.0
Release: 0
Summary: Backported and Experimental Type Hints for Python 3.8+
License: Python-2.0

View File

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

BIN
typing_extensions-4.9.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.