Closed clin1234 closed 6 months ago
Any update?
+1
pip install --upgrade zstandard
Collecting zstandard
Using cached zstandard-0.22.0.tar.gz (660 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
<string>:37: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
<string>:38: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
Traceback (most recent call last):
File "/home/jm/repos/test/llm_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
~~~~^^
File "/home/jm/repos/test/llm_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jm/repos/test/llm_loaders/venv_313/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-8jn7sepo/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-8jn7sepo/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/tmp/pip-build-env-8jn7sepo/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 507, in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-8jn7sepo/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 341, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 106, in <module>
File "/tmp/pip-install-coeiug4_/zstandard_3a536872c7fa4e369fdbd56dd6d9e34d/make_cffi.py", line 161, in <module>
ffi = cffi.FFI()
File "/tmp/pip-build-env-8jn7sepo/overlay/lib/python3.13/site-packages/cffi/api.py", line 48, in __init__
import _cffi_backend as backend
ImportError: /tmp/pip-build-env-8jn7sepo/overlay/lib/python3.13/site-packages/_cffi_backend.cpython-313-aarch64-linux-gnu.so: undefined symbol: _PyErr_WriteUnraisableMsg
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
(venv_313) 22:06:56 jm@jm:~/repos/test/llm_loaders:
genai-qa:$ python --version
Python 3.13.0b1
(venv_313) 22:08:26 jm@jm:~/repos/test/llm_loaders:
genai-qa:$ uname -a
Linux jm 5.15.0-100-generic #110-Ubuntu SMP Wed Feb 7 13:28:04 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Python 3.13 support is on the main
branch with commit f90e2bbcb800047cc971864162998a99d4c2673f.
Build breaks with the following error, due to
cffi
pinned to 1.16The
cffi
repository already fixes the build issue, and per python-cffi/cffi#71, the maintainer will release an updated version once 3.13b1 comes out