Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930384 - dev-embedded/esptool-4.7.0: missing dependency
Summary: dev-embedded/esptool-4.7.0: missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 20:02 UTC by rick
Modified: 2024-04-22 06:36 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patched ebuild (esptool-4.7.0-r1.ebuild,2.03 KB, application/vnd.gentoo.ebuild)
2024-04-21 20:02 UTC, rick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rick 2024-04-21 20:02:06 UTC
Trying to import ESPLoader from esptool in Python causing a crash because a dependency is missing. It causes also an error when I try to compile a project with esp-idf.

Reproducible: Always

Steps to Reproduce:
1. start Python
2. from esptool import ESPLoader
Actual Results:  
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/esptool/__init__.py", line 41, in <module>
    from esptool.bin_image import intel_hex_to_bin
  File "/usr/lib/python3.12/site-packages/esptool/bin_image.py", line 16, in <module>
    from intelhex import IntelHex
ModuleNotFoundError: No module named 'intelhex'
Comment 1 rick 2024-04-21 20:02:54 UTC
Created attachment 891277 [details]
patched ebuild
Comment 2 Martin Dummer 2024-04-22 06:36:00 UTC
dependency is already fixed in dev-embedded/esptool-4.7.0-r2