mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: python-threadpoolctl: Update to 3.1.0.
* gnu/packages/machine-learning.scm (python-threadpoolctl): Update to 3.1.0. [build-system]: Use pyproject-build-system. [arguments]: Remove custom 'check phase. [native-inputs]: Add python-flit-core.
This commit is contained in:
parent
b24a05830d
commit
1e9a59bb54
1 changed files with 4 additions and 13 deletions
|
@ -1471,26 +1471,17 @@ (define-public python-thinc
|
|||
(define-public python-threadpoolctl
|
||||
(package
|
||||
(name "python-threadpoolctl")
|
||||
(version "2.1.0")
|
||||
(version "3.1.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "threadpoolctl" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0szsxcm2fbxrn83iynn42bnvrdh7mfsmkhfn8pdn7swblfb7rifx"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest"))
|
||||
#t)))))
|
||||
"100k76nmajf408lbn5ipis1gilklcs6sbqyqy3hhlh54zanbldd3"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(list python-flit-core python-pytest))
|
||||
(home-page "https://github.com/joblib/threadpoolctl")
|
||||
(synopsis "Python helpers for common threading libraries")
|
||||
(description "Thread-pool Controls provides Python helpers to limit the
|
||||
|
|
Loading…
Reference in a new issue