Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

poetry and private repositories #407

@username-dot-com

Description

@username-dot-com

Poetry doesnt output extra index urls for having pip look at other repositories for packages by default with the export command. The --with-credentials flag must be set for the export command to put the extra index urls into the requirements.txt output. This broke my team's serverless deploy step since packaging couldn't be completed, because pip couldnt find the dependencies that were stored in our private pypi server.

I've currently worked around this issue by specifying our pypi source in PIP_EXTRA_INDEX_URL environment variable. I'm not sure this would work for people who need multiple extra sources though.

It seems an easy enough fix: use the --with-credentials flag when calling poetry export, and I'm willing to create a pr for this, unless there are repercussions to this change I'm not seeing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions