Compare commits

..

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

24
.gitignore vendored

@ -1,23 +1 @@
/typing_extensions-3.7.2.tar.gz SOURCES/typing_extensions-4.4.0.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

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

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

@ -0,0 +1,8 @@
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.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

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