diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 14:47:07 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 17:46:26 +0000 |
| commit | 86ae403744cf93fde7e16a13ae8ceb67eb60f495 (patch) | |
| tree | e84631f4bac22b522c24a67b99ddc7829bdede40 /gnu | |
| parent | ab1e36d168db9010a83d9bffc7b1acb46d88f7e1 (diff) | |
gnu: python-thinc: Update to 8.3.4.
* gnu/packages/machine-learning.scm (python-thinc): Update to 8.3.4.
[arguments] <phases>: Remove 'build-ext; add 'remove-local-thinc - less
rebuild is better.
[propagated-inputs]: Remove python-blis-for-thinc and python-numpy; add
python-blis and python-numpy-2.
[native-inputs]: Remove python-cython and python-wheel; add
python-cython-0.
* gnu/packages/maths.scm (python-blis-for-thinc): Remove variable.
Change-Id: I5b3b624819772cd1b601ff2a7ef516af065a94dc
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/machine-learning.scm | 28 | ||||
| -rw-r--r-- | gnu/packages/maths.scm | 12 |
2 files changed, 16 insertions, 24 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 13890adfb32..9690626fe3b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -2203,35 +2203,39 @@ and are compatible with its API.") (define-public python-thinc (package (name "python-thinc") - (version "8.1.12") + (version "8.3.4") (source (origin (method url-fetch) (uri (pypi-uri "thinc" version)) (sha256 (base32 - "0lx37vl84y2jcsfn9sphdzbjny2jjyfb85llrrvz0xmig5f2rlcx")))) + "1n7zyqasnbb67bcr67l96pvihn4ibjrpbqvi0z56vfwb961594mm")))) (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'build 'build-ext - (lambda _ - (invoke "python" "setup.py" "build_ext" "--inplace" - "-j" (number->string (parallel-job-count)))))))) - (propagated-inputs (list python-blis-for-thinc + (list + ;; tests: 1215 passed, 113 skipped, 1657 warnings + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'remove-local-thinc + (lambda _ + (copy-recursively "thinc/tests" "tests") + ;; This would otherwise interfere with finding the installed + ;; thinc when running tests. + (delete-file-recursively "thinc")))))) + (propagated-inputs (list python-blis python-catalogue python-confection python-cymem python-murmurhash - python-numpy + python-numpy-2 python-packaging python-preshed python-pydantic-2 python-setuptools python-srsly python-wasabi)) - (native-inputs (list python-cython python-mock python-pytest - python-setuptools python-wheel)) + (native-inputs (list python-cython-0 python-mock python-pytest + python-setuptools)) (home-page "https://github.com/explosion/thinc") (synopsis "Functional take on deep learning") (description diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 696510e3abc..d31b9412aa9 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -4364,18 +4364,6 @@ summation in K-fold precision.") self-contained C-extension for Python.") (license license:bsd-3))) -(define-public python-blis-for-thinc - (package - (inherit python-blis) - (name "python-blis") - (version "0.7.8") - (source (origin - (method url-fetch) - (uri (pypi-uri "blis" version)) - (sha256 - (base32 - "0mvcif9g69424bk8xiflacxzpvz802ns791v2r8a6fij0sxl3mgp")))))) - (define-public python-cvxopt (package (name "python-cvxopt") |
