Package Details: python-transformers 4.54.1-1

Git Clone URL: https://aur.archlinux.org/python-transformers.git (read-only, click to copy)
Package Base: python-transformers
Description: State-of-the-art Natural Language Processing for Jax, PyTorch and TensorFlow
Upstream URL: https://github.com/huggingface/transformers
Keywords: huggingface transformers
Licenses: Apache-2.0
Submitter: filipg
Maintainer: daskol
Last Packager: daskol
Votes: 15
Popularity: 0.048588
First Submitted: 2021-10-23 09:30 (UTC)
Last Updated: 2025-08-03 20:50 (UTC)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

envolution commented on 2025-07-29 22:30 (UTC)

@daskol I'm confused how you're running checks before bumping the version if the required version of huggingface-hub was released 2 hours ago

daskol commented on 2025-07-29 21:05 (UTC)

@envolution Of course, stage check in PKGBUILD addresses exactly this issue.

There's a number of packages that depend on this and it may be worthwhile to withhold version increments until upstream dependencies dependencies catch up:

https://gitlab.archlinux.org/archlinux/packaging/packages/python-huggingface-hub/-/commits/main/PKGBUILD?ref_type=heads

envolution commented on 2025-07-29 01:39 (UTC)

@daskol out of curiosity, are you running build tests before bumping versions? There's a number of packages that depend on this and it may be worthwhile to withhold version increments until upstream dependencies dependencies catch up:

clone/python-transformers/src/transformers-4.54.0/src/transformers/utils/versions.py", line 44, in _compare_versions
    raise ImportError(
        f"{requirement} is required for a normal functioning of this module, but found {pkg}=={got_ver}.{hint}"
    )
ImportError: huggingface-hub>=0.34.0,<1.0 is required for a normal functioning of this module, but found huggingface-hub==0.33.5.

If you would like I can help with this

daskol commented on 2025-04-07 08:09 (UTC) (edited on 2025-04-07 08:09 (UTC) by daskol)

NOTE The next v4.51.0 requires xet-core (transitive through python-huggingface-hub>=1:0.30.0). It is now under testing in extra-testing.

envolution commented on 2025-03-28 20:42 (UTC)

no worries, I think they intended to publish 4.50.3 but somehow used the previous version tag - agree with all of your sentiments on the issue log

daskol commented on 2025-03-28 19:57 (UTC)

@envolution Thank you for reporting the issue.

HF maintainers indeed have changed release v4.50.2 (checksums of my backed up and newly downloaded tarball differ). Here is the issue to track an incident on HF side.

envolution commented on 2025-03-28 16:18 (UTC)

Yeah the new archive tagged 4.50.2 actually builds a wheel called dist/transformers-4.50.3-py3-none-any.whl - so the package section fails:

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/20250328121057_python-transformers/python-transformers/src/transformers-4.50.2/dist/transformers-4.50.2-*-*.whl'

here's the wheel after build succeeds:

$ ls /tmp/20250328121057_python-transformers/python-transformers/src/transformers-4.50.2/dist/transformers*
/tmp/20250328121057_python-transformers/python-transformers/src/transformers-4.50.2/dist/transformers-4.50.3-py3-none-any.whl

envolution commented on 2025-03-28 16:13 (UTC)

they probably replaced the archive for some reason, the correct shasum is:

sha256sums=('50e286552ddef214d49f75ac2ab5acd68efbc1c57b9930ead2e6d04f197e9024')

trougnouf commented on 2025-03-21 13:08 (UTC) (edited on 2025-03-21 13:11 (UTC) by trougnouf)

Thanks! That's now fixed in python-safetensors-bin

archlinux-ai seemed enticing but I don't feel comfortable adding a Moscow-based maintainer to my trusted keys.

(I realize that's you and I appreciate your work and hope things improve one day.)

daskol commented on 2025-03-17 20:05 (UTC)

@trougnouf It is a packaging issue of python-safetensors-bin. Arrayprovide must contains package name with it version (e.g. provides=('python-safetensors-bin=0.5.3')).

BTW If your are looking for pre-built packages, take a look at this.