diff --git a/pyproject.toml b/pyproject.toml index 52dbee00e..a13dabbb7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,10 @@ dev = [ "tox-uv", ] +[tool.uv] +# Minimum uv to fix eMudhra CA cert incident (see discuss.python.org/t/109576) +required-version = ">=0.13.5" + [tool.setuptools_scm] [tool.pytest.ini_options] diff --git a/template/pyproject.toml.jinja b/template/pyproject.toml.jinja index c1bad2d8a..c7937f5a0 100644 --- a/template/pyproject.toml.jinja +++ b/template/pyproject.toml.jinja @@ -46,6 +46,10 @@ GitHub = "{{ repo_url }}" email = "{{ author_email }}" name = "{{ author_name }}" +[tool.uv] +# Minimum uv to fix eMudhra CA cert incident (see discuss.python.org/t/109576) +required-version = ">=0.13.5" + [tool.setuptools_scm] version_file = "src/{{ package_name }}/_version.py" {% if type_checker=="pyright" %}