Skip to content

Private repos don't actually take precedence #1677

@marcelmindemann

Description

@marcelmindemann
  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

I am using poetry 1.0.0b8. According to the latest documentation (https://github.com/sdispater/poetry/blob/master/docs/docs/repositories.md), if I have a project with a custom source in my pyproject.toml, it will always take precedence when installing packages.

This is not the case: We have a custom python package in our company JFrog that we named pyvault. By chance, there is a package in PyPI with the same name. In any project where we have our internal JFrog as a source, poetry add pyvault still adds the pyvault from PyPI. We can change that by specifying pyvault = { version = "^1.0", source = "jfrog" } in the pyroject.toml, so there is a work around, but the documentation is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsDocumentation issues/improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions