python-poetry / python-poetry/poetry-plugin-export

Export to requirements.txt omits extra-index flags for non-default sources

Open
#29 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
335
Forks
57
Avg merge
1h 23m
Merged PRs (30d)
3

Description

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

If I have multiple sources defined in pyproject.toml, with one marked as default to disable accesses to the public PyPI, the export command adds and index-url flag for the default but does not add extra-index for the other sources.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the export command using the linked pyproject.toml, which defines a default source and additional sources, and inspect how source configuration becomes index flags. Done means the generated requirements.txt includes an index-url for the default source and extra-index-url flags for the other sources.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.