Bug 2214588

Summary: esphomeflasher doesn't work with esptool 4+
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-esphomeflasherAssignee: Davide Cavalca <davide>
Status: ASSIGNED --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: davide
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karolina Surma 2023-06-13 13:49:21 UTC
Upstream bug report: https://github.com/esphome/esphome-flasher/issues/225

In all supported Fedoras we've got esptool 4.5.1, 4.6.2 coming.

esphomeflasher doesn't support this version, it fails with:
Unexpected error: type object 'ESPLoader' has no attribute 'detect_chip'

This was moved to another module between esptool 3.3.3 and 4.x.
It's impossible to use the package in this shape. There's no upstream solution so far.


Reproducible: Always

Steps to Reproduce:
1

Comment 1 Davide Cavalca 2023-06-25 18:11:08 UTC
Upstream bug was closed as stale :( I'll try and see if it's possible to fix this and ideally get a PR up. If that turns out to be unfeasible we might need to retire this package.

Comment 2 Fedora Release Engineering 2023-08-16 08:11:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.