From 541c2f665aee9fa2afe0495da90727e6147d3276 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 23 Mar 2026 21:34:16 +0000 Subject: [PATCH] python3Packages.spacy: 3.8.11 -> 3.8.13 Diff: https://github.com/explosion/spaCy/compare/release-v3.8.11...release-v3.8.13 Changelog: https://github.com/explosion/spaCy/releases/tag/release-v3.8.13 --- pkgs/development/python-modules/spacy/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/spacy/default.nix b/pkgs/development/python-modules/spacy/default.nix index 41fb2a9ecf06..c54b938fabd3 100644 --- a/pkgs/development/python-modules/spacy/default.nix +++ b/pkgs/development/python-modules/spacy/default.nix @@ -47,21 +47,16 @@ buildPythonPackage (finalAttrs: { pname = "spacy"; - version = "3.8.11"; + version = "3.8.13"; pyproject = true; src = fetchFromGitHub { owner = "explosion"; repo = "spaCy"; tag = "release-v${finalAttrs.version}"; - hash = "sha256-pLn3fq6SDstkRIv+1fj1yEGTlAd1IAiVgRu25CnEV8E="; + hash = "sha256-mjl4s3uUEdwPTvyq5HGDtxxREdnHAmUU8IpN/7+YxTc="; }; - postPatch = '' - substituteInPlace requirements.txt setup.cfg \ - --replace-fail typer-slim typer - ''; - build-system = [ cymem cython @@ -123,6 +118,10 @@ buildPythonPackage (finalAttrs: { # Tests for presence of outdated (and thus missing) spacy models # https://github.com/explosion/spaCy/issues/13856 "test_registry_entries" + + # AssertionError: confection has different version in setup.cfg and in requirements.txt: + # >=1.3.2,<2.0.0 and >=1.1.0,<2.0.0 respectively + "test_build_dependencies" ]; pythonImportsCheck = [ "spacy" ];