17
0

7 Commits

Author SHA256 Message Date
0d60f0f14c Accepting request 1320963 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1320963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-huggingface-hub?expand=0&rev=5
2025-12-04 10:24:38 +00:00
747233ff51 Require python-typer at runtime
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-huggingface-hub?expand=0&rev=12
2025-12-03 10:22:37 +00:00
cdd213d46f Note: not tested
Update to 1.1.7
  * huggingface-cli was renamed to hf

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-huggingface-hub?expand=0&rev=11
2025-12-03 08:45:55 +00:00
a473f14a56 Accepting request 1307431 from science:machinelearning
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1307431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-huggingface-hub?expand=0&rev=4
2025-09-29 14:31:53 +00:00
e47eb816ee Accepting request 1306054 from home:awerner:branches:science:machinelearning
- Update to 0.33.1
  * [Tiny agents] Add tool call to messages
  * fix: update payload preparation to merge parameters into the output dictionary
  * fix(inference_endpoints): use GET healthRoute instead of GET / to check status
  * Recursive filter_none in Inference Providers

OBS-URL: https://build.opensuse.org/request/show/1306054
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-huggingface-hub?expand=0&rev=9
2025-09-22 13:12:17 +00:00
728236bf3a Accepting request 1296949 from science:machinelearning
OBS-URL: https://build.opensuse.org/request/show/1296949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-huggingface-hub?expand=0&rev=3
2025-08-01 22:42:21 +00:00
662e447cce - Use pyproject macros to build and install.
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-huggingface-hub?expand=0&rev=7
2025-08-01 06:38:03 +00:00
4 changed files with 44 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c35a47f5763e895e296f08523bdd9814e2e857030d6e056f0e6113cc9297825a
size 4056486

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b1f1905ed48adc9e98e13f53831c814f4cadce4cee3afb2eb45fbac0dbe8f1d
size 1000550

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Dec 3 10:06:27 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Require python-typer at runtime
-------------------------------------------------------------------
Wed Dec 3 08:27:39 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Update to 1.1.7
* huggingface-cli was renamed to hf
-------------------------------------------------------------------
Fri Sep 19 18:58:08 UTC 2025 - Stefan Haas <stefan.haas@suse.com>
- Update to 0.33.1
* [Tiny agents] Add tool call to messages
* fix: update payload preparation to merge parameters into the output dictionary
* fix(inference_endpoints): use GET healthRoute instead of GET / to check status
* Recursive filter_none in Inference Providers
-------------------------------------------------------------------
Fri Aug 1 04:58:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Use pyproject macros to build and install.
-------------------------------------------------------------------
Tue Dec 3 13:47:08 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-huggingface-hub
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-huggingface-hub
Version: 0.26.3
Version: 1.1.7
Release: 0
Summary: Client library for interaction with the huggingface hub
License: Apache-2.0
@@ -28,10 +28,12 @@ BuildRequires: %{python_module PyYAML >= 5.1}
BuildRequires: %{python_module filelock}
BuildRequires: %{python_module fsspec >= 2023.5.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 wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML >= 5.1
@@ -41,6 +43,7 @@ Requires: python-packaging >= 20.9
Requires: python-requests
Requires: python-tqdm >= 4.42.1
Requires: python-typing-extensions >= 3.7.4.3
Requires: python-typer
BuildArch: noarch
%python_subpackages
@@ -51,22 +54,26 @@ Client library to download and publish models, datasets and other repos on the h
%setup -q -n huggingface_hub-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/huggingface-cli
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/hf
%python_clone -a %{buildroot}%{_bindir}/tiny-agents
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%python_install_alternative huggingface-cli
%python_install_alternative hf
%python_install_alternative tiny-agents
%postun
%python_uninstall_alternative huggingface-cli
%python_uninstall_alternative hf
%python_uninstall_alternative tiny-agents
%files %{python_files}
%python_alternative %{_bindir}/huggingface-cli
%python_alternative %{_bindir}/hf
%{python_sitelib}/huggingface_hub
%{python_sitelib}/huggingface_hub-%{version}*info
%{python_sitelib}/huggingface_hub-%{version}.dist-info
%python_alternative %{_bindir}/tiny-agents
%changelog