anchor.diff:      unidecode
       urllib3
       wget
  -  ];
  -
  -  pythonImportsCheck = [
  -    "runway"
  -  ];
  +  ] ++ urllib3.optional-dependencies.secure;
   
     checkInputs = [
       deepdiff
  +    pytest-cov
       pytestCheckHook
  -    pytest-cov
       websocket-client
     ];
   
  +  postPatch = ''
  +    # Build fails with:
  +    # ERROR: No matching distribution found for urllib3-secure-extra; extra == "secure"
  +    substituteInPlace requirements.txt \
  +      --replace "urllib3[secure]>=1.25.7" "urllib3"
  +  '';
  +
     disabledTests = [
  -    # these tests require network
  +    # These tests require network
       "test_file_deserialization_remote"
       "test_file_deserialization_absolute_directory"
       "test_file_deserialization_remote_directory"
       # Fails with a decoding error at the moment
       "test_inference_async"
     ] ++ lib.optionals (pythonAtLeast "3.9") [
  -     # AttributeError: module 'base64' has no attribute 'decodestring
  -     # https://github.com/runwayml/model-sdk/issues/99
  -     "test_image_serialize_and_deserialize"
  -     "test_segmentation_serialize_and_deserialize_colormap"
  -     "test_segmentation_serialize_and_deserialize_labelmap"
  +    # AttributeError: module 'base64' has no attribute 'decodestring
  +    # https://github.com/runwayml/model-sdk/issues/99
  +    "test_image_serialize_and_deserialize"
  +    "test_segmentation_serialize_and_deserialize_colormap"
  +    "test_segmentation_serialize_and_deserialize_labelmap"
  +  ];
  +
  +  pythonImportsCheck = [
  +    "runway"
     ];
   
     meta = {
  
positive.code: buildPythonPackage rec {
    pname = "runway-python";
    version = "0.6.1";
    disabled = pythonOlder "3.6";
  
    src = fetchFromGitHub {
      owner = "runwayml";
      repo = "model-sdk";
      rev = version;
      sha256 = "1ww2wai1qnly8i7g42vhkkbs4yp7wi9x4fjdxsg9fl3izjra0zs2";
    };
  
    propagatedBuildInputs = [
  
negative.code: , urllib3
  , wget
  , deepdiff
  , pytest-cov
  , pytestCheckHook
  , pythonOlder
  , websocket-client
  }:
  