Fedora Account System
Red Hat Associate
Red Hat Customer
The rust-tokenizers package has upstream python bindings [1], they are using in a bunch of python based AI tooling. [1] https://github.com/huggingface/tokenizers/blob/main/bindings/python/pyproject.toml
*** Bug 2442992 has been marked as a duplicate of this bug. ***
The bindings are available in Fedora 44 and rawhide (45). There is a missing dep in f42/f43; I'm going to try to discuss it with the maintainer of that dependency. I think the issue is that the bindings don't fall under the existing rust exception to the u the updates policy - it might be worth officially taking the issue to FESCo.
https://src.fedoraproject.org/rpms/python-tokenizers
(In reply to Alexander Lent from comment #2) > The bindings are available in Fedora 44 and rawhide (45). Ah, I missed them, while I have a bunch of HW already on F44, there's a bunch of the AI stuff that still needs py3.13 so for that I"m currently using f42. > There is a missing dep in f42/f43; I'm going to try to discuss it with the > maintainer of that dependency. Thanks > I think the issue is that the bindings don't fall under the existing rust > exception to the u the updates policy - it might be worth officially taking > the issue to FESCo. Can you provide details of that dep? Thanks!
OK, the dep is rust-pyo3-async-runtime{,-macros} maintained by gordonmessmer. I'll bring this up in the AI/ML SIG meeting tomorrow, see what folks think. I have a PR ready if they agree in order to make this work on 42/43. Thanks for asking about this!
See proposed fix in https://src.fedoraproject.org/rpms/python-tokenizers/pull-request/1
> I have a PR ready if they agree in order to make this work on 42/43. Thanks > for asking about this! f42 doesn't particularly make sense, it'll be EOL soon, f44+ would be fine for me.
Proposed updates, please test if able: https://bodhi.fedoraproject.org/updates/FEDORA-2026-79b1202266 https://bodhi.fedoraproject.org/updates/FEDORA-2026-88aa2e7442 I'll probably leave 0.22.2 as the final (and only) version on Fedora 42, and upgrade to 0.23.1 later on Fedora 43+. Let me know if that works for you.
> I'll probably leave 0.22.2 as the final (and only) version on Fedora 42, and > upgrade to 0.23.1 later on Fedora 43+. Let me know if that works for you. Yup, fine by me
Done.