mirror of
https://github.com/Textualize/rich.git
synced 2025-07-07 12:54:59 +00:00
Update typing-extensions
to be a dev only dependency
This commit is contained in:
parent
90d1265914
commit
7c49720c3b
3 changed files with 3 additions and 3 deletions
2
poetry.lock
generated
2
poetry.lock
generated
|
@ -929,4 +929,4 @@ jupyter = ["ipywidgets"]
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = ">=3.8.0"
|
||||
content-hash = "804a37e7036779a41ab3dfe0cab6324de5095f81684e7db724ba803b26159b60"
|
||||
content-hash = "2e87c73a127b5e6456de92c6cab8e8be8f746f2c4d792ae0563ae74e19593e4c"
|
||||
|
|
|
@ -28,7 +28,6 @@ include = ["rich/py.typed"]
|
|||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8.0"
|
||||
typing-extensions = { version = ">=4.0.0, <5.0", python = "<3.11" }
|
||||
pygments = "^2.13.0"
|
||||
ipywidgets = { version = ">=7.5.1,<9", optional = true }
|
||||
markdown-it-py = ">=2.2.0"
|
||||
|
@ -44,6 +43,7 @@ pytest-cov = "^3.0.0"
|
|||
attrs = "^21.4.0"
|
||||
pre-commit = "^2.17.0"
|
||||
asv = "^0.5.1"
|
||||
typing-extensions = ">=4.0.0, <5.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
|
|
|
@ -25,6 +25,7 @@ from typing import (
|
|||
Generic,
|
||||
Iterable,
|
||||
List,
|
||||
Literal,
|
||||
NamedTuple,
|
||||
NewType,
|
||||
Optional,
|
||||
|
@ -35,7 +36,6 @@ from typing import (
|
|||
TypeVar,
|
||||
Union,
|
||||
)
|
||||
from typing import Literal
|
||||
|
||||
if TYPE_CHECKING:
|
||||
# Can be replaced with `from typing import Self` in Python 3.11+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue