From 8849a7afd4d666d7b8db4e53423d5b40d36ce15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Thu, 2 May 2024 14:09:01 +0200 Subject: [PATCH] Fix editable tests --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index d5d19df..9192b5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,11 @@ dynamic = ["version"] [project.optional-dependencies] test = [ + # Building editable wheels with hatchling (which why do in our tests) requires + # 'editables' to be installed, but it is not a direct dependency of hatchling + # (it is provided by the get_requires_for_build_editable hook). + # So we install it here as a test dependency. + "editables", "build", "pytest", "pytest-cov", @@ -54,6 +59,7 @@ exclude = [".github"] [tool.hatch.envs.default] dependencies = [ + "editables", "build", "pytest", "pytest-cov",