Poetry - Add windows shared drive as source for python package

Viewed 19

I am failing to install a python dependency from a Windows shared drive. This is what the relevant section of the pyproject.toml looks like

[[tool.poetry.source]]
name = "repo"
url = "\\\\myserver.eu.org\\path\\to\\python_packages"
default = false
secondary = true

[tool.poetry.dependencies]
python = "^3.8"
package_from_repo = "*"

When I try poetry install it tells me package_from_repo (*) which doesn't match any versions, version solving failed

I can successfully install the package with pip using the following pip.ini config

[install]
find-links = 
    \\myserver.eu.org\path\to\python_packages

I am using poetry version 1.2.0 on Windows 10 Enterprise (x64). As terminal I use Powershell.

0 Answers
Related