Skip to content

Commit

Permalink
Fix editable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed May 2, 2024
1 parent a5c95b3 commit 8849a7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -54,6 +59,7 @@ exclude = [".github"]

[tool.hatch.envs.default]
dependencies = [
"editables",
"build",
"pytest",
"pytest-cov",
Expand Down

0 comments on commit 8849a7a

Please sign in to comment.