Wrong package exported
- Dominant language
- Python
- Stars
- 7.5k
- Forks
- 424
- PR merge metrics
- No merged PRs in 30d
Description
I'm using the new framework launched by OpenAI, which only requires "pip install openai-agents".
However, when I used "pipreqs" to export the packages of this project, the generated requirements file asked me to install "agents" and "openai". When I tried to install the environment according to the requirements file and run the project, it indeed failed to run.
Contributor guide
Research direction
Reproduce the issue using a project that imports the OpenAI agents framework and compare pipreqs' generated requirements with the package installed by pip. Start by locating the package-export logic; done means the generated requirements install successfully and preserve the correct distribution name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100