Commit d3f0837c authored by Robert Schütz's avatar Robert Schütz
Browse files

python311Packages.spacy: 3.7.5 -> 3.7.6

parent 83c48b4d
Loading
Loading
Loading
Loading
+10 −19
Original line number Diff line number Diff line
@@ -10,13 +10,11 @@
  fetchPypi,
  hypothesis,
  jinja2,
  jsonschema,
  langcodes,
  mock,
  murmurhash,
  numpy,
  packaging,
  pathy,
  preshed,
  pydantic,
  pytestCheckHook,
@@ -29,7 +27,6 @@
  thinc,
  tqdm,
  typer,
  typing-extensions,
  wasabi,
  weasel,
  writeScript,
@@ -40,14 +37,14 @@

buildPythonPackage rec {
  pname = "spacy";
  version = "3.7.5";
  version = "3.7.6";
  pyproject = true;

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-pkjGy/Ksx6Vaae6ef6TyK99pqoKKWHobxc//CM88LdM=";
    hash = "sha256-9AZcCqxcSLv7L/4ZHVXMszv7AFN2r71MzW1ek0FRTjQ=";
  };

  postPatch = ''
@@ -57,26 +54,22 @@ buildPythonPackage rec {
      --replace-fail "thinc>=8.2.2,<8.3.0" "thinc>=8.2.2,<8.4.0"
  '';

  pythonRelaxDeps = [
    "smart-open"
    "typer"
  ];

  nativeBuildInputs = [
  build-system = [
    cymem
    cython_0
    murmurhash
    numpy
    thinc
  ];

  propagatedBuildInputs = [
    blis
  dependencies = [
    catalogue
    cymem
    jinja2
    jsonschema
    langcodes
    murmurhash
    numpy
    packaging
    pathy
    preshed
    pydantic
    requests
@@ -89,7 +82,7 @@ buildPythonPackage rec {
    typer
    wasabi
    weasel
  ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions ];
  ];

  nativeCheckInputs = [
    pytestCheckHook
@@ -97,8 +90,6 @@ buildPythonPackage rec {
    mock
  ];

  doCheck = true;

  # Fixes ModuleNotFoundError when running tests on Cythonized code. See #255262
  preCheck = ''
    cd $out
@@ -139,7 +130,7 @@ buildPythonPackage rec {
    description = "Industrial-strength Natural Language Processing (NLP)";
    mainProgram = "spacy";
    homepage = "https://github.com/explosion/spaCy";
    changelog = "https://github.com/explosion/spaCy/releases/tag/v${version}";
    changelog = "https://github.com/explosion/spaCy/releases/tag/release-v${version}";
    license = licenses.mit;
    maintainers = [ ];
  };