python313Packages.softlayer: migrate to writableTmpDirAsHomeHook (#433225)

This commit is contained in:
Fabian Affolter
2025-08-13 08:37:08 +02:00
committed by GitHub
@@ -22,6 +22,7 @@
sphinx,
testtools,
tkinter,
writableTmpDirAsHomeHook,
zeep,
}:
@@ -37,13 +38,9 @@ buildPythonPackage rec {
hash = "sha256-mlC4o39Ol1ALguc9KGpxB0M0vhWz4LG2uwhW8CBrVgg=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
pythonRelaxDeps = [
"rich"
];
pythonRelaxDeps = [ "rich" ];
dependencies = [
click
@@ -63,15 +60,10 @@ buildPythonPackage rec {
sphinx
testtools
tkinter
writableTmpDirAsHomeHook
zeep
];
# Otherwise soap_tests.py will fail to create directory
# Permission denied: '/homeless-shelter'
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTestPaths = [
# SoftLayer.exceptions.TransportError: TransportError(0): ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
"tests/CLI/modules/hardware/hardware_basic_tests.py::HardwareCLITests"