Unverified Commit 5d6cd346 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.control: update check part (#446581)

parents 7e1e41a1 34941de8
Loading
Loading
Loading
Loading
+17 −10
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  numpy,
  scipy,
  matplotlib,
  setuptools,
  setuptools-scm,
  cvxopt,
  fetchFromGitHub,
  matplotlib,
  numpy,
  numpydoc,
  pytest-timeout,
  pytestCheckHook,
  scipy,
  setuptools-scm,
  setuptools,
}:

buildPythonPackage rec {
@@ -41,17 +42,23 @@ buildPythonPackage rec {
    cvxopt = [ cvxopt ];
  };

  pythonImportsCheck = [ "control" ];

  nativeCheckInputs = [
    cvxopt
    numpydoc
    pytest-timeout
    pytestCheckHook
  ]
  ++ lib.flatten (builtins.attrValues optional-dependencies);

  pythonImportsCheck = [ "control" ];

  disabledTestPaths = [
    # Don't test the docs
    "doc/test_sphinxdocs.py"
  ];

  meta = {
    changelog = "https://github.com/python-control/python-control/releases/tag/${src.tag}";
    description = "Python Control Systems Library";
    changelog = "https://github.com/python-control/python-control/releases/tag/${src.tag}";
    homepage = "https://github.com/python-control/python-control";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ Peter3579 ];