Loading pkgs/development/python-modules/spacy/default.nix +29 −18 Original line number Diff line number Diff line Loading @@ -6,16 +6,18 @@ , catalogue , cymem , fetchPypi , hypothesis , jinja2 , jsonschema , langcodes , mock , murmurhash , numpy , packaging , pathy , preshed , pydantic , pytest , pytestCheckHook , python , pythonOlder , pythonRelaxDepsHook Loading @@ -38,14 +40,14 @@ buildPythonPackage rec { pname = "spacy"; version = "3.7.3"; version = "3.7.4"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-mSZQKPvcbhIknFMwXkYfeaEDY3sOaGbCivDkY2X3UeE="; hash = "sha256-Ul8s7S5AdhViyMrOk+9qHm6MSD8nvVZLwbFfYI776Fs="; }; pythonRelaxDeps = [ Loading Loading @@ -83,21 +85,30 @@ buildPythonPackage rec { typing-extensions ]; postPatch = '' substituteInPlace setup.cfg \ --replace "thinc>=8.1.8,<8.2.0" "thinc>=8.1.8" ''; nativeCheckInputs = [ pytest pytestCheckHook hypothesis mock ]; doCheck = false; doCheck = true; checkPhase = '' ${python.interpreter} -m pytest spacy/tests --vectors --models --slow # Fixes ModuleNotFoundError when running tests on Cythonized code. See #255262 preCheck = '' cd $out ''; pytestFlagsArray = [ "-m 'slow'" ]; disabledTests = [ # touches network "test_download_compatibility" "test_validate_compatibility_table" "test_project_assets" ]; pythonImportsCheck = [ "spacy" ]; Loading Loading
pkgs/development/python-modules/spacy/default.nix +29 −18 Original line number Diff line number Diff line Loading @@ -6,16 +6,18 @@ , catalogue , cymem , fetchPypi , hypothesis , jinja2 , jsonschema , langcodes , mock , murmurhash , numpy , packaging , pathy , preshed , pydantic , pytest , pytestCheckHook , python , pythonOlder , pythonRelaxDepsHook Loading @@ -38,14 +40,14 @@ buildPythonPackage rec { pname = "spacy"; version = "3.7.3"; version = "3.7.4"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; hash = "sha256-mSZQKPvcbhIknFMwXkYfeaEDY3sOaGbCivDkY2X3UeE="; hash = "sha256-Ul8s7S5AdhViyMrOk+9qHm6MSD8nvVZLwbFfYI776Fs="; }; pythonRelaxDeps = [ Loading Loading @@ -83,21 +85,30 @@ buildPythonPackage rec { typing-extensions ]; postPatch = '' substituteInPlace setup.cfg \ --replace "thinc>=8.1.8,<8.2.0" "thinc>=8.1.8" ''; nativeCheckInputs = [ pytest pytestCheckHook hypothesis mock ]; doCheck = false; doCheck = true; checkPhase = '' ${python.interpreter} -m pytest spacy/tests --vectors --models --slow # Fixes ModuleNotFoundError when running tests on Cythonized code. See #255262 preCheck = '' cd $out ''; pytestFlagsArray = [ "-m 'slow'" ]; disabledTests = [ # touches network "test_download_compatibility" "test_validate_compatibility_table" "test_project_assets" ]; pythonImportsCheck = [ "spacy" ]; Loading