diff --git a/python-typing-extensions.spec b/python-typing-extensions.spec index 1bb67c8f52db146e4ca4bb0816c48e152db1bfbd..f5c7164b4785f390e554adf0c4881446236ff369 100644 --- a/python-typing-extensions.spec +++ b/python-typing-extensions.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-typing-extensions -Version: 3.10.0.0 -Release: 1 +Version: 4.10.0 +Release: 2 Summary: Backported and Experimental Type Hints for Python 3.5+ -License: PSF +License: PSF-2.0 URL: https://github.com/python/typing/blob/master/typing_extensions/README.rst -Source0: https://files.pythonhosted.org/packages/aa/55/62e2d4934c282a60b4243a950c9dbfa01ae7cac0e8d6c0b5315b87432c81/typing_extensions-3.10.0.0.tar.gz +Source0: https://files.pythonhosted.org/packages/16/3a/0d26ce356c7465a19c9ea8814b960f8a36c3b0d07c323176620b7b483e44/typing_extensions-4.10.0.tar.gz BuildArch: noarch %description Typing Extensions - Backported and Experimental Type Hints for Python. @@ -17,13 +17,13 @@ module are also included in typing_extensions, such as typing.ParamSpec and typi %package -n python3-typing-extensions Summary: Backported and Experimental Type Hints for Python 3.5+ -Provides: python-typing-extensions +Provides: python-typing-extensions = %{version}-%{release} # Base build requires BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pbr -BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python3-pip python3-flit-core +BuildRequires: python3-wheel python3-test %description -n python3-typing-extensions Typing Extensions -Backported and Experimental Type Hints for Python. @@ -34,13 +34,13 @@ Provides: python3-typing-extensions-doc Typing Extensions -Backported and Experimental Type Hints for Python. %prep -%autosetup -n typing_extensions-%{version} +%autosetup -n typing_extensions-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi @@ -69,16 +69,40 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} src_py3/test_typing_extensions.py +cd src +%{__python3} -m unittest discover %files -n python3-typing-extensions -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/__pycache__/ %files help -f doclist.lst +%license LICENSE +%doc CHANGELOG.md README.md %{_docdir}/* %changelog +* Mon Mar 4 2024 Han Guangyu - 4.10.0-2 +- Remove unused `Make-tests-pass-on-conda-builds.patch` to fix ci_failed. + +* Mon Mar 4 2024 Dongxing Wang - 4.10.0-1 +- Update package with version 4.10.0 + Add support for PEP 728, PEP 742 + Drop runtime error when a read-only TypedDict item overrides a mutable one. + Speedup issubclass() checks against simple runtime-checkable protocols by around 6%. + Add support for PEP 705, adding typing_extensions.ReadOnly. + Drop support for Python 3.7 (including PyPy-3.7). + +* Fri Feb 2 2024 liyanan - 4.5.0-2 +- Make tests pass on conda builds + +* Tue May 9 2023 liyanan - 4.5.0-1 +- Update package to version 4.5.0 + +* Fri May 06 2022 huangtianhua - 3.10.0.2-1 +- upgrade to 3.10.0.2 to fix python3.10 test error + * Thu Aug 26 2021 orange-snn - 3.10.0.0-1 - update to 3.10.0.0 diff --git a/typing_extensions-4.10.0.tar.gz b/typing_extensions-4.10.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..d3ab9234b0063260b8376cadf7b0bec2bad66064 Binary files /dev/null and b/typing_extensions-4.10.0.tar.gz differ