bndr / bndr/pipreqs

"selenium" package is not added to "requirements.txt

Open
#368 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.5k
Forks
424
PR merge metrics
No merged PRs in 30d

Description

local libraries are not added to requirements.txt
Output of the pip freeze command:
```
...
selenium==4.2.0
...
```
The only file `test.py` in the folder `test`
test.py:
```
import selenium
```
At the command `pipreqs --use-local test` `requirements.txt` empty

Contributor guide

Open the contributing guide

Research direction

Reproduce the report with the test/test.py example and the command pipreqs --use-local test, then inspect how the import is detected and how requirements.txt is generated. Done means the generated requirements.txt includes selenium for this local import case.

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
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.