python-poetry / python-poetry/poetry-plugin-export
Need option to skip index flag generation
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 335
- Forks
- 57
- Avg merge
- 1h 23m
- Merged PRs (30d)
- 3
Description
When generating requirements.txt, I need the ability to skip the generation of index flags.
I need to commit the generated requirements.txt to version control, which means I
- cannot generate the indexies with credentials
- need to provide the credentials externally to pip
To this end, I have pip configured on target systems with necessary credentials via the ~/.config/pip/pip.conf file.
Unfortunately, this package's generation of --index-url and --extra-index-url override this global config file, causing installation to fail.
Please Add a CLI flag to skip emitting these flags to generated requirements.txt files
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the export CLI entry point that generates requirements.txt and trace where --index-url and --extra-index-url are emitted. Add an option that suppresses both flags while preserving normal export behavior, then verify that generated requirements.txt files omit them and rely on the target system's pip.conf settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100