1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Sharlatan Hellseher
2025-10-28 14:47:07 +00:00
parent ab1e36d168
commit 86ae403744
2 changed files with 16 additions and 24 deletions

View File

@@ -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

View File

@@ -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")