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