Sync from SUSE:SLFO:Main python-typing_extensions revision 22ec4cb8694963f69563c89b20844545
This commit is contained in:
@@ -1,3 +1,96 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 8 13:12:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 4.12.2:
|
||||||
|
* Fix regression in v4.12.0 where specialization of certain
|
||||||
|
* generics with an overridden `__eq__` method would raise
|
||||||
|
errors.
|
||||||
|
* Fix tests so they pass on 3.13.0b2
|
||||||
|
* Preliminary changes for compatibility with the draft
|
||||||
|
implementation of PEP 649 in Python 3.14.
|
||||||
|
* Fix regression in v4.12.0 where nested `Annotated` types
|
||||||
|
would cause `TypeError` to be raised if the nested
|
||||||
|
`Annotated` type had unhashable metadata.
|
||||||
|
* Fix incorrect behaviour of `typing_extensions.ParamSpec` on
|
||||||
|
Python 3.8 and 3.9 that meant that
|
||||||
|
`isinstance(typing_extensions.ParamSpec("P"),
|
||||||
|
typing.TypeVar)` would have a different result in some
|
||||||
|
situations depending on whether or not a profiling
|
||||||
|
function had been set using `sys.setprofile`.
|
||||||
|
* This release focuses on compatibility with the upcoming
|
||||||
|
release of Python 3.13. Most changes are related to the
|
||||||
|
implementation of type parameter defaults (PEP 696).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 6 17:27:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 4.11.0:
|
||||||
|
* Fix tests on Python 3.13.0a5. Patch by Jelle Zijlstra.
|
||||||
|
* Fix the runtime behavior of type parameters with defaults
|
||||||
|
* Fix minor discrepancy between error messages produced by
|
||||||
|
`typing` and `typing_extensions` on Python 3.10.
|
||||||
|
* When `include_extra=False`, `get_type_hints()` now strips
|
||||||
|
`ReadOnly` from the annotation.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 07:10:15 UTC 2024 - Adrian Schröter <adrian@suse.de>
|
||||||
|
|
||||||
|
- update to 4.10.0:
|
||||||
|
This feature release adds support for PEP 728 (TypedDict with extra
|
||||||
|
items) and PEP 742 (``TypeIs``).
|
||||||
|
- Add support for PEP 728, supporting the `closed` keyword argument and the
|
||||||
|
special `__extra_items__` key for TypedDict. Patch by Zixuan James Li.
|
||||||
|
- Add support for PEP 742, adding `typing_extensions.TypeIs`. Patch
|
||||||
|
by Jelle Zijlstra.
|
||||||
|
- Drop runtime error when a read-only `TypedDict` item overrides a mutable
|
||||||
|
one. Type checkers should still flag this as an error. Patch by Jelle
|
||||||
|
Zijlstra.
|
||||||
|
- Speedup `issubclass()` checks against simple runtime-checkable protocols by
|
||||||
|
around 6% (backporting https://github.com/python/cpython/pull/112717, by Alex
|
||||||
|
Waygood).
|
||||||
|
- Fix a regression in the implementation of protocols where `typing.Protocol`
|
||||||
|
classes that were not marked as `@runtime_checkable` would be unnecessarily
|
||||||
|
introspected, potentially causing exceptions to be raised if the protocol had
|
||||||
|
problematic members. Patch by Alex Waygood, backporting
|
||||||
|
https://github.com/python/cpython/pull/113401.
|
||||||
|
- obsoletes backport-recent-implementation-of-protocol.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 8 18:18:41 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Add backport-recent-implementation-of-protocol.patch upstream patch
|
||||||
|
gh#python/typing_extensions@004b893ddce2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 27 11:35:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 4.9.0:
|
||||||
|
* This feature release adds `typing_extensions.ReadOnly`, as
|
||||||
|
specified by PEP 705, and makes various other improvements,
|
||||||
|
especially to `@typing_extensions.deprecated()`.
|
||||||
|
* Add support for PEP 705, adding `typing_extensions.ReadOnly`.
|
||||||
|
* All parameters on `NewType.__call__` are now positional-only.
|
||||||
|
This means that the signature of
|
||||||
|
`typing_extensions.NewType.__call__` now exactly matches the
|
||||||
|
* signature of `typing.NewType.__call__`.
|
||||||
|
* Fix bug with using `@deprecated` on a mixin class.
|
||||||
|
* Exclude `__match_args__` from `Protocol` members.
|
||||||
|
* When creating a `typing_extensions.NamedTuple` class, ensure
|
||||||
|
`__set_name__` is called on all objects that define
|
||||||
|
`__set_name__` and exist in the values of the `NamedTuple`
|
||||||
|
class's class dictionary.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 10:26:29 UTC 2023 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Update to 4.8.0:
|
||||||
|
- Add typing_extensions.Doc, as proposed by PEP 727
|
||||||
|
- Drop support for Python 3.7 (including PyPy-3.7)
|
||||||
|
- Fix bug where get_original_bases() would return incorrect
|
||||||
|
results when called on a concrete subclass of a generic class
|
||||||
|
- Fix bug where ParamSpec(default=...) would raise a TypeError
|
||||||
|
on Python versions <3.11
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 13 12:53:12 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
Sun Aug 13 12:53:12 UTC 2023 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
@@ -301,7 +394,7 @@ Sat Nov 13 20:42:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|||||||
- Update to 3.10.0.2:
|
- Update to 3.10.0.2:
|
||||||
* Docs improvements
|
* Docs improvements
|
||||||
* Fixes crash and _GenericAlias import
|
* Fixes crash and _GenericAlias import
|
||||||
* Support most use cases for PEP 612 with Generic
|
* Support most use cases for PEP 612 with Generic
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 12 13:11:30 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
Mon Jul 12 13:11:30 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||||
@@ -328,7 +421,7 @@ Tue Jan 12 14:44:39 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Dec 20 09:11:23 UTC 2020 - Dirk Müller <dmueller@suse.com>
|
Sun Dec 20 09:11:23 UTC 2020 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- add transitional typing-extensions provides
|
- add transitional typing-extensions provides
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 4 00:11:53 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
Wed Nov 4 00:11:53 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
@@ -340,7 +433,7 @@ Thu Oct 15 12:51:36 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
|||||||
|
|
||||||
- update to version 3.7.4.3:
|
- update to version 3.7.4.3:
|
||||||
* enables PEP 613 Typealias to typing_extensions
|
* enables PEP 613 Typealias to typing_extensions
|
||||||
* Fix tests for Python 3.9
|
* Fix tests for Python 3.9
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 6 08:53:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Mon Apr 6 08:53:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-typing_extensions
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 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
|
||||||
@@ -27,13 +27,13 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-typing_extensions%{psuffix}
|
Name: python-typing_extensions%{psuffix}
|
||||||
Version: 4.7.1
|
Version: 4.12.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Backported and Experimental Type Hints for Python 3.7+
|
Summary: Backported and Experimental Type Hints for Python 3.8+
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
URL: https://github.com/python/typing/
|
URL: https://github.com/python/typing_extensions
|
||||||
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
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
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}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@@ -72,7 +72,7 @@ In the future, support for older Python versions will be dropped some time
|
|||||||
after that version reaches end of life.
|
after that version reaches end of life.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n typing_extensions-%{version}
|
%autosetup -p1 -n typing_extensions-%{version}
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
|
BIN
typing_extensions-4.12.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
typing_extensions-4.12.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
typing_extensions-4.7.1.tar.gz
(Stored with Git LFS)
BIN
typing_extensions-4.7.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user