Skip to content

Instantly share code, notes, and snippets.

@grischard
Created October 16, 2025 01:30
Show Gist options
  • Save grischard/97f54148d8a48a3c7b3abcf62e5777a4 to your computer and use it in GitHub Desktop.
Save grischard/97f54148d8a48a3c7b3abcf62e5777a4 to your computer and use it in GitHub Desktop.
uvx --python=3.14 esphome hello
× Failed to build `ruamel-yaml-clib==0.2.12`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
requires = get_requires_for_build({})
File "/Users/stereo/.cache/uv/builds-v0/.tmpT9x8nF/lib/python3.14/site-packages/setuptools/build_meta.py", line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stereo/.cache/uv/builds-v0/.tmpT9x8nF/lib/python3.14/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "/Users/stereo/.cache/uv/builds-v0/.tmpT9x8nF/lib/python3.14/site-packages/setuptools/build_meta.py", line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 79, in <module>
ImportError: cannot import name 'Str' from 'ast' (/opt/homebrew/Cellar/[email protected]/3.14.0/Frameworks/Python.framework/Versions/3.14/lib/python3.14/ast.py)
hint: This usually indicates a problem with the package or the build environment.
help: `ruamel-yaml-clib` (v0.2.12) was included because `esphome` (v2025.10.0) depends on `ruamel-yaml-clib`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment