superlinear-ai / poetry-cookiecutter

🍪 Poetry Cookiecutter is a modern Cookiecutter template for scaffolding Python packages and apps
GNU Affero General Public License v3.0
252 stars 37 forks source link

feat: make private package repos explicit #211

Closed lsorber closed 9 months ago

lsorber commented 10 months ago

This PR adds two changes:

  1. Makes PyPI the default package source when adding a private package repo. This is needed because Poetry warns that this will no longer be the case in a future release.
  2. Makes the private package repo an explicit source, so that you need to mark your dependency with source = "my-private-package-repo" to install from the private package repo.