python3Packages.craft-parts: 2.8.0 -> 2.10.0

This commit is contained in:
Jon Seager 2025-04-30 17:00:02 +01:00
parent f2283541fb
commit 1b18666d6a
No known key found for this signature in database

View file

@ -25,11 +25,12 @@
ant,
maven,
jdk,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "craft-parts";
version = "2.8.0";
version = "2.10.0";
pyproject = true;
@ -37,7 +38,7 @@ buildPythonPackage rec {
owner = "canonical";
repo = "craft-parts";
tag = version;
hash = "sha256-1SnT/yB6vJm82yhszBRjeph13B91KYap8/KR4L9VcjM=";
hash = "sha256-nGOLzQ+mlLHmqkknWklCIEN7HOgQznuYO1rbqUvL1N4=";
};
patches = [ ./bash-path.patch ];
@ -76,14 +77,11 @@ buildPythonPackage rec {
requests-mock
socat
squashfsTools
writableTmpDirAsHomeHook
];
pytestFlagsArray = [ "tests/unit" ];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTests = [
# Relies upon paths not present in Nix (like /bin/bash)
"test_run_builtin_build"