|
|
@ -1,5 +1,5 @@
|
|
|
|
Name: python-typing-extensions
|
|
|
|
Name: python-typing-extensions
|
|
|
|
Version: 4.12.2
|
|
|
|
Version: 4.4.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Python Typing Extensions
|
|
|
|
Summary: Python Typing Extensions
|
|
|
|
|
|
|
|
|
|
|
@ -7,6 +7,9 @@ License: PSF-2.0
|
|
|
|
URL: https://pypi.org/project/typing-extensions/
|
|
|
|
URL: https://pypi.org/project/typing-extensions/
|
|
|
|
Source0: %{pypi_source typing_extensions}
|
|
|
|
Source0: %{pypi_source typing_extensions}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/python/typing_extensions/pull/97
|
|
|
|
|
|
|
|
Source1: https://github.com/python/typing_extensions/raw/4.4.0/src/_typed_dict_test_helper.py
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
@ -14,23 +17,30 @@ BuildRequires: python3-test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
The typing_extensions module serves two related purposes:
|
|
|
|
The `typing_extensions` module serves two related purposes:
|
|
|
|
|
|
|
|
|
|
|
|
Enable use of new type system features on older Python versions.
|
|
|
|
- Enable use of new type system features on older Python versions. For example,
|
|
|
|
For example, typing.TypeGuard is new in Python 3.10, but typing_extensions
|
|
|
|
`typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows
|
|
|
|
allows users on previous Python versions to use it too.
|
|
|
|
users on Python 3.6 through 3.9 to use it too.
|
|
|
|
|
|
|
|
- Enable experimentation with new type system PEPs before they are accepted and
|
|
|
|
Enable experimentation with new type system PEPs before they are accepted and
|
|
|
|
added to the `typing` module.
|
|
|
|
added to the typing module.
|
|
|
|
|
|
|
|
|
|
|
|
New features may be added to `typing_extensions` as soon as they are specified
|
|
|
|
typing_extensions is treated specially by static type checkers such as mypy and
|
|
|
|
in a PEP that has been added to the [python/peps](https://github.com/python/peps)
|
|
|
|
pyright. Objects defined in typing_extensions are treated the same way as
|
|
|
|
repository. If the PEP is accepted, the feature will then be added to `typing`
|
|
|
|
equivalent forms in typing.
|
|
|
|
for the next CPython release. No typing PEP has been rejected so far, so we
|
|
|
|
|
|
|
|
haven't yet figured out how to deal with that possibility.
|
|
|
|
typing_extensions uses Semantic Versioning. The major version will be
|
|
|
|
|
|
|
|
incremented only for backwards-incompatible changes. Therefore, it's safe to
|
|
|
|
Starting with version 4.0.0, `typing_extensions` uses
|
|
|
|
depend on typing_extensions like this: typing_extensions >=x.y, <(x+1),
|
|
|
|
[Semantic Versioning](https://semver.org/). The
|
|
|
|
where x.y is the first version that includes all features you need.}
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
@ -42,7 +52,7 @@ Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n typing_extensions-%{version}
|
|
|
|
%autosetup -n typing_extensions-%{version}
|
|
|
|
|
|
|
|
cp -v %{SOURCE1} src/
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires
|
|
|
|
%pyproject_buildrequires
|
|
|
@ -62,85 +72,14 @@ Summary: %{summary}
|
|
|
|
cd src
|
|
|
|
cd src
|
|
|
|
%{python3} -m unittest discover
|
|
|
|
%{python3} -m unittest discover
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
|
|
|
%files -n python3-typing-extensions -f %{pyproject_files}
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 10 2024 Python Maint <python-maint@redhat.com> - 4.12.2-2
|
|
|
|
* Wed Jan 10 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.4.0-2
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Jonny Heggheim <hegjon@gmail.com> - 4.12.2-1
|
|
|
|
|
|
|
|
- Updated to version 4.12.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 4.12.1-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 4.12.1-1
|
|
|
|
|
|
|
|
- Updated to version 4.12.1 (close RHBZ#2280883)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 29 2024 Karolina Surma <ksurma@redhat.com> - 4.12.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.12.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Apr 09 2024 Jonny Heggheim <hegjon@gmail.com> - 4.11.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.11.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 27 2024 Jonny Heggheim <hegjon@gmail.com> - 4.10.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.10.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 18 2024 Jonny Heggheim <hegjon@gmail.com> - 4.10.0~rc1-1
|
|
|
|
|
|
|
|
- Updated to version 4.10.0rc1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 16 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 4.9.0-4
|
|
|
|
|
|
|
|
- Fix test_generic_protocols_special_from_protocol with latest Python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.0-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 10 2023 Jonny Heggheim <hegjon@gmail.com> - 4.9.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.9.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 18 2023 Jonny Heggheim <hegjon@gmail.com> - 4.8.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.8.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 02 2023 Jonny Heggheim <hegjon@gmail.com> - 4.7.1-1
|
|
|
|
|
|
|
|
- Updated to version 4.7.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 4.7.0-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 28 2023 Jonny Heggheim <hegjon@gmail.com> - 4.7.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.7.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 4.6.3-2
|
|
|
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 03 2023 Jonny Heggheim <hegjon@gmail.com> - 4.6.3-1
|
|
|
|
|
|
|
|
- Updated to version 4.6.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu May 25 2023 Jonny Heggheim <hegjon@gmail.com> - 4.6.2-1
|
|
|
|
|
|
|
|
- Updated to version 4.6.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 24 2023 Jonny Heggheim <hegjon@gmail.com> - 4.6.1-1
|
|
|
|
|
|
|
|
- Updated to version 4.6.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 23 2023 Jonny Heggheim <hegjon@gmail.com> - 4.6.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.6.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 15 2023 Jonny Heggheim <hegjon@gmail.com> - 4.5.0-1
|
|
|
|
|
|
|
|
- Updated to version 4.5.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 29 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.4.0-2
|
|
|
|
* Tue Nov 29 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.4.0-2
|
|
|
|
- Update License to SPDX
|
|
|
|
- Update License to SPDX
|