From 5b0c637a5ba1804ea1ba65936ccdd3c2419e2bfa Mon Sep 17 00:00:00 2001 From: Dylan Verheul Date: Tue, 10 Dec 2024 10:59:39 +0100 Subject: [PATCH] Fix uv and tox --- pyproject.toml | 2 ++ tox.ini | 4 +++- uv.lock | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c0f7c744..37d0448f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,9 +90,11 @@ skip_covered = true [dependency-groups] dev = [ + "beautifulsoup4>=4.12.3", "check-manifest>=0.50", "check-wheel-contents>=0.6.0", "coverage[toml]>=7.6.1", + "jinja2>=3.1.4", "pillow>=11.0.0", "pyroma>=4.2", "ruff>=0.7.1", diff --git a/tox.ini b/tox.ini index acf00b60..fdb8837d 100644 --- a/tox.ini +++ b/tox.ini @@ -14,13 +14,15 @@ envlist = lint [testenv] +runner = uv-venv-lock-runner basepython = py39: python3.9 py310: python3.10 py311: python3.11 py312: python3.12 py313: python3.13 -usedevelop = true +with_dev = true +extras = jinja pip_pre = true setenv = PYTHONPATH={toxinidir} diff --git a/uv.lock b/uv.lock index d40291cb..2048214c 100644 --- a/uv.lock +++ b/uv.lock @@ -441,9 +441,11 @@ jinja = [ [package.dev-dependencies] dev = [ + { name = "beautifulsoup4" }, { name = "check-manifest" }, { name = "check-wheel-contents" }, { name = "coverage", extra = ["toml"] }, + { name = "jinja2" }, { name = "pillow" }, { name = "pyroma" }, { name = "ruff" }, @@ -464,9 +466,11 @@ requires-dist = [ [package.metadata.requires-dev] dev = [ + { name = "beautifulsoup4", specifier = ">=4.12.3" }, { name = "check-manifest", specifier = ">=0.50" }, { name = "check-wheel-contents", specifier = ">=0.6.0" }, { name = "coverage", extras = ["toml"], specifier = ">=7.6.1" }, + { name = "jinja2", specifier = ">=3.1.4" }, { name = "pillow", specifier = ">=11.0.0" }, { name = "pyroma", specifier = ">=4.2" }, { name = "ruff", specifier = ">=0.7.1" },