Problem with grpc
Open
- 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
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