还是编译不过:
Building wheel for cffi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for cffi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [58 lines of output]
/tmp/pip-build-env-9qf70qwc/overlay/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: MIT License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/verifier.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/recompiler.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/model.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/lock.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/error.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/cparser.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/commontypes.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/api.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_shimmed_dist_utils.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_imp_emulation.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/__init__.py -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_embedding.h -> build/lib.linux-x86_64-cpython-313/cffi
copying src/cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-313/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-x86_64-cpython-313/src/c
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -DFFI_BUILDING=1 -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/home/bobi/Documents/tuya/Projects/T5_TuyaOS-3.12.16/software/TuyaOS/vendor/T5/t5_os/projects/tuya_app/tuya_build_env/include -I/usr/include/python3.13 -c src/c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-313/src/c/_cffi_backend.o
src/c/_cffi_backend.c: In function ‘b_do_dlopen’:
src/c/_cffi_backend.c:4532:22: warning: ‘Py_FileSystemDefaultEncoding’ is deprecated [-Wdeprecated-declarations]
4532 | Py_FileSystemDefaultEncoding, &filename_or_null, &flags))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:99,
from src/c/_cffi_backend.c:2:
/usr/include/python3.13/fileobject.h:22:46: note: declared here
22 | Py_DEPRECATED(3.12) PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/c/_cffi_backend.c: In function ‘_my_PyErr_WriteUnraisable’:
src/c/_cffi_backend.c:6121:9: error: implicit declaration of function ‘_PyErr_WriteUnraisableMsg’; did you mean ‘PyErr_WriteUnraisable’? [-Wimplicit-function-declaration]
6121 | _PyErr_WriteUnraisableMsg(PyText_AS_UTF8(s), NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| PyErr_WriteUnraisable
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cffi
Failed to build cffi
ERROR: Failed to build installable wheels for some pyproject.toml based projects (cffi)
Failed to install required Python packages.
make: *** [/home/bobi/Documents/tuya/Projects/T5_TuyaOS-3.12.16/software/TuyaOS/scripts/mk/app.mk:195: app_by_name] Error 1