diff --git a/df_translation_toolkit/utils/po_utils.py b/df_translation_toolkit/utils/po_utils.py index 9fc30b7..ca100be 100644 --- a/df_translation_toolkit/utils/po_utils.py +++ b/df_translation_toolkit/utils/po_utils.py @@ -4,7 +4,7 @@ from babel.messages import Catalog from babel.messages.pofile import read_po, write_po -from typing_extensions import TextIO +from typing import TextIO @dataclass diff --git a/df_translation_toolkit/validation/validate_objects.py b/df_translation_toolkit/validation/validate_objects.py index e7b803d..756dd5a 100644 --- a/df_translation_toolkit/validation/validate_objects.py +++ b/df_translation_toolkit/validation/validate_objects.py @@ -1,4 +1,4 @@ -from typing import Iterator +from collections.abc import Iterator from df_translation_toolkit.parse.parse_raws import all_caps, split_tag from df_translation_toolkit.validation.validation_models import ProblemSeverity, ValidationProblem diff --git a/poetry.lock b/poetry.lock index c0b1dca..d57ff36 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1118,4 +1118,4 @@ dev = ["black (>=19.3b0)", "pytest (>=4.6.2)"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "01d7095bb733a98f4780f12c6d9b64aef4e14ab2ad0326ed613d75752ca50e30" +content-hash = "a8fc8782370eba5bb25b3d0683bf85ba24c041d2971dc233b4ad5c73af5e2ef0" diff --git a/pyproject.toml b/pyproject.toml index 82cd489..f4f4d1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,6 @@ babel = "^2.14.0" requests = "^2.31.0" jinja2 = "^3.1.3" cairosvg = "^2.7.0" -typing-extensions = "^4.11.0" [tool.poetry.group.dev.dependencies] pytest = "^8.2.0"