Skip to content

Conversation

@mweinelt
Copy link
Member

@mweinelt mweinelt commented Nov 22, 2025

https://github.com/esphome/esphome/releases/tag/2025.11.0

Still debugging the following, which happens for ESP32 devices

idf_tools.py installation failed (rc=1). Tail:
Traceback (most recent call last):
  File "/home/hexa/.platformio/packages/tool-esp_install/tools/idf_tools.py", line 93, in <module>
    from platformio.project.config import ProjectConfig
ModuleNotFoundError: No module named 'platformio'
error: /home/hexa/.platformio/packages/tool-esptoolpy does not appear to be a Python project, as neither `pyproject.toml` nor `setup.py` are present in the directory
Warning: Failed to install esptool from /home/hexa/.platformio/packages/tool-esptoolpy (exit 2)
[...]
Linking .pioenvs/esphome-766d10/bootloader.elf
Building .pioenvs/esphome-766d10/bootloader.bin
sh: line 1: /home/hexa/.platformio/penv/bin/esptool: No such file or directory
*** [.pioenvs/esphome-766d10/bootloader.bin] Error 127

That's this script: https://github.com/pioarduino/esp_install/blob/main/tools/idf_tools.py

vs on 2025.10.5

Tool Manager: Installing https://github.com/pioarduino/registry/releases/download/0.0.1/esptoolpy-v5.0.2.zip
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Nov 22, 2025
@nixpkgs-ci nixpkgs-ci bot requested a review from thanegill November 22, 2025 00:17
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 22, 2025
@mweinelt mweinelt marked this pull request as draft November 22, 2025 00:45
@mweinelt
Copy link
Member Author

As @emilylange pointed out she sees the issue only on the first try. And after switching to another machine I can confirm that I only see it on the first try, too.

The question now remains what state would affect that for me. I''ve removed ~/.platformio and .esphome so far w/o any change.

@mweinelt mweinelt marked this pull request as ready for review November 22, 2025 23:40
@mweinelt
Copy link
Member Author

Okay, now I cannot reproduce it at all any more. 😬

@mweinelt mweinelt added this pull request to the merge queue Nov 22, 2025
Merged via the queue into NixOS:master with commit 60d40a8 Nov 22, 2025
35 of 37 checks passed
@mweinelt mweinelt deleted the esphome-2025.11.0 branch November 22, 2025 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant