python3Packages.translate-toolkit: 3.19.5 -> 3.19.10

Diff: https://github.com/translate/translate/compare/3.19.5...3.19.10

Changelog: https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/3.19.10.html
(cherry picked from commit 478109bb6c)
This commit is contained in:
Kerstin Humm 2026-04-30 16:21:52 +02:00 committed by github-actions[bot]
commit 134d51630e

View file

@ -29,18 +29,19 @@
addBinToPathHook,
pytest-xdist,
gettext,
syrupy,
}:
buildPythonPackage (finalAttrs: {
pname = "translate-toolkit";
version = "3.19.5";
version = "3.19.10";
pyproject = true;
src = fetchFromGitHub {
owner = "translate";
repo = "translate";
tag = finalAttrs.version;
hash = "sha256-NJuhkJyXfGO2iwvcHUrfMZi55t1+89RN6jEIxHk8mcs=";
hash = "sha256-bDvj+zTD15bCr8xA+ovKWEMabC4xB9Jsdz66RYtdaBU=";
};
build-system = [ setuptools-scm ];
@ -50,6 +51,8 @@ buildPythonPackage (finalAttrs: {
unicode-segmentation-rs
];
pythonRelaxDeps = [ "lxml" ];
optional-dependencies = {
chardet = [ charset-normalizer ];
fluent = [ fluent-syntax ];
@ -69,6 +72,7 @@ buildPythonPackage (finalAttrs: {
pytestCheckHook
addBinToPathHook
pytest-xdist
syrupy
gettext
]
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
@ -78,12 +82,6 @@ buildPythonPackage (finalAttrs: {
"test_timezones"
];
disabledTestPaths = [
# Require pytest-snapshot but there are no snapshots checked in
"tests/translate/tools/test_pocount.py"
"tests/translate/tools/test_junitmsgfmt.py"
];
pythonImportsCheck = [ "translate" ];
__darwinAllowLocalNetworking = true;