Compare commits

...

No commits in common. 'i9cf' and 'epel9' have entirely different histories.
i9cf ... epel9

24
.gitignore vendored

@ -1 +1,23 @@
SOURCES/typing_extensions-4.4.0.tar.gz /typing_extensions-3.7.2.tar.gz
/typing_extensions-3.7.4.tar.gz
/typing_extensions-3.7.4.2.tar.gz
/typing_extensions-3.7.4.3.tar.gz
/typing_extensions-3.10.0.0.tar.gz
/typing_extensions-3.10.0.2.tar.gz
/typing_extensions-4.2.0.tar.gz
/typing_extensions-4.4.0.tar.gz
/typing_extensions-4.5.0.tar.gz
/typing_extensions-4.6.0.tar.gz
/typing_extensions-4.6.1.tar.gz
/typing_extensions-4.6.2.tar.gz
/typing_extensions-4.6.3.tar.gz
/typing_extensions-4.7.0.tar.gz
/typing_extensions-4.7.1.tar.gz
/typing_extensions-4.8.0.tar.gz
/typing_extensions-4.9.0.tar.gz
/typing_extensions-4.10.0rc1.tar.gz
/typing_extensions-4.10.0.tar.gz
/typing_extensions-4.11.0.tar.gz
/typing_extensions-4.12.0.tar.gz
/typing_extensions-4.12.1.tar.gz
/typing_extensions-4.12.2.tar.gz

@ -1 +0,0 @@
9dbf798784009efaef80c8198a75b2a9e519eb95 SOURCES/typing_extensions-4.4.0.tar.gz

@ -0,0 +1,3 @@
# python-typing-extensions
The python-typing-extensions package

@ -1,8 +0,0 @@
from __future__ import annotations
from typing import Generic, Optional, T
from typing_extensions import TypedDict
class FooGeneric(TypedDict, Generic[T]):
a: Optional[T]

@ -1,5 +1,5 @@
Name: python-typing-extensions Name: python-typing-extensions
Version: 4.4.0 Version: 4.12.2
Release: 2%{?dist} Release: 2%{?dist}
Summary: Python Typing Extensions Summary: Python Typing Extensions
@ -7,9 +7,6 @@ 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
@ -17,30 +14,23 @@ 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. For example, Enable use of new type system features on older Python versions.
`typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows For example, typing.TypeGuard is new in Python 3.10, but typing_extensions
users on Python 3.6 through 3.9 to use it too. allows users on previous Python versions to use it too.
- Enable experimentation with new type system PEPs before they are accepted and
added to the `typing` module. Enable experimentation with new type system PEPs before they are accepted and
added to the typing module.
New features may be added to `typing_extensions` as soon as they are specified
in a PEP that has been added to the [python/peps](https://github.com/python/peps) typing_extensions is treated specially by static type checkers such as mypy and
repository. If the PEP is accepted, the feature will then be added to `typing` pyright. Objects defined in typing_extensions are treated the same way as
for the next CPython release. No typing PEP has been rejected so far, so we equivalent forms in typing.
haven't yet figured out how to deal with that possibility.
typing_extensions uses Semantic Versioning. The major version will be
Starting with version 4.0.0, `typing_extensions` uses incremented only for backwards-incompatible changes. Therefore, it's safe to
[Semantic Versioning](https://semver.org/). The depend on typing_extensions like this: typing_extensions >=x.y, <(x+1),
major version is incremented for all backwards-incompatible changes. where x.y is the first version that includes all features you need.}
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
@ -52,7 +42,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
@ -72,14 +62,85 @@ cp -v %{SOURCE1} src/
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
* Wed Jan 10 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.4.0-2 * Mon Jun 10 2024 Python Maint <python-maint@redhat.com> - 4.12.2-2
- Rebuilt for MSVSphere 9.3 - Rebuilt for Python 3.13
* 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

@ -0,0 +1 @@
SHA512 (typing_extensions-4.12.2.tar.gz) = b06f26ae55194f37ee48dcb894bf583051c9e74f639f25195990f56330eae7b585ab4b8655ca575539f48254c20f1920628db6db10512953d1f6364e3c076a27
Loading…
Cancel
Save