bndr / bndr/pipreqs

sklearn not correctly formed

Open
#358 0 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

When using `import sklearn` the library to install would be scikit-image.
However the resulting requirements.txt contains `sklearn==0.0` which is not correct even if the library was right.

![image](https://user-images.githubusercontent.com/39764569/221033849-99ddcf35-bc1b-49c3-97f8-56493879e9e9.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `import sklearn` and inspect the generated `requirements.txt`. Trace how pipreqs maps the import name to an installable package and determines its version. Done means the generated requirement uses the correct distribution name and version for the imported library.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.