mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-huggingface-hub: Update to 0.31.4.
* gnu/packages/python-web.scm (python-huggingface-hub): Update to 0.31.4. [native-inputs]: Add python-pytest-mock. [home-page]: Update. [arguments]<#:test-flags>: Disable more tests. Change-Id: Ia1354fca9ba4d1a8906a11873c469a4f4b024efe Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
c676feed86
commit
548dbaf3d7
1 changed files with 11 additions and 4 deletions
|
@ -835,7 +835,7 @@ of a fake DNS resolver.")
|
|||
(define-public python-huggingface-hub
|
||||
(package
|
||||
(name "python-huggingface-hub")
|
||||
(version "0.23.2")
|
||||
(version "0.31.4")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
|
@ -844,7 +844,7 @@ of a fake DNS resolver.")
|
|||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0hygxqcixkc1d9sr47j2km6z0p17aj4k1dzm4cvpddrvhrgqayq5"))))
|
||||
(base32 "1rjkrmvvyzxlbnbndrg4v9qq39grn46c26zrdjgpf114gci5pwap"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
|
@ -881,7 +881,13 @@ of a fake DNS resolver.")
|
|||
"-k" (string-append
|
||||
"not test_push_to_hub"
|
||||
" and not test_from_pretrained_model_id_only"
|
||||
" and not test_from_pretrained_model_id_and_revision"))
|
||||
" and not test_from_pretrained_model_id_and_revision"
|
||||
;; These all require internet access
|
||||
" and not test_auth"
|
||||
" and not test_oauth"
|
||||
" and not test_utils_sha"
|
||||
" and not test_inference_providers"
|
||||
" and not test_xet"))
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-before 'check 'pre-check
|
||||
|
@ -908,6 +914,7 @@ of a fake DNS resolver.")
|
|||
python-pytest-asyncio
|
||||
python-pytest-cov
|
||||
python-pytest-env
|
||||
python-pytest-mock
|
||||
python-pytest-rerunfailures
|
||||
python-pytest-vcr
|
||||
python-pytest-xdist
|
||||
|
@ -918,7 +925,7 @@ of a fake DNS resolver.")
|
|||
python-typing-extensions
|
||||
python-urllib3
|
||||
python-wheel))
|
||||
(home-page "https://github.com/huggingface/huggingface_hub")
|
||||
(home-page "https://huggingface.co/docs/huggingface_hub/")
|
||||
(synopsis "Client library for accessing the huggingface.co hub")
|
||||
(description
|
||||
"This package provides a client library to download and publish models,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue