-
-
Notifications
You must be signed in to change notification settings - Fork 827
Closed
Description
Compiling an esphome project in Home Assistant with an external component from https://github.com/tomquist/esphome-b2500 fails:
Updating /config/esphome/b2500.yaml
------------------------------------------------------------
INFO ESPHome 2025.8.0
INFO Reading configuration /config/esphome/b2500.yaml...
INFO Updating https://github.com/tomquist/esphome-b2500@main
INFO Detected timezone 'Europe/Berlin'
INFO Generating C++ source...
INFO Compiling app...
Processing b2500 (board: esp32-c3-devkitm-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Version mismatch for tool-esptoolpy: 1.30000.201119 != 5.0.2
INFO Reinstalling tool-esptoolpy due to version mismatch
INFO Package configuration completed successfully
AssertionError: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/platformio/__main__.py", line 103, in main
cli() # pylint: disable=no-value-for-parameter
^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/run/cli.py", line 147, in cli
process_env(
File "/usr/local/lib/python3.12/site-packages/platformio/run/cli.py", line 210, in process_env
).process()
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/run/processor.py", line 81, in process
install_project_env_dependencies(
File "/usr/local/lib/python3.12/site-packages/platformio/package/commands/install.py", line 132, in install_project_env_dependencies
_install_project_env_platform(project_env, options),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/package/commands/install.py", line 149, in _install_project_env_platform
PlatformPackageManager().install(
File "/usr/local/lib/python3.12/site-packages/platformio/package/manager/platform.py", line 62, in install
p.install_required_packages(force=force)
File "/usr/local/lib/python3.12/site-packages/platformio/platform/_packages.py", line 76, in install_required_packages
self.install_package(name, force=force)
File "/usr/local/lib/python3.12/site-packages/platformio/platform/_packages.py", line 70, in install_package
return self.pm.install(spec or self.get_package_spec(name), force=force)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/package/manager/_install.py", line 47, in install
pkg = self._install(spec, skip_dependencies=skip_dependencies, force=force)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/package/manager/_install.py", line 91, in _install
self.install_dependencies(pkg, print_header=False)
File "/usr/local/lib/python3.12/site-packages/platformio/package/manager/_install.py", line 143, in install_dependencies
self.install_dependency(dependency)
File "/usr/local/lib/python3.12/site-packages/platformio/package/manager/_install.py", line 155, in install_dependency
dependency_compatibility = PackageCompatibility.from_dependency(dependency)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/platformio/package/meta.py", line 79, in from_dependency
assert isinstance(dependency, dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
============================================================
An unexpected error occurred. Further steps:
- Verify that you have the latest version of PlatformIO using
python -m pip install -U platformio
command
This has been checked
- Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
There is no related answer in the FAQ
- Report this problem to the developers
https://github.com/platformio/platformio-core/issues
Here is it.
- Additional information
- The problem was originally reported at Build failure with esphome 2025.8 tomquist/esphome-b2500#185, as it only occurs with the component mentioned.
Metadata
Metadata
Assignees
Labels
No labels