From 9956e239736add1da45e8ef323d51f3e8fa407b6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 16 Jul 2022 14:07:30 +0200 Subject: [PATCH] python3Packages.hatch-vcs: disable failing test This test is incompatible with setuptools-scm>=7.0, but does not seem to cause other problems as the upstream PR fixing this is also only targeting the testsuite. --- pkgs/development/python-modules/hatch-vcs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/hatch-vcs/default.nix b/pkgs/development/python-modules/hatch-vcs/default.nix index 6e785d0c9a28..4f5c1f9bf3e6 100644 --- a/pkgs/development/python-modules/hatch-vcs/default.nix +++ b/pkgs/development/python-modules/hatch-vcs/default.nix @@ -35,6 +35,12 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTests = [ + # incompatible with setuptools-scm>=7 + # https://github.com/ofek/hatch-vcs/issues/8 + "test_write" + ]; + pythonImportsCheck = [ "hatch_vcs" ];