I have a root pyproject.toml with:
# https://docs.astral.sh/uv/reference/settings/
[tool.uv]
package = false # https://docs.astral.sh/uv/reference/settings/#package
# https://docs.astral.sh/uv/reference/settings/#sources
[tool.uv.sources]
opentelemetry-api = { git = "https://github.com/open-telemetry/opentelemetry-python", branch = "main", subdirectory = "opentelemetry-api" }
opentelemetry-sdk = { git = "https://github.com/open-telemetry/opentelemetry-python", branch = "main", subdirectory = "opentelemetry-sdk" }
opentelemetry-semantic-conventions = { git = "https://github.com/open-telemetry/opentelemetry-python", branch = "main", subdirectory = "opentelemetry-semantic-conventions" }
opentelemetry-test-utils = { git = "https://github.com/open-telemetry/opentelemetry-python", branch = "main", subdirectory = "tests/opentelemetry-test-utils" }
Right now, I want to use uv locally to have the dependencies on a venv and keep tox environments installing from pypi. how can I make uv not to consider the sources configuration under this file when installing packages and instead look at pypi?
related issue: open-telemetry/opentelemetry-python-contrib#3124
I have a root pyproject.toml with:
Right now, I want to use uv locally to have the dependencies on a venv and keep tox environments installing from pypi. how can I make uv not to consider the sources configuration under this file when installing packages and instead look at pypi?
related issue: open-telemetry/opentelemetry-python-contrib#3124