Repository navigation
esphome: fix compilation for esp-idf framework devices - #451760
Conversation
9d5239a to
ee25196
Compare
|
Please follow the commit conventions. |
|
This fixes the build indeed but could you please split this PR into multiple commits, or even separate PRs? |
|
Can I provide any help with this? I am happy to get my hands dirty to have Esphome working again :) |
a0da868 to
0ee4831
Compare
@dotlambda Fixed. |
Not sure that it totally does fix the issue. I'm still having issues with the nixos/tests/esphome for the test-esp32-arduino.yaml. This PR is in multiple commits, how would you have me split it? |
You sure can! I'd like to get a nixosTest that covers what esphome does in this integration test, but in the same systemd environment that the esphome-dashboard is run in. There's seems to be some esphome device compile errors that are specific to running in the systemd environment, such as #339557. |
0ee4831 to
b0e5d3b
Compare
45b9f4e to
9ee5106
Compare
|
Getting a build failure still: I'll check whether I can make sense of that test 👍 |
87a1620 to
e256ab0
Compare
|
@polyfloyd Build is now fixed. I had wrongly assuming with the esphome 2025.10.4 release that this PR was included. |
|
I get an error when running I recommend to merge this into master. |
|
@thanegill Is this still a draft? |
|
We're not testing coverage in nixpkgs, please revert the migration from pytest-cov-stub to pytest-cov. |
e256ab0 to
dca12f1
Compare
Fixes NixOS#442676 Use same python dependency everywhere Removes dependencies: - python3.pkgs.requests - python3.pkgs.protobuf - python3.pkgs.packaging - python3.pkgs.kconfiglib - inetutils
Done |
dca12f1 to
58ff8a7
Compare
|
Changing this PR to just the dependencies updates and removal of kconfiglib. I'll open a new PR for the nixosTests. Removing draft status. |
|
I'm not sure what this actually fixes, because esp-idf builds are broken in platformio AFAIUI. |
This fixes one of the errors in #442676: |
|
Indeed, I can confirm the errors I attributed to platformio went away 🤔 |
dotlambda
left a comment
There was a problem hiding this comment.
LGTM but I didn't test anything
Removing kconfiglib fixes that platformio issue as when not in the python path it no longer overrides this kconfiglib python module in esp-idf which really is just an alias of the local esp_kconfiglib module, but the alias of 'kconfiglib' is still used in esp-idf. |
|
Adding nixosTests continued in #461102. |
Fixes #442676.
WIP: Adds nixosTests to check compilation in the future.Continued in #461102Other changes:
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.