Package Details: python-transformers 4.29.1-1

Git Clone URL: (read-only, click to copy)
Package Base: python-transformers
Description: State-of-the-art Natural Language Processing for Jax, PyTorch and TensorFlow
Upstream URL:
Licenses: Apache
Submitter: filipg
Maintainer: xiota (daskol)
Last Packager: daskol
Votes: 6
Popularity: 1.07
First Submitted: 2021-10-23 09:30 (UTC)
Last Updated: 2023-05-14 21:24 (UTC)

Sources (1)

Latest Comments

1 2 Next › Last »

xiota commented on 2023-03-24 12:48 (UTC)

Those having difficulty building, please try:

extra-x86_64-build --  -I 'python-huggingface-hub-1:'*-any.pkg.tar.zst -I 'python-tokenizers-'*-x86_64.pkg.tar.zst

daskol commented on 2023-03-24 11:50 (UTC) (edited on 2023-03-24 11:50 (UTC) by daskol)

@AllesMeins @DeathByDenim It was a bug in setuptools (see issue)

daskol commented on 2023-03-24 11:47 (UTC)

@DeathByDenim Did you try to update to update to the latest python-setuptools (1:67.5.1-1 by the momemnt)? Arch is rolling release distro still.

DeathByDenim commented on 2023-03-24 11:44 (UTC)

@daskol I have the same issue as AllesMeins. My version of setuptools is 67.3.0.

daskol commented on 2023-03-22 22:04 (UTC)

@AllesMeins I've checked package building in isolated environment in docker container. Everything is fine.

What version of setuptools do you use? It seems that it is obsolete.

AllesMeins commented on 2023-03-22 21:43 (UTC) (edited on 2023-03-22 21:44 (UTC) by AllesMeins)

Building of the latest version fails for me. Previous version was building fine:

==> Starting build()...
* Getting build dependencies for wheel...
running egg_info
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/", line 353, in <module>
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/lib/python3.10/site-packages/pyproject_hooks/_in_process/", line 118, in get_requires_for_build_wheel
return hook(config_settings)
  File "/usr/lib/python3.10/site-packages/setuptools/", line 338, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/usr/lib/python3.10/site-packages/setuptools/", line 320, in _get_build_requires
  File "/usr/lib/python3.10/site-packages/setuptools/", line 484, in run_setup
  File "/usr/lib/python3.10/site-packages/setuptools/", line 335, in run_setup
    exec(code, locals())
  File "<string>", line 419, in <module>
  File "/usr/lib/python3.10/site-packages/setuptools/", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 201, in run_commands
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 969, in run_commands
  File "/usr/lib/python3.10/site-packages/setuptools/", line 1221, in run_command
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 987, in run_command
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/", line 111, in ensure_finalized
  File "/usr/lib/python3.10/site-packages/setuptools/command/", line 253, in finalize_options
    if pd is not None and pd.key == self.egg_name.lower():
AttributeError: 'PathDistribution' object has no attribute 'key'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().