bndr / bndr/pipreqs

Problem with grpc

Open
#345 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

I use `import grpc` in my code. Pipreqs will write both `grpc` and `grpcio` in the requirements.txt.
But `pip install grpc` will fail. It should only write `grpcio`.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a project containing `import grpc` and inspect how pipreqs maps imports to package names. Verify the generated requirements.txt contains `grpcio` rather than the uninstallable `grpc` package.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.