python3Packages.devtools: relax asttokens dependency

This commit is contained in:
Pavol Rusnak
2025-02-07 12:10:42 +01:00
parent 468dbb5160
commit f21a0ce4e0
@@ -25,6 +25,11 @@ buildPythonPackage rec {
hash = "sha256-1HFbNswdKa/9cQX0Gf6lLW1V5Kt/N4X6/5kQDdzp1Wo=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'asttokens>=2.0.0,<3.0.0' 'asttokens>=2.0.0' \
'';
nativeBuildInputs = [ hatchling ];
propagatedBuildInputs = [
@@ -45,6 +50,7 @@ buildPythonPackage rec {
"test_multiple_not_verbose"
# Sensitive to interpreter output
"test_simple"
"test_expr_render"
];
disabledTestPaths = [