Accepting request 1067476 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1067476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2023-02-25 18:54:55 +00:00 committed by Git OBS Bridge
commit 3412aae318
5 changed files with 12 additions and 17 deletions

View File

@ -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]

View File

@ -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>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1511434bb92bf8dd198c12b1cc812e800d4181cfcb867674e0f8279cc93087aa
size 49708

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb
size 52399