Unverified Commit b168be9f authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.softlayer: migrate to writableTmpDirAsHomeHook (#433225)

parents 14acba31 a0101c9e
Loading
Loading
Loading
Loading
+4 −12
Original line number Diff line number Diff line
@@ -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"