Unverified Commit 28635028 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python311Packages.spacy: 3.7.6 -> 3.8.2 (#341277)

parents 5ec2b2f1 5dc7d462
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ def test_entities(doc_en_core_web_sm):
        ('Google', 'ORG'),
        ('2007', 'DATE'),
        ('American', 'NORP'),
        ('Thrun', 'PERSON'),
        ('Thrun', 'GPE'),
        ('Recode', 'ORG'),
        ('earlier this week', 'DATE'),
    ]
+8 −5
Original line number Diff line number Diff line
@@ -36,21 +36,20 @@

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

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-9AZcCqxcSLv7L/4ZHVXMszv7AFN2r71MzW1ek0FRTjQ=";
    hash = "sha256-Szfr0lraQFmw3J4Ik+cN3l34NIUymgaO8EWA5wiSpl0=";
  };

  postPatch = ''
    # thinc version 8.3.0 had no functional changes
    # also see https://github.com/explosion/spaCy/issues/13607
    # spaCy is compatible with NumPy v1 and v2
    substituteInPlace pyproject.toml setup.cfg \
      --replace-fail "thinc>=8.2.2,<8.3.0" "thinc>=8.2.2,<8.4.0"
      --replace-fail "numpy>=2.0.0,<2.1.0" numpy
  '';

  build-system = [
@@ -61,6 +60,10 @@ buildPythonPackage rec {
    thinc
  ];

  pythonRelaxDeps = [
    "thinc"
  ];

  dependencies = [
    catalogue
    cymem
+180 −180

File changed.

Preview size limit exceeded, changes collapsed.