anchor.diff:  , pytorch
   , torchvision
   , tqdm
  +, faiss
   }:
   
   buildPythonPackage rec {
     pname   = "pytorch-metric-learning";
  -  version = "1.5.0";
  +  version = "1.5.1";
   
     disabled = isPy27;
   
  
positive.code:     export TEST_DEVICE=cpu
      export TEST_DTYPES=float32,float64  # half-precision tests fail on CPU
    '';
    # package only requires `unittest`, but use `pytest` to exclude tests
    checkInputs = [ pytestCheckHook ];
    disabledTests = [
      # requires FAISS (not in Nixpkgs)
      "test_accuracy_calculator_and_faiss"
      "test_global_embedding_space_tester"
      "test_with_same_parent_label_tester"
      # require network access:
      "test_get_nearest_neighbors"
      "test_tuplestoweights_sampler"
      "test_untrained_indexer"
  
negative.code:     changelog = "https://github.com/KevinMusgrave/pytorch-metric-learning/releases/tag/v${version}";
      license = lib.licenses.mit;
      maintainers = with lib.maintainers; [ bcdarwin ];
    };
  }
  