summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/machine-learning.scm28
-rw-r--r--gnu/packages/maths.scm12
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")