1
0

8 Commits

Author SHA256 Message Date
734689340e Accepting request 1294417 from devel:languages:python
- update to 4.14.1:
  * Fix usage of `typing_extensions.TypedDict` nested inside
    other types (e.g., `typing.Type[typing_extensions.TypedDict]`).
    This is not allowed by the type system but worked on older
    versions, so we maintain support.

    with `@typing_extensions.deprecated`.

OBS-URL: https://build.opensuse.org/request/show/1294417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=30
2025-07-21 17:58:36 +00:00
a23cb0988a - update to 4.14.1:
* Fix usage of `typing_extensions.TypedDict` nested inside
    other types (e.g., `typing.Type[typing_extensions.TypedDict]`).
    This is not allowed by the type system but worked on older
    versions, so we maintain support.
    with `@typing_extensions.deprecated`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=66
2025-07-18 16:12:00 +00:00
fdf81fd8ee Accepting request 1291658 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1291658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=29
2025-07-10 21:15:00 +00:00
02bba913c9 - Update to 4.14.0
* Remove `__or__` and `__ror__` methods from `typing_extensions.Sentinel`
    on Python versions <3.10. PEP 604 was introduced in Python 3.10, and
    `typing_extensions` does not generally attempt to backport PEP-604 methods
    to prior versions.
  * Further update `typing_extensions.evaluate_forward_ref` with changes in Python 3.14.
- from version 4.14.0rc1
  * Drop support for Python 3.8 (including PyPy-3.8). Patch by Victorien Plot.
  * Do not attempt to re-export names that have been removed from `typing`,
    anticipating the removal of `typing.no_type_check_decorator` in Python 3.15.
    Patch by Jelle Zijlstra.
  * Update `typing_extensions.Format`, `typing_extensions.evaluate_forward_ref`, and
    `typing_extensions.TypedDict` to align
    with changes in Python 3.14. Patches by Jelle Zijlstra.
  * Fix tests for Python 3.14 and 3.15. Patches by Jelle Zijlstra.
  * Add support for inline typed dictionaries (PEP 764).
    Patch by [Victorien Plot](https://github.com/Viicos).
  * Add `typing_extensions.Reader` and `typing_extensions.Writer`. Patch by
    Sebastian Rittau.
  * Add support for sentinels (PEP 661). Patch by Victorien Plot.
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=64
2025-07-10 10:41:50 +00:00
e1db99fd05 Accepting request 1278841 from devel:languages:python
Forwarded request #1278677 from glaubitz

- Update to 4.13.2
    * Fix `TypeError` when taking the union of `typing_extensions.TypeAliasType`
      and a `typing.TypeAliasType` on Python 3.12 and 3.13.
    * Backport from CPython PR #132160) to avoid having user arguments
      shadowed in generated `__new__` by `@typing_extensions.deprecated`.
  - from version 4.13.1
    * Fix regression in 4.13.0 on Python 3.10.2 causing a `TypeError` when
      using `Concatenate`.
    * Fix `TypeError` when using `evaluate_forward_ref` on Python 3.10.1-2
      and 3.9.8-10.

OBS-URL: https://build.opensuse.org/request/show/1278841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=28
2025-05-23 12:27:37 +00:00
7a68043d34 Accepting request 1278677 from home:glaubitz:branches:devel:languages:python
- Update to 4.13.2
  * Fix `TypeError` when taking the union of `typing_extensions.TypeAliasType`
    and a `typing.TypeAliasType` on Python 3.12 and 3.13.
  * Backport from CPython PR #132160) to avoid having user arguments
    shadowed in generated `__new__` by `@typing_extensions.deprecated`.
- from version 4.13.1
  * Fix regression in 4.13.0 on Python 3.10.2 causing a `TypeError` when
    using `Concatenate`.
  * Fix `TypeError` when using `evaluate_forward_ref` on Python 3.10.1-2
    and 3.9.8-10.

OBS-URL: https://build.opensuse.org/request/show/1278677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=62
2025-05-20 14:44:18 +00:00
e71ec3240b Accepting request 1265375 from devel:languages:python
- update to 4.13.0:
  * Add `typing_extensions.TypeForm` from PEP 747.
  * Add `typing_extensions.get_annotations`, a backport of
  * `inspect.get_annotations` that adds features specified
  * by PEP 649.
  * Backport `evaluate_forward_ref` from CPython
  * Update PEP 728 implementation to a newer version of the PEP.
  * Copy the coroutine status of functions and methods wrapped
    with `@typing_extensions.deprecated`. 
  * Fix bug where `TypeAliasType` instances could be subscripted
    even where they were not generic.
  * Fix bug where a subscripted `TypeAliasType` instance did not
    have all attributes of the original `TypeAliasType` instance
    on older Python versions.
  * Fix bug where subscripted `TypeAliasType` instances (and some
    other subscripted objects) had wrong parameters if they were
    directly subscripted with an `Unpack` object.

OBS-URL: https://build.opensuse.org/request/show/1265375
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-typing_extensions?expand=0&rev=27
2025-04-16 18:37:04 +00:00
f28f29ee51 - update to 4.13.0:
* Add `typing_extensions.TypeForm` from PEP 747.
  * Add `typing_extensions.get_annotations`, a backport of
  * `inspect.get_annotations` that adds features specified
  * by PEP 649.
  * Backport `evaluate_forward_ref` from CPython
  * Update PEP 728 implementation to a newer version of the PEP.
  * Copy the coroutine status of functions and methods wrapped
    with `@typing_extensions.deprecated`. 
  * Fix bug where `TypeAliasType` instances could be subscripted
    even where they were not generic.
  * Fix bug where a subscripted `TypeAliasType` instance did not
    have all attributes of the original `TypeAliasType` instance
    on older Python versions.
  * Fix bug where subscripted `TypeAliasType` instances (and some
    other subscripted objects) had wrong parameters if they were
    directly subscripted with an `Unpack` object.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-typing_extensions?expand=0&rev=60
2025-03-29 09:48:10 +00:00
4 changed files with 75 additions and 6 deletions

View File

@@ -1,3 +1,72 @@
-------------------------------------------------------------------
Fri Jul 18 16:11:33 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 4.14.1:
* Fix usage of `typing_extensions.TypedDict` nested inside
other types (e.g., `typing.Type[typing_extensions.TypedDict]`).
This is not allowed by the type system but worked on older
versions, so we maintain support.
-------------------------------------------------------------------
Thu Jul 10 10:39:18 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.14.0
* Remove `__or__` and `__ror__` methods from `typing_extensions.Sentinel`
on Python versions <3.10. PEP 604 was introduced in Python 3.10, and
`typing_extensions` does not generally attempt to backport PEP-604 methods
to prior versions.
* Further update `typing_extensions.evaluate_forward_ref` with changes in Python 3.14.
- from version 4.14.0rc1
* Drop support for Python 3.8 (including PyPy-3.8). Patch by Victorien Plot.
* Do not attempt to re-export names that have been removed from `typing`,
anticipating the removal of `typing.no_type_check_decorator` in Python 3.15.
Patch by Jelle Zijlstra.
* Update `typing_extensions.Format`, `typing_extensions.evaluate_forward_ref`, and
`typing_extensions.TypedDict` to align
with changes in Python 3.14. Patches by Jelle Zijlstra.
* Fix tests for Python 3.14 and 3.15. Patches by Jelle Zijlstra.
* Add support for inline typed dictionaries (PEP 764).
Patch by [Victorien Plot](https://github.com/Viicos).
* Add `typing_extensions.Reader` and `typing_extensions.Writer`. Patch by
Sebastian Rittau.
* Add support for sentinels (PEP 661). Patch by Victorien Plot.
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
Tue May 20 11:34:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.13.2
* Fix `TypeError` when taking the union of `typing_extensions.TypeAliasType`
and a `typing.TypeAliasType` on Python 3.12 and 3.13.
* Backport from CPython PR #132160) to avoid having user arguments
shadowed in generated `__new__` by `@typing_extensions.deprecated`.
- from version 4.13.1
* Fix regression in 4.13.0 on Python 3.10.2 causing a `TypeError` when
using `Concatenate`.
* Fix `TypeError` when using `evaluate_forward_ref` on Python 3.10.1-2
and 3.9.8-10.
-------------------------------------------------------------------
Sat Mar 29 09:46:25 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 4.13.0:
* Add `typing_extensions.TypeForm` from PEP 747.
* Add `typing_extensions.get_annotations`, a backport of
* `inspect.get_annotations` that adds features specified
* by PEP 649.
* Backport `evaluate_forward_ref` from CPython
* Update PEP 728 implementation to a newer version of the PEP.
* Copy the coroutine status of functions and methods wrapped
with `@typing_extensions.deprecated`.
* Fix bug where `TypeAliasType` instances could be subscripted
even where they were not generic.
* Fix bug where a subscripted `TypeAliasType` instance did not
have all attributes of the original `TypeAliasType` instance
on older Python versions.
* Fix bug where subscripted `TypeAliasType` instances (and some
other subscripted objects) had wrong parameters if they were
directly subscripted with an `Unpack` object.
-------------------------------------------------------------------
Sat Jun 8 13:12:02 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-typing_extensions
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,13 +27,13 @@
%{?sle15_python_module_pythons}
Name: python-typing_extensions%{psuffix}
Version: 4.12.2
Version: 4.14.1
Release: 0
Summary: Backported and Experimental Type Hints for Python 3.8+
License: Python-2.0
URL: https://github.com/python/typing_extensions
Source0: https://files.pythonhosted.org/packages/source/t/typing_extensions/typing_extensions-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module flit-core >= 3.4 with %python-flit-core < 4}
BuildRequires: %{python_module pip}
BuildRequires: fdupes

BIN
typing_extensions-4.12.2.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38b39f4aeeab64884ce9f74c94263ef78f3c22467c8724005483154c26648d36
size 107673