From d13743136c5d37efc15b7ecf8428e33e34509a1e Mon Sep 17 00:00:00 2001 From: Adrien Cacciaguerra Date: Fri, 17 Jan 2025 10:56:14 +0100 Subject: [PATCH] chore: fix self-dependency --- pyproject.toml | 6 ++++++ uv.lock | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a0e80b4..8f9d932 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,12 @@ compat = [ ] test = ["pytest ~= 7.0", "pytest-cov ~= 4.0.0"] +[tool.uv.sources] +pytest-codspeed = { workspace = true } + +[dependency-groups] +dev = ["pytest-codspeed"] + [project.entry-points] pytest11 = { codspeed = "pytest_codspeed.plugin" } diff --git a/uv.lock b/uv.lock index 4e57216..0b40df2 100644 --- a/uv.lock +++ b/uv.lock @@ -333,7 +333,6 @@ wheels = [ [[package]] name = "pytest-codspeed" -version = "3.1.2" source = { editable = "." } dependencies = [ { name = "cffi" }, @@ -356,6 +355,11 @@ test = [ { name = "pytest-cov" }, ] +[package.dev-dependencies] +dev = [ + { name = "pytest-codspeed" }, +] + [package.metadata] requires-dist = [ { name = "cffi", specifier = ">=1.17.1" }, @@ -370,6 +374,9 @@ requires-dist = [ { name = "ruff", marker = "extra == 'lint'", specifier = "~=0.6.5" }, ] +[package.metadata.requires-dev] +dev = [{ name = "pytest-codspeed", editable = "." }] + [[package]] name = "pytest-cov" version = "4.0.0"