Handle modules that are moved from a single file to a package
- Dominant language
- Python
- Stars
- 172
- Forks
- 41
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 1
Description
> Update 'adafruit_emc2101'? [y/N]: y
> Something went wrong, [Errno 2] No such file or directory: '/Users/*****/Library/Application Support/circup/adafruit_circuitpython_bundle_7mpy/adafruit-circuitpython-bundle-7.x-mpy-20210417/lib/adafruit_emc2101.mpy' (check the logs)
>
That's because the module changed to a `adafruit_emc2101` directory.
Contributor guide
Research direction
Start from the update operation that reports the missing adafruit_emc2101.mpy path and trace how installed module paths are resolved. Reproduce the transition from the single adafruit_emc2101.mpy file to the adafruit_emc2101 directory; done means updates handle that package layout without the shown file-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100