guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 2a43585ff1016177a89579e7d0404ea8e2e3c819
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 13 15:13:15 2026 +0000
gnu: python-huggingface-hub: Reduce closure size.
* gnu/packages/python-web.scm (python-huggingface-hub):
[propagated-inputs]: Add python-typer.
[native-inputs]: Remove python-aiohttp, python-fastapi, python-jinja2,
python-numpy, python-pillow, python-pydantic, python-pytest-asyncio,
python-pytest-vcr, python-pytest-xdist, python-types-requests,
python-types-toml, python-types-urllib3, python-typing-extensions, and
python-urllib3; add python-aiohttp-minimal, python-fastapi-minimal, and
python-starlette-minimal.
Relates-to: guix/guix!12523
---
gnu/packages/python-web.scm | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f3c834b32ca..b7d82d2a9a7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6561,6 +6561,7 @@ to be used directly, and is instead intended to be used
from
(build-system pyproject-build-system)
(arguments
(list
+ ;; tests: 470 passed, 67 skipped, 212 deselected, 49 subtests passed
#:test-flags
;; We don't have sentence_transformers...
'(list
"--ignore=contrib/sentence_transformers/test_sentence_transformers.py"
@@ -6614,28 +6615,20 @@ to be used directly, and is instead intended to be used
from
python-pyyaml
python-requests
python-tqdm
- python-typing-extensions))
+ python-typing-extensions
+ ;; [optional]
+ python-typer))
(native-inputs
- (list python-aiohttp
- python-fastapi
- python-jedi
- python-jinja2
- python-numpy
- python-pillow
- python-pydantic
+ (list python-jedi
python-pytest
- python-pytest-asyncio
python-pytest-env
python-pytest-mock
python-pytest-rerunfailures
- python-pytest-vcr
- python-pytest-xdist
python-setuptools
- python-types-requests
- python-types-toml
- python-types-urllib3
- python-typing-extensions
- python-urllib3))
+ ;; Test with minimal variants of Web frameworks.
+ python-aiohttp-minimal
+ python-fastapi-minimal
+ python-starlette-minimal))
(home-page "https://huggingface.co/docs/huggingface_hub/")
(synopsis "Client library for accessing the huggingface.co hub")
(description