Unverified Commit 78bf4dea authored by Sarah Clark's avatar Sarah Clark Committed by GitHub
Browse files

python312Packages.gpy: 1.13.1 -> 1.13.2 (#341238)

parent 7b7f29d7
Loading
Loading
Loading
Loading
+13 −5
Original line number Diff line number Diff line
@@ -16,19 +16,23 @@

buildPythonPackage rec {
  pname = "gpy";
  version = "1.13.1";
  version = "1.13.2";
  pyproject = true;

  disabled = pythonOlder "3.9";

  # 1.13.0 not on PyPI yet
  src = fetchFromGitHub {
    owner = "SheffieldML";
    repo = "GPy";
    rev = "refs/tags/v${version}";
    hash = "sha256-ykoGdXy1uagKrP9Nqn74mDESZwKVPq6wQgnHlCznevM=";
    hash = "sha256-kggXePDKJcgw8qwLIBTxbwhiLw2H4dkx7082FguKP0Y=";
  };

  pythonRelaxDeps = [
    "paramz"
    "scipy"
  ];

  nativeBuildInputs = [ setuptools ];
  buildInputs = [ cython ];
  propagatedBuildInputs = [
@@ -47,14 +51,18 @@ buildPythonPackage rec {
    done
  '';

  disabledTests = lib.optionals (stdenv.isDarwin && stdenv.hostPlatform.isx86_64) [
    # Rounding difference break comparison
    "TestGradientMultiOutputGPModel"
  ];

  pythonImportsCheck = [ "GPy" ];

  meta = with lib; {
    description = "Gaussian process framework in Python";
    homepage = "https://sheffieldml.github.io/GPy";
    changelog = "https://github.com/SheffieldML/GPy/releases/tag/v.${version}";
    changelog = "https://github.com/SheffieldML/GPy/releases/tag/v${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ bcdarwin ];
    broken = stdenv.isDarwin; # See inscrutable error message here: https://github.com/NixOS/nixpkgs/pull/107653#issuecomment-751527547
  };
}