zt@Mac pyvideotrans % uv sync
Resolved 417 packages in 1.62s
× Failed to build pynini==2.1.6
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta:__legacy__.build_wheel failed (exit
status: 1)
[stdout]
running bdist_wheel
running build
running build_py
copying pywrapfst/__init__.py ->
build/lib.macosx-11.0-arm64-cpython-310/pywrapfst
copying pynini/__init__.py ->
build/lib.macosx-11.0-arm64-cpython-310/pynini
copying pynini/examples/chatspeak.py ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/chatspeak_model.py ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/weather.py ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/__init__.py ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/examples
copying pynini/examples/numbers.py ->......
thon-310/pynini/lib
copying pynini/export/BUILD.bazel ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/grm_py_build_defs.bzl ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/export
copying pynini/export/py.typed ->
build/lib.macosx-11.0-arm64-cpython-310/pynini/export
running build_ext
building '_pynini' extension
c++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG
-g -fwrapv -O3 -Wall -O3 -arch arm64 -mmacosx-version-min=11.0
-Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix
-fPIC -Iextensions -I/Users/zt/.cache/uv/builds-v0/.tmp7isRZG/include
-I/Users/zt/.local/share/uv/python/cpython-3.10.19-macos-aarch64-none/include/python3.10
-c extensions/_pynini.cpp -o
build/temp.macosx-11.0-arm64-cpython-310/extensions/_pynini.o -std=c++17
-Wno-register -Wno-deprecated-declarations -Wno-unused-function
-Wno-unused-local-typedefs -funsigned-char -stdlib=libc++
-mmacosx-version-min=10.12
[stderr]
/Users/zt/.cache/uv/builds-v0/.tmp7isRZG/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82:
SetuptoolsDeprecationWarning: `project.license` as a TOML table is
deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for
`project.license`. You can also use `project.license-files`. (Both
options available on setuptools>=77.0.0).
By 2027-Feb-18, you need to update your project and remove
deprecated calls
or your builds will no longer be supported.
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
/Users/zt/.cache/uv/builds-v0/.tmp7isRZG/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:61:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a
SPDX license expression:
License :: OSI Approved :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
dist._finalize_license_expression()
/Users/zt/.cache/uv/builds-v0/.tmp7isRZG/lib/python3.10/site-packages/setuptools/dist.py:765:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a
SPDX license expression:
License :: OSI Approved :: Apache Software License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
extensions/_pynini.cpp:1224:10: fatal error: 'fst/util.h' file not found
1224 | #include
| ^~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/c++' failed with exit code 1
hint: pynini (v2.1.6) was included because pyvideotrans (v4.5) depends on pynini
hint: This error likely indicates that you need to install a library that provides "fst/util.h" for [email protected]%