qiqres doesn't work on dynamic loading class
Open
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
it fails to find requests
>a = 'requests'
>
>__import__(a)
Contributor guide
Research direction
Reproduce the failure with the provided __import__(a) example, then trace how pipreqs identifies imported packages and handles dynamically constructed import names. Done means the example detects requests and includes it in the generated requirements output.
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