- Clean specfile from old cruft.
- Requires Python 3.7+
- Fix testsuite: Must test as module; don't need multibuild.
- Update Summary and Description
- Update to version 4.4.0
* Add `typing_extensions.Any` a backport of python 3.11's Any class which is
subclassable at runtime. (backport from python/cpython#31841, by Shantanu
and Jelle Zijlstra). Patch by James Hilton-Balfe (@Gobot1234).
* Add initial support for TypeVarLike `default` parameter, PEP 696.
Patch by Marc Mueller (@cdce8p).
* Runtime support for PEP 698, adding `typing_extensions.override`. Patch by
Jelle Zijlstra.
* Add the `infer_variance` parameter to `TypeVar`, as specified in PEP 695.
Patch by Jelle Zijlstra.
OBS-URL: https://build.opensuse.org/request/show/1031001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=16
- Update to version 4.4.0
* Add `typing_extensions.Any` a backport of python 3.11's Any class which is
subclassable at runtime. (backport from python/cpython#31841, by Shantanu
and Jelle Zijlstra). Patch by James Hilton-Balfe (@Gobot1234).
* Add initial support for TypeVarLike `default` parameter, PEP 696.
Patch by Marc Mueller (@cdce8p).
* Runtime support for PEP 698, adding `typing_extensions.override`. Patch by
Jelle Zijlstra.
* Add the `infer_variance` parameter to `TypeVar`, as specified in PEP 695.
Patch by Jelle Zijlstra.
OBS-URL: https://build.opensuse.org/request/show/1029737
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=35
- Update to version 4.2.0
* Re-export `typing.Unpack` and `typing.TypeVarTuple` on Python 3.11.
* Add `ParamSpecArgs` and `ParamSpecKwargs` to `__all__`.
* Improve "accepts only single type" error messages.
* Improve the distributed package. Patch by Marc Mueller (@cdce8p).
* Update `typing_extensions.dataclass_transform` to rename the
`field_descriptors` parameter to `field_specifiers` and accept
arbitrary keyword arguments.
* Add `typing_extensions.get_overloads` and
`typing_extensions.clear_overloads`, and add registry support to
`typing_extensions.overload`. Backport from python/cpython#89263.
* Add `typing_extensions.assert_type`. Backport from bpo-46480.
* Drop support for Python 3.6. Original patch by Adam Turner (@AA-Turner).
- from version 4.1.1
* Fix importing `typing_extensions` on Python 3.7.0 and 3.7.1. Original
patch by Nikita Sobolev (@sobolevn).
- from version 4.1.0
* Runtime support for PEP 646, adding `typing_extensions.TypeVarTuple`
and `typing_extensions.Unpack`.
* Add interaction of `Required` and `NotRequired` with `__required_keys__`,
`__optional_keys__` and `get_type_hints()`. Patch by David Cabot (@d-k-bo).
* Runtime support for PEP 675 and `typing_extensions.LiteralString`.
* Add `Never` and `assert_never`. Backport from bpo-46475.
* `ParamSpec` args and kwargs are now equal to themselves. Backport from
bpo-46676. Patch by Gregory Beauregard (@GBeauregard).
* Add `reveal_type`. Backport from bpo-46414.
* Runtime support for PEP 681 and `typing_extensions.dataclass_transform`.
* `Annotated` can now wrap `ClassVar` and `Final`. Backport from
bpo-46491. Patch by Gregory Beauregard (@GBeauregard).
* Add missed `Required` and `NotRequired` to `__all__`. Patch by
OBS-URL: https://build.opensuse.org/request/show/971051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=31
- Drop the old tarball
- Replace test_modules.tar.gz with python-testsuite
- Remove fix_tests.patch which is half fixing test_modules.tar.gz,
and the other half is replaced with a less brittle sed.
- Remove unnecessary build dependencies
- Update to 3.7.2
* Pass *args and **kwargs to superclass in Generic.__new__
* Fix for issue #524
* Fix typing_extensions to support PEP 560
* Add annotations to NamedTuple children __new__ constructors
* Add missing 'NoReturn' to __all__ in typing.py
* Backport Generic.__new__ fix
* Fix IO.closed to be property
* Add Final to typing_extensions
* Fix instance/subclass checks of functions against runtime protocols
* Add Literal[...] types to typing_extensions
OBS-URL: https://build.opensuse.org/request/show/680053
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=2