Unverified Commit 1f5e55f1 authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #231889 from bcdarwin/unbreak-scikit-fuzzy

python310Packages.scikit-fuzzy: unbreak by disabling erroring test
parents daca4eb5 7f64e404
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, isPy27
, pythonOlder
, fetchFromGitHub
, matplotlib
, networkx
@@ -13,7 +13,9 @@
buildPythonPackage rec {
  pname = "scikit-fuzzy";
  version = "unstable-2022-11-07";
  disabled = isPy27;
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = pname;
@@ -25,6 +27,9 @@ buildPythonPackage rec {
  propagatedBuildInputs = [ networkx numpy scipy ];
  nativeCheckInputs = [ matplotlib nose pytestCheckHook ];

  # numpy API breakage: "AttributeError: module 'numpy' has no attribute 'float'"
  disabledTests = [ "test_fuzzy_compare" ];

  pythonImportsCheck = [ "skfuzzy" ];

  meta = with lib; {