diff --git a/python/pyproject.toml b/python/pyproject.toml index 27770ac3..cc25b650 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -47,6 +47,7 @@ testAll = [ ] [tool.hatch.envs.testenv] +type = "virtual" template = "testenv" dependencies = [ "pip>=23,<24", @@ -69,6 +70,7 @@ test = [ ] [tool.hatch.envs.dbr154] +path = ".venv/dbr154" template = "testenv" python = "3.11" extra-dependencies = [ @@ -82,6 +84,7 @@ extra-dependencies = [ ] [tool.hatch.envs.dbr143] +path = ".venv/dbr143" template = "testenv" python = "3.10" extra-dependencies = [ @@ -95,6 +98,7 @@ extra-dependencies = [ ] [tool.hatch.envs.dbr133] +path = ".venv/dbr133" template = "testenv" python = "3.10" extra-dependencies = [ @@ -108,6 +112,7 @@ extra-dependencies = [ ] [tool.hatch.envs.dbr122] +path = ".venv/dbr122" template = "testenv" python = "3.9" extra-dependencies = [ @@ -121,6 +126,7 @@ extra-dependencies = [ ] [tool.hatch.envs.dbr113] +path = ".venv/dbr113" template = "testenv" python = "3.9" extra-dependencies = [ @@ -134,6 +140,7 @@ extra-dependencies = [ ] [tool.hatch.envs.lint] +path = ".venv/lint" template = "testenv" skip-install = true dependencies = [ @@ -149,6 +156,7 @@ runLint = [ formatBlack = ["black ./tempo ./tests"] [tool.hatch.envs.type-check] +path = ".venv/type-check" template = "testenv" skip-install = true dependencies = [ @@ -190,6 +198,7 @@ exclude = [ ] [tool.hatch.envs.build-dist] +path = ".venv/build-dist" template = "testenv" skip-install = true dependencies = [ @@ -202,6 +211,7 @@ build = "hatch build" [tool.hatch.envs.build-docs] +path = ".venv/build-docs" # TODO: making this dynamic is difficult in tox, so for now we will just use the latest version # We should have a top-level makefile that orchestrates this which allows better environment prep and execution of # shell scripts prior to tox execution. it'll also create a stable interface for migrating to hatch in the future @@ -232,6 +242,7 @@ build = "make --directory ../docs html" [tool.hatch.envs.coverage-report] +path = ".venv/coverage-report" template = "testenv" extra-dependencies = [ "coverage>=7,<8"