Configure custom pypi server plone.meta and with uv / uvx

Only for documentation.

today i run in an issue with this command

uvx --with tox-uv tox -e circular

earlier we use, and all was fine

tox -e circular

we have our own pypi server with a custom certificate to host some packages. we configure all or packages with plone.meta

uv / uvx need some environment settings to work:

add these settings to the .meta.toml

[pyproject]
extra_lines = """
[[tool.uv.index]]
name = "customname"
url = "https://your-pypi.server/simple/"
"""

[tox]
test_environment_variables = """
  UV_SYSTEM_CERTS=True
"""
3 Likes