diff --git a/_typed_dict_test_helper.py b/_typed_dict_test_helper.py deleted file mode 100644 index ded561c..0000000 --- a/_typed_dict_test_helper.py +++ /dev/null @@ -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] diff --git a/python-typing_extensions.changes b/python-typing_extensions.changes index 10ddd1e..2681cd7 100644 --- a/python-typing_extensions.changes +++ b/python-typing_extensions.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 23 09:31:47 UTC 2023 - Adrian Schröter + +- update to version 4.5.0 + Details can be found here: https://pypi.org/project/typing-extensions/4.5.0/ +- obsoletes _typed_dict_test_helper.py hack + ------------------------------------------------------------------- Sun Nov 20 19:40:35 UTC 2022 - Ben Greiner diff --git a/python-typing_extensions.spec b/python-typing_extensions.spec index aa5efe5..80a801c 100644 --- a/python-typing_extensions.spec +++ b/python-typing_extensions.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,14 +26,12 @@ %endif Name: python-typing_extensions%{psuffix} -Version: 4.4.0 +Version: 4.5.0 Release: 0 Summary: Backported and Experimental Type Hints for Python 3.7+ License: Python-2.0 URL: https://github.com/python/typing/ Source0: https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-%{version}.tar.gz -# See https://github.com/python/typing_extensions/issues/61 -Source1: https://raw.githubusercontent.com/python/typing_extensions/%{version}/src/_typed_dict_test_helper.py BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module flit-core >= 3.4 with %python-flit-core < 4} BuildRequires: %{python_module pip} @@ -74,8 +72,6 @@ after that version reaches end of life. %prep %setup -q -n typing_extensions-%{version} -# This should not be necessary in the next release -[ ! -f src/_typed_dict_test_helper.py ] && cp %{SOURCE1} src/ || exit 1 %if !%{with test} %build diff --git a/typing_extensions-4.4.0.tar.gz b/typing_extensions-4.4.0.tar.gz deleted file mode 100644 index 21f9a5c..0000000 --- a/typing_extensions-4.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa -size 49708 diff --git a/typing_extensions-4.5.0.tar.gz b/typing_extensions-4.5.0.tar.gz new file mode 100644 index 0000000..3a7f0f7 --- /dev/null +++ b/typing_extensions-4.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb +size 52399