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

python310Packages.scikit-fuzzy: unbreak by disabling erroring test
This commit is contained in:
Ryan Lahfa 2023-05-14 20:53:01 +02:00 committed by GitHub
commit 1f5e55f1c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ 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; {