Updated description

epel9
Jonny Heggheim 3 years ago
parent 07ed28c0c0
commit 75ef596be2

@ -17,21 +17,30 @@ BuildRequires: python3-pytest
%global _description %{expand: %global _description %{expand:
Typing Extensions - Backported and Experimental Type Hints for Python The `typing_extensions` module serves two related purposes:
The typing module was added to the standard library in Python 3.5 on a - Enable use of new type system features on older Python versions. For example,
provisional basis and will no longer be provisional in Python 3.7. `typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows
However, this means users of Python 3.5 - 3.6 who are unable to upgrade will not users on Python 3.6 through 3.9 to use it too.
be able to take advantage of new types added to the typing module, such as - Enable experimentation with new type system PEPs before they are accepted and
typing.Text or typing.Coroutine. added to the `typing` module.
The typing_extensions module contains both backports of these changes as well as New features may be added to `typing_extensions` as soon as they are specified
experimental types that will eventually be added to the typing module, such as in a PEP that has been added to the [python/peps](https://github.com/python/peps)
Protocol. repository. If the PEP is accepted, the feature will then be added to `typing`
for the next CPython release. No typing PEP has been rejected so far, so we
Users of other Python versions should continue to install and use the typing haven't yet figured out how to deal with that possibility.
module from PyPi instead of using this one unless specifically writing code that
must be compatible with multiple Python versions or requires experimental types.} Starting with version 4.0.0, `typing_extensions` uses
[Semantic Versioning](https://semver.org/). The
major version is incremented for all backwards-incompatible changes.
Therefore, it's safe to depend
on `typing_extensions` like this: `typing_extensions >=x.y, <(x+1)`,
where `x.y` is the first version that includes all features you need.
`typing_extensions` supports Python versions 3.7 and higher. In the future,
support for older Python versions will be dropped some time after that version
reaches end of life.}
%description %_description %description %_description

Loading…
Cancel
Save