User modules overlap standart modules
Open
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
If I have a code:
```
from selenium import webdriver # standart python lib "selenium"
from utils.selenium import create_driver # my (user) local module with utils/helper functions for work with selenium
```
And use pipreqs for it, the pipreqs ignore selenium package
Contributor guide
Research direction
No file or test is named. Reproduce the example with pipreqs, then trace how imports are resolved and filtered when a user module overlaps a package name. Done means pipreqs includes the selenium dependency despite the local utils.selenium import, with a regression test covering this example.
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
- 42/100