diff --git a/pyproject.toml b/pyproject.toml index b3e3bc6083db..bce1f01c7183 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -146,7 +146,7 @@ dependencies = [ "social-auth-app-django>=5.4.1,<6.0.0", "social-auth-core>=4.5.0,<5.0.0", "tesserocr>=2.6.1,<2.8.0", - "translate-toolkit>=3.14.1,<3.15", + "translate-toolkit>=3.14.4,<3.15", "translation-finder>=2.18,<3.0", "unidecode>=1.3.8,<1.4", "user-agents>=2.0,<2.3", diff --git a/uv.lock b/uv.lock index 360acf63749d..f279a72b4296 100644 --- a/uv.lock +++ b/uv.lock @@ -3847,15 +3847,15 @@ wheels = [ [[package]] name = "translate-toolkit" -version = "3.14.2" +version = "3.14.4" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cwcwidth" }, { name = "lxml" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/39/c2/0fc369321be3500f8121253378e9c38b6ef8fcc259c56751bbf04c8b2895/translate_toolkit-3.14.2.tar.gz", hash = "sha256:3105c14e54164f691e8d1de92094bc4d5c374248e0ed51f521547abd79059807", size = 1203133 } +sdist = { url = "https://files.pythonhosted.org/packages/eb/57/ebfeab9b6893c4e8c2583db04a0a8560cac6adb818dbda65e54e71a4eb1f/translate_toolkit-3.14.4.tar.gz", hash = "sha256:6bf58e151385b32e45c9643b24c80b3cd46ad5bcc4665afa5332974bc94cf79b", size = 1202500 } wheels = [ - { url = "https://files.pythonhosted.org/packages/67/19/3f6affabb4e4f7988f1046de3969c68e2638c7e86fcd8b2c6c07c925c420/translate_toolkit-3.14.2-py3-none-any.whl", hash = "sha256:24a6b8af22bf891fcd8477058b63a58a74f6fa7a7d5637ccb6ff46f476233499", size = 745485 }, + { url = "https://files.pythonhosted.org/packages/8a/6d/d3cfbb6b4ca863d6288f93feaa1e038fc9340ac5ad486ee065d0d3aeb60f/translate_toolkit-3.14.4-py3-none-any.whl", hash = "sha256:d190de7eba3e6d604203e71dcdade20a35550ddeff964d2d448fd369a8e7ee3e", size = 744543 }, ] [[package]] @@ -4473,7 +4473,7 @@ requires-dist = [ { name = "social-auth-app-django", specifier = ">=5.4.1,<6.0.0" }, { name = "social-auth-core", specifier = ">=4.5.0,<5.0.0" }, { name = "tesserocr", specifier = ">=2.6.1,<2.8.0" }, - { name = "translate-toolkit", specifier = ">=3.14.1,<3.15" }, + { name = "translate-toolkit", specifier = ">=3.14.4,<3.15" }, { name = "translation-finder", specifier = ">=2.18,<3.0" }, { name = "unidecode", specifier = ">=1.3.8,<1.4" }, { name = "user-agents", specifier = ">=2.0,<2.3" }, diff --git a/weblate/trans/tests/test_component.py b/weblate/trans/tests/test_component.py index 076cbdd5d861..b4b6b43c2c59 100644 --- a/weblate/trans/tests/test_component.py +++ b/weblate/trans/tests/test_component.py @@ -189,8 +189,8 @@ def test_create_android(self) -> None: self.verify_component(component, 2, "cs", 4) def test_create_android_broken(self) -> None: - with self.assertRaises(FileParseError): - self.create_android(suffix="-broken") + component = self.create_android(suffix="-broken") + self.verify_component(component, 1, "en", 4) def test_create_json(self) -> None: component = self.create_json()