add an argument specifying requests timeout to avoid hanging forever
Open
enhancement
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
If the pypi server is not reachable, pipreqs will hang forever
Contributor guide
Research direction
Start by locating pipreqs' PyPI request path and command-line argument handling. Reproduce the hang with an unreachable PyPI server, then verify that a configurable timeout causes the command to stop and report the failure instead of waiting indefinitely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100