Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-huggingface-hub for
openSUSE:Factory checked in at 2026-07-15 16:35:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-huggingface-hub (Old)
and /work/SRC/openSUSE:Factory/.python-huggingface-hub.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-huggingface-hub"
Wed Jul 15 16:35:03 2026 rev:7 rq:1365516 version:1.23.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-huggingface-hub/python-huggingface-hub.changes
2026-05-18 17:48:22.597194840 +0200
+++
/work/SRC/openSUSE:Factory/.python-huggingface-hub.new.1991/python-huggingface-hub.changes
2026-07-15 16:54:34.156828432 +0200
@@ -1,0 +2,15 @@
+Sun Jul 12 20:03:02 UTC 2026 - Martin Pluskal <[email protected]>
+
+- update to 1.23.0:
+ * HTTP layer migrated from requests to httpx, adding native
+ async support and HTTP/2
+ * command line client migrated from typer to click; the legacy
+ "huggingface-cli" command is provided again alongside "hf"
+ * optional Xet storage backend (hf-xet) for faster uploads and
+ downloads of large files; unbundled here as it is not packaged
+ * expanded Inference client with more providers and tasks
+ * numerous new Hub API helpers and bug fixes
+- switch Source to the PyPI sdist
+- drop the hard hf-xet dependency (not packaged, imported lazily)
+
+-------------------------------------------------------------------
Old:
----
huggingface_hub-1.1.7.tar.gz
New:
----
huggingface_hub-1.23.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-huggingface-hub.spec ++++++
--- /var/tmp/diff_new_pack.aV6lO8/_old 2026-07-15 16:54:35.620878184 +0200
+++ /var/tmp/diff_new_pack.aV6lO8/_new 2026-07-15 16:54:35.624878320 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-huggingface-hub
#
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,32 +18,33 @@
%{?sle15_python_module_pythons}
Name: python-huggingface-hub
-Version: 1.1.7
+Version: 1.23.0
Release: 0
Summary: Client library for interaction with the huggingface hub
License: Apache-2.0
URL: https://github.com/huggingface/huggingface_hub
-Source:
https://github.com/huggingface/huggingface_hub/archive/refs/tags/v%{version}.tar.gz#/huggingface_hub-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/h/huggingface_hub/huggingface_hub-%{version}.tar.gz
BuildRequires: %{python_module PyYAML >= 5.1}
-BuildRequires: %{python_module filelock}
+BuildRequires: %{python_module click >= 8.1.7}
+BuildRequires: %{python_module filelock >= 3.10.0}
BuildRequires: %{python_module fsspec >= 2023.5.0}
+BuildRequires: %{python_module httpx >= 0.23.0}
BuildRequires: %{python_module packaging >= 20.9}
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tqdm >= 4.42.1}
-BuildRequires: %{python_module typing-extensions >= 3.7.4.3}
+BuildRequires: %{python_module typing-extensions >= 4.1.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 5.1
-Requires: python-filelock
+Requires: python-click >= 8.1.7
+Requires: python-filelock >= 3.10.0
Requires: python-fsspec >= 2023.5.0
+Requires: python-httpx >= 0.23.0
Requires: python-packaging >= 20.9
-Requires: python-requests
Requires: python-tqdm >= 4.42.1
-Requires: python-typer
-Requires: python-typing-extensions >= 3.7.4.3
+Requires: python-typing-extensions >= 4.1.0
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -54,6 +55,13 @@
%prep
%setup -q -n huggingface_hub-%{version}
+# hf-xet is the optional Rust Xet storage accelerator and is not packaged for
+# openSUSE; huggingface_hub imports it lazily so it stays fully functional
+# without it. Drop the hard dependency so the package remains installable.
+sed -i '/HF_XET_VERSION/d' setup.py
+# The click >= 8.4.2 pin only avoids a broken fish completion script shipped in
+# 8.4.0/8.4.1; relax it to the click version available in the distribution.
+sed -i 's/click>=8.4.2,<9.0.0/click>=8.1.7,<9.0.0/' setup.py
%build
%pyproject_wheel
@@ -61,20 +69,30 @@
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/hf
+%python_clone -a %{buildroot}%{_bindir}/huggingface-cli
%python_clone -a %{buildroot}%{_bindir}/tiny-agents
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+# The upstream test suite talks to the Hugging Face Hub over the network, so it
+# cannot run in the build environment. Restrict %%check to an import smoke test
+# that exercises the freshly built package under every configured Python
flavour.
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -c "import
huggingface_hub"
+
%post
%python_install_alternative hf
+%python_install_alternative huggingface-cli
%python_install_alternative tiny-agents
%postun
%python_uninstall_alternative hf
+%python_uninstall_alternative huggingface-cli
%python_uninstall_alternative tiny-agents
%files %{python_files}
%python_alternative %{_bindir}/hf
+%python_alternative %{_bindir}/huggingface-cli
+%python_alternative %{_bindir}/tiny-agents
%{python_sitelib}/huggingface_hub
%{python_sitelib}/huggingface_hub-%{version}.dist-info
-%python_alternative %{_bindir}/tiny-agents
++++++ huggingface_hub-1.1.7.tar.gz -> huggingface_hub-1.23.0.tar.gz ++++++
++++ 112006 lines of diff (skipped)