Unverified Commit 7ae858a1 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

python312Packages.filterpy: disable failing test

and make the derivation a PEP517 build with the relevant lingo.
parent 5690819d
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  numpy,
  scipy,
  matplotlib,
@@ -11,8 +12,8 @@

buildPythonPackage {
  pname = "filterpy";
  version = "unstable-2022-08-23";
  format = "setuptools";
  version = "1.4.5-unstable-2022-08-23";
  pyproject = true;

  disabled = !isPy3k;

@@ -23,14 +24,21 @@ buildPythonPackage {
    hash = "sha256-KuuVu0tqrmQuNKYmDmdy+TU6BnnhDxh4G8n9BGzjGag=";
  };

  nativeCheckInputs = [ pytestCheckHook ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    numpy
    scipy
    matplotlib
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = [
    # ValueError: Unable to avoid copy while creating an array as requested."
    "test_multivariate_gaussian"
  ];

  meta = with lib; {
    homepage = "https://github.com/rlabbe/filterpy";
    description = "Kalman filtering and optimal estimation library";