Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry fails to recognize dynamic URL that is environment variable in TOML #5

Open
MattPPlumb opened this issue Jun 17, 2024 · 0 comments

Comments

@MattPPlumb
Copy link

Using poetry 1.8.3 and poetry-source-env 2.0.1

pyproject.toml includes the following content:

[tool.poetry-source-venv]
env = false
toml = true

[[tool.poetry.source]]
name = "private-pypi"
url = "${PRIVATE_PYPI_URL}"
priority = "explicit"

Created environment variable: PRIVATE_PYPI_URL with proper url to private pypi server.

When running poetry install the following response is received:

The Poetry configuration is invalid:
  - data.source[0].url must be uri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant