python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.74k stars 2.27k forks source link

[tool.poetry.scripts] section remove an ability to download dependencies from private repository #4255

Open Virviil opened 3 years ago

Virviil commented 3 years ago

Issue

Trying to call

poetry add private_package

works only if [tool.poetry.scripts] section is removed from pyproject.toml

With this section command returns:

ValueError

Could not find a matching version of package private_package
Virviil commented 3 years ago

Any updates?

jony89 commented 2 years ago

WA for now -> you can move the tool.poetry.scripts to the top of the file and it will work.

see https://github.com/python-poetry/poetry/issues/3474