python3Packages.ufmt: skip tests broken by click update

https://github.com/NixOS/nixpkgs/pull/448189
This commit is contained in:
Gaetan Lepage
2025-10-24 14:19:36 +00:00
parent 112f4ba4f3
commit 644dcf5ebb
@@ -37,6 +37,13 @@ buildPythonPackage rec {
hash = "sha256-oEvvXUju7qne3pCwnrckplMs0kBJavB669qieXJZPKw=";
};
# Broken since click was updated to 8.2.1 in https://github.com/NixOS/nixpkgs/pull/448189
# TypeError: CliRunner.__init__() got an unexpected keyword argument 'mix_stderr'
postPatch = ''
substituteInPlace ufmt/tests/__init__.py \
--replace-fail "from .cli import CliTest" ""
'';
build-system = [ flit-core ];
dependencies = [