pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-typing-extensions



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  1 09:59:03 UTC 2025

Modified Files:
        pkgsrc/devel/py-typing-extensions: Makefile distinfo

Log Message:
py-typing-extensions: updated to 4.13.0

Release 4.13.0 (March 25, 2025)

No user-facing changes since 4.13.0rc1.

Release 4.13.0rc1 (March 18, 2025)

New features:

- Add `typing_extensions.TypeForm` from PEP 747. Patch by
  Jelle Zijlstra.
- Add `typing_extensions.get_annotations`, a backport of
  `inspect.get_annotations` that adds features specified
  by PEP 649. Patches by Jelle Zijlstra and Alex Waygood.
- Backport `evaluate_forward_ref` from CPython PR

Bugfixes and changed features:

- Update PEP 728 implementation to a newer version of the PEP. Patch by Jelle Zijlstra.
- Copy the coroutine status of functions and methods wrapped
  with `@typing_extensions.deprecated`. Patch by Sebastian Rittau.
- Fix bug where `TypeAliasType` instances could be subscripted even
  where they were not generic. Patch by [Daraan](https://github.com/Daraan).
- Fix bug where a subscripted `TypeAliasType` instance did not have all
  attributes of the original `TypeAliasType` instance on older Python versions.
  Patch by [Daraan](https://github.com/Daraan) and Alex Waygood.
- Fix bug where subscripted `TypeAliasType` instances (and some other
  subscripted objects) had wrong parameters if they were directly
  subscripted with an `Unpack` object.
  Patch by [Daraan](https://github.com/Daraan).
- Backport to Python 3.10 the ability to substitute `...` in generic `Callable`
  aliases that have a `Concatenate` special form as their argument.
  Patch by [Daraan](https://github.com/Daraan).
- Extended the `Concatenate` backport for Python 3.8-3.10 to now accept
  `Ellipsis` as an argument. Patch by [Daraan](https://github.com/Daraan).
- Fix backport of `get_type_hints` to reflect Python 3.11+ behavior which does not add
  `Union[..., NoneType]` to annotations that have a `None` default value anymore.
  This fixes wrapping of `Annotated` in an unwanted `Optional` in such cases.
  Patch by [Daraan](https://github.com/Daraan).
- Fix error in subscription of `Unpack` aliases causing nested Unpacks
  to not be resolved correctly. Patch by [Daraan](https://github.com/Daraan).
- Backport CPython fix `TypeAliasType` not raising an error on non-tuple inputs for `type_params`.
  Patch by [Daraan](https://github.com/Daraan).
- Fix that lists and `...` could not be used for parameter expressions for `TypeAliasType`
  instances before Python 3.11.
  Patch by [Daraan](https://github.com/Daraan).
- Fix error on Python 3.10 when using `typing.Concatenate` and
  `typing_extensions.Concatenate` together. Patch by [Daraan](https://github.com/Daraan).
- Backport of CPython to reflect Python 3.13+ behavior: A value assigned to `__total__` in the class body of a
  `TypedDict` will be overwritten by the `total` argument of the `TypedDict` constructor.
  Patch by [Daraan](https://github.com/Daraan), backporting a CPython PR by Jelle Zijlstra.
- `isinstance(typing_extensions.Unpack[...], TypeVar)` now evaluates to `False` on Python 3.11
  and newer, but remains `True` on versions before 3.11.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-typing-extensions/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/py-typing-extensions/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-typing-extensions/Makefile
diff -u pkgsrc/devel/py-typing-extensions/Makefile:1.27 pkgsrc/devel/py-typing-extensions/Makefile:1.28
--- pkgsrc/devel/py-typing-extensions/Makefile:1.27     Sun Feb 23 18:36:52 2025
+++ pkgsrc/devel/py-typing-extensions/Makefile  Tue Apr  1 09:59:03 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2025/02/23 18:36:52 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2025/04/01 09:59:03 adam Exp $
 
-DISTNAME=      typing_extensions-4.12.2
+DISTNAME=      typing_extensions-4.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/typing-extensions/}
 

Index: pkgsrc/devel/py-typing-extensions/distinfo
diff -u pkgsrc/devel/py-typing-extensions/distinfo:1.23 pkgsrc/devel/py-typing-extensions/distinfo:1.24
--- pkgsrc/devel/py-typing-extensions/distinfo:1.23     Fri Jun  7 20:31:18 2024
+++ pkgsrc/devel/py-typing-extensions/distinfo  Tue Apr  1 09:59:03 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2024/06/07 20:31:18 adam Exp $
+$NetBSD: distinfo,v 1.24 2025/04/01 09:59:03 adam Exp $
 
-BLAKE2s (typing_extensions-4.12.2.tar.gz) = 26f443f9eb80b3d2fbfe02b617358a99fc7a4bbd1bda06899508e4f2e077d866
-SHA512 (typing_extensions-4.12.2.tar.gz) = b06f26ae55194f37ee48dcb894bf583051c9e74f639f25195990f56330eae7b585ab4b8655ca575539f48254c20f1920628db6db10512953d1f6364e3c076a27
-Size (typing_extensions-4.12.2.tar.gz) = 85321 bytes
+BLAKE2s (typing_extensions-4.13.0.tar.gz) = 975ba311152e76e8e4beba1e01e9570ac1b4c43e42565ade98eb52dc867f8b25
+SHA512 (typing_extensions-4.13.0.tar.gz) = 5d2a9fc8f0ef41e585f5c0ad155672018e9e6e76391ebe294ed32a2e8934ace8ad997b40dd14d335ebe2d74dbee5eb477f7816fbf29d832d3f3118cfcfd18e31
+Size (typing_extensions-4.13.0.tar.gz) = 106520 bytes



Home | Main Index | Thread Index | Old Index