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-09-24 23:06:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-huggingface-hub (Old)
and /work/SRC/openSUSE:Factory/.python-huggingface-hub.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-huggingface-hub"
Thu Sep 24 23:06:06 2026 rev:17 rq:1380236 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-huggingface-hub/python-huggingface-hub.changes
2026-09-18 22:05:44.198577001 +0200
+++
/work/SRC/openSUSE:Factory/.python-huggingface-hub.new.383539/python-huggingface-hub.changes
2026-09-24 23:06:11.411173746 +0200
@@ -1,0 +2,13 @@
+Thu Sep 24 17:15:56 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 2.0.0 (major, intentionally breaking;
+ see upstream migration guide):
+ * HTTP stack moves from httpx to httpx2: clients and
+ transport exceptions now come from httpx2/httpcore2;
+ custom client factories and except clauses must use
+ httpx2 types (compat import from huggingface_hub.utils)
+ * httpx2 uses the OS certificate trust store by default
+ * Drop the huggingface-cli console script (removed
+ upstream); hf and tiny-agents remain
+
+-------------------------------------------------------------------
Old:
----
huggingface_hub-1.32.0.tar.gz
New:
----
huggingface_hub-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-huggingface-hub.spec ++++++
--- /var/tmp/diff_new_pack.H68TXu/_old 2026-09-24 23:06:12.474218346 +0200
+++ /var/tmp/diff_new_pack.H68TXu/_new 2026-09-24 23:06:12.476218430 +0200
@@ -23,7 +23,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-huggingface-hub
-Version: 1.32.0
+Version: 2.0.0
Release: 0
Summary: Client library for interaction with the huggingface hub
License: Apache-2.0
@@ -33,7 +33,7 @@
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 httpx2 >= 2.0.0}
BuildRequires: %{python_module packaging >= 20.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -46,7 +46,7 @@
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-httpx2 >= 2.0.0
Requires: python-packaging >= 20.9
Requires: python-tqdm >= 4.42.1
Requires: python-typing-extensions >= 4.1.0
@@ -79,9 +79,8 @@
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/hf
-%python_clone -a %{buildroot}%{_bindir}/huggingface-cli
%python_clone -a %{buildroot}%{_bindir}/tiny-agents
-%python_group_libalternatives hf huggingface-cli tiny-agents
+%python_group_libalternatives hf tiny-agents
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -92,22 +91,18 @@
%pre
%python_libalternatives_reset_alternative hf
-%python_libalternatives_reset_alternative huggingface-cli
%python_libalternatives_reset_alternative tiny-agents
%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
++++++ huggingface_hub-1.32.0.tar.gz -> huggingface_hub-2.0.0.tar.gz ++++++
++++ 7151 lines of diff (skipped)