Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-transformers for openSUSE:Factory checked in at 2024-10-29 14:34:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-transformers (Old) and /work/SRC/openSUSE:Factory/.python-transformers.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-transformers" Tue Oct 29 14:34:55 2024 rev:2 rq:1218832 version:4.44.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-transformers/python-transformers.changes 2024-10-01 17:12:23.363156220 +0200 +++ /work/SRC/openSUSE:Factory/.python-transformers.new.2020/python-transformers.changes 2024-10-29 14:35:16.101818322 +0100 @@ -1,0 +2,6 @@ +Tue Oct 8 02:01:18 UTC 2024 - Guang Yee <gyee@suse.com> + +- Add patch 0001-Remove-upper-bound-for-tokenizers.patch + * Remove upper bound for tokenizers + +------------------------------------------------------------------- New: ---- 0001-Remove-upper-bound-for-tokenizers.patch BETA DEBUG BEGIN: New: - Add patch 0001-Remove-upper-bound-for-tokenizers.patch * Remove upper bound for tokenizers BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-transformers.spec ++++++ --- /var/tmp/diff_new_pack.OGbjUF/_old 2024-10-29 14:35:16.665841738 +0100 +++ /var/tmp/diff_new_pack.OGbjUF/_new 2024-10-29 14:35:16.665841738 +0100 @@ -25,6 +25,7 @@ URL: https://github.com/huggingface/transformers Source: https://github.com/huggingface/transformers/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: python-transformers.rpmlintrc +Patch0: 0001-Remove-upper-bound-for-tokenizers.patch BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: %{python_module filelock} @@ -435,6 +436,7 @@ %prep %setup -q -n transformers-%{version} +%autopatch -p1 # fix shebang find . -name \*.py -type f -exec \ sed -i "s|^#!\s*%{_bindir}/env python|#!%{_bindir}/python3|" {} \; ++++++ 0001-Remove-upper-bound-for-tokenizers.patch ++++++ From e45fa5da9edaaa27a417e0d1e695bd81b2b29ac5 Mon Sep 17 00:00:00 2001 From: yeey <gyee@suse.com> Date: Mon, 7 Oct 2024 18:52:19 -0700 Subject: [PATCH] Remove upper bound for tokenizers --- setup.py | 2 +- src/transformers/dependency_versions_table.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b1547e2e5..b44844128 100644 --- a/setup.py +++ b/setup.py @@ -178,7 +178,7 @@ _deps = [ "tf2onnx", "timeout-decorator", "timm<=0.9.16", - "tokenizers>=0.19,<0.20", + "tokenizers>=0.19", "torch", "torchaudio", "torchvision", diff --git a/src/transformers/dependency_versions_table.py b/src/transformers/dependency_versions_table.py index 7644d8d68..c99c8b1b2 100644 --- a/src/transformers/dependency_versions_table.py +++ b/src/transformers/dependency_versions_table.py @@ -83,7 +83,7 @@ deps = { "tf2onnx": "tf2onnx", "timeout-decorator": "timeout-decorator", "timm": "timm<=0.9.16", - "tokenizers": "tokenizers>=0.19,<0.20", + "tokenizers": "tokenizers>=0.19", "torch": "torch", "torchaudio": "torchaudio", "torchvision": "torchvision", -- 2.45.2