diff --git a/pyproject.toml b/pyproject.toml index 0b932972b..5b058e02a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,8 +22,8 @@ textual = "textual.cli.cli:run" [tool.poetry.dependencies] python = "^3.7" -#rich = "^12.4.3" -rich = {path="../rich", develop=true} +rich = "^12.4.3" +#rich = {path="../rich", develop=true} importlib-metadata = "^4.11.3" typing-extensions = { version = "^4.0.0", python = "<3.8" } diff --git a/src/textual/_segment_tools.py b/src/textual/_segment_tools.py index 6c464fae8..df9455f8e 100644 --- a/src/textual/_segment_tools.py +++ b/src/textual/_segment_tools.py @@ -10,7 +10,6 @@ from rich.segment import Segment from rich.style import Style from ._cells import cell_len -from ._types import Lines def line_crop(