Debian Patches

Status for python-typing-inspect/0.9.0-2

Patch Description Author Forwarded Bugs Origin Last update
py314-get-parameters-union.patch Support types.UnionType in get_parameters()
This fixes a test on Python 3.14 because there Union[] also creates instances
of types.UnionType.
Jelle Zijlstra <jelle.zijlstra@gmail.com> no debian upstream, https://github.com/ilevkivskyi/typing_inspect/pull/111 2026-02-16
py314-skip-test-TypedDict.patch =?utf-8?q?=E2=9C=85_test=3A_Skip_test_using_deprecated_TypedDict_o?= =?utf-8?q?n_latest_Python?= Fridolin Glatter <glatter@iiasa.ac.at> no debian upstream, https://github.com/ilevkivskyi/typing_inspect/pull/116/commits/0f8b05c77bbf25fef912c08034079352358a15e2 2026-02-16
py314-get-origin-union.patch Support `get_origin(Union[...])` in python 3.14
In Python 3.14, `Union` is no longer a `typingGenericAlias`, so
`get_origin(int | str)` didn't return `Union`. This changes that by
explicitly checking for `is_union_type`. This adds a test for
`get_origin(Union[...])`.
Leon Barrett <Leon.Barrett@sony.com> no debian upstream, https://github.com/ilevkivskyi/typing_inspect/pull/119 2026-02-16

All known versions for source package 'python-typing-inspect'

Links