forked from pool/python-typing_extensions
Accepting request 1067343 from system:homeautomation:home-assistant:unstable
- 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 OBS-URL: https://build.opensuse.org/request/show/1067343 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=41
This commit is contained in:
parent
6553b449b3
commit
b973ccc3d1
@ -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,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 23 09:31:47 UTC 2023 - Adrian Schröter <adrian@suse.de>
|
||||||
|
|
||||||
|
- 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 <code@bnavigator.de>
|
Sun Nov 20 19:40:35 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -26,14 +26,12 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-typing_extensions%{psuffix}
|
Name: python-typing_extensions%{psuffix}
|
||||||
Version: 4.4.0
|
Version: 4.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Backported and Experimental Type Hints for Python 3.7+
|
Summary: Backported and Experimental Type Hints for Python 3.7+
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
URL: https://github.com/python/typing/
|
URL: https://github.com/python/typing/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-%{version}.tar.gz
|
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 base >= 3.7}
|
||||||
BuildRequires: %{python_module flit-core >= 3.4 with %python-flit-core < 4}
|
BuildRequires: %{python_module flit-core >= 3.4 with %python-flit-core < 4}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
@ -74,8 +72,6 @@ after that version reaches end of life.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n typing_extensions-%{version}
|
%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}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa
|
|
||||||
size 49708
|
|
3
typing_extensions-4.5.0.tar.gz
Normal file
3
typing_extensions-4.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb
|
||||||
|
size 52399
|
Loading…
Reference in New Issue
Block a user