From a8f8f675c9a2fe90cccbe5cf25710a8cd729eaac Mon Sep 17 00:00:00 2001 From: Laurent Sorber Date: Wed, 10 Jan 2024 13:23:22 +0000 Subject: [PATCH] feat: make private package repos explicit --- {{ cookiecutter.__package_name_kebab_case }}/pyproject.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/{{ cookiecutter.__package_name_kebab_case }}/pyproject.toml b/{{ cookiecutter.__package_name_kebab_case }}/pyproject.toml index f7ed8d26..974ae6d2 100644 --- a/{{ cookiecutter.__package_name_kebab_case }}/pyproject.toml +++ b/{{ cookiecutter.__package_name_kebab_case }}/pyproject.toml @@ -79,9 +79,14 @@ jupyterlab = ">=3.6.3" pdoc = ">=13.1.1" {%- if cookiecutter.private_package_repository_name %} +[[tool.poetry.source]] +name = "pypi" +priority = "default" + [[tool.poetry.source]] # https://python-poetry.org/docs/repositories/#using-a-private-repository name = "{{ cookiecutter.private_package_repository_name|slugify }}" url = "{{ cookiecutter.private_package_repository_url }}" +priority = "explicit" {%- endif %} [tool.coverage.report] # https://coverage.readthedocs.io/en/latest/config.html#report