diff --git a/poetry.lock b/poetry.lock index eaadd01205..94c07ff975 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2122,20 +2122,6 @@ h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] -[[package]] -name = "useful-types" -version = "0.2.0" -description = "A collection of useful types." -optional = false -python-versions = ">=3.8" -files = [ - {file = "useful_types-0.2.0-py3-none-any.whl", hash = "sha256:3d05d9d92d2b5f235b1c7bf327a394a6b1903c2aa232f06519f95d8fb0372988"}, - {file = "useful_types-0.2.0.tar.gz", hash = "sha256:6d9aef0a911dcc46015ac07db1d5e8f8f01523b2856a377a03356c998d70dfa1"}, -] - -[package.dependencies] -typing_extensions = ">=4.7" - [[package]] name = "virtualenv" version = "20.25.1" @@ -2321,4 +2307,4 @@ syntax = ["tree-sitter", "tree_sitter_languages"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "0afec171dafa45b0f7406002a1d86889d598bf66d3a3c978dc703186edd1537f" +content-hash = "014186a223d4236fb0ace86bef24fb030d6921cf714a8b4d2b889ba066a26375" diff --git a/pyproject.toml b/pyproject.toml index 58decd9e42..c495d3661a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,6 @@ pytest-textual-snapshot = ">=0.4.0" types-tree-sitter = "^0.20.1.4" types-tree-sitter-languages = "^1.7.0.1" griffe = "0.32.3" -useful-types = ">=0.2.0" [tool.pytest.ini_options] asyncio_mode = "auto" diff --git a/src/textual/_node_list.py b/src/textual/_node_list.py index e20567e88e..ac9b425f32 100644 --- a/src/textual/_node_list.py +++ b/src/textual/_node_list.py @@ -7,7 +7,7 @@ import rich.repr if TYPE_CHECKING: - from useful_types import SupportsRichComparison + from _typeshed import SupportsRichComparison from .widget import Widget diff --git a/src/textual/dom.py b/src/textual/dom.py index faaba32e3c..a518032db1 100644 --- a/src/textual/dom.py +++ b/src/textual/dom.py @@ -47,7 +47,7 @@ if TYPE_CHECKING: from typing_extensions import Self, TypeAlias - from useful_types import SupportsRichComparison + from _typeshed import SupportsRichComparison from rich.console import RenderableType from .app import App