The main purpose of the typing_extensions module is to allow older versions of Python to use new types introduced in newer versions.
We are not planning to backport the new netplan feature to older versions of Ubuntu. It's just an indirect dependency.
The thing is that Python doesn't have a module called typing_extensions and it is used in many places by markdown-it-py and rich:
markdown-it-py/markdown_it/renderer.py: from typing_extensions import Protocol # type: ignore[misc]
markdown-it-py/pyproject.toml: "typing_extensions>=3.7.4;python_version<'3.8'",
markdown-it-py/docs/conf.py: ("py:class", "typing_extensions.Protocol"),
rich/rich/console.py: from typing_extensions import (
rich/rich/align.py: from typing_extensions import Literal # pragma: no cover
rich/rich/emoji.py: from typing_extensions import Literal # pragma: no cover
rich/rich/box.py: from typing_extensions import Literal # pragma: no cover
rich/rich/progress.py: from typing_extensions import Literal # pragma: no cover
rich/rich/live_render.py: from typing_extensions import Literal # pragma: no cover
rich/rich/control.py: from typing_extensions import Final # pragma: no cover
rich/rich/_ratio.py: from typing_extensions import Protocol # pragma: no cover
rich/examples/top_lite_simulator.py: from typing_extensions import Literal
So we can't just not have it installed or it will break things.
This package is not maintained by an individual but by the Debian Python Team. So I believe it's a matter of time until someone pick it up. As it's a dependency of many other packages I'd say they care for this package.
I will reach out and check if they are working on that.
Thanks for looking at that, Didier.
Answering your questions:
1)
The main purpose of the typing_extensions module is to allow older versions of Python to use new types introduced in newer versions.
We are not planning to backport the new netplan feature to older versions of Ubuntu. It's just an indirect dependency.
The thing is that Python doesn't have a module called typing_extensions and it is used in many places by markdown-it-py and rich:
markdown- it-py/markdown_ it/renderer. py: from typing_extensions import Protocol # type: ignore[misc] it-py/pyproject .toml: "typing_ extensions> =3.7.4; python_ version< '3.8'", it-py/docs/ conf.py: ("py:class", "typing_ extensions. Protocol" ), console. py: from typing_extensions import ( progress. py: from typing_extensions import Literal # pragma: no cover live_render. py: from typing_extensions import Literal # pragma: no cover control. py: from typing_extensions import Final # pragma: no cover _ratio. py: from typing_extensions import Protocol # pragma: no cover top_lite_ simulator. py: from typing_extensions import Literal
markdown-
markdown-
rich/rich/
rich/rich/align.py: from typing_extensions import Literal # pragma: no cover
rich/rich/emoji.py: from typing_extensions import Literal # pragma: no cover
rich/rich/box.py: from typing_extensions import Literal # pragma: no cover
rich/rich/
rich/rich/
rich/rich/
rich/rich/
rich/examples/
So we can't just not have it installed or it will break things.
There was a quick discussion about this a couple of years ago https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 978536
2)
This package is not maintained by an individual but by the Debian Python Team. So I believe it's a matter of time until someone pick it up. As it's a dependency of many other packages I'd say they care for this package.
I will reach out and check if they are working on that.