Unverified Commit 7bc8bc7c authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files
parent 05e1afc1
Loading
Loading
Loading
Loading
+6 −12
Original line number Diff line number Diff line
@@ -24,14 +24,14 @@

buildPythonPackage rec {
  pname = "vector";
  version = "1.5.2";
  version = "1.6.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "scikit-hep";
    repo = "vector";
    tag = "v${version}";
    hash = "sha256-lj6ZloBGZqHW0g7lCD7m9zvszJceB9TQ3r6B3Xuj5KE=";
    hash = "sha256-W10j1oQdmJ7GE0dCsAPtIsEPy4L2CIvVEZZqm7aHxII=";
  };

  build-system = [
@@ -58,13 +58,7 @@ buildPythonPackage rec {

  __darwinAllowLocalNetworking = true;

  disabledTests =
    [
      # AssertionError (unclear why)
      "test_rhophi_eta_tau"
      "test_xy_eta_tau"
    ]
    ++ lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
  disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [
    # AssertionError: assert 2.1073424255447017e-08 == 0.0
    "test_issue_463"
  ];