Skip to content

Commit

Permalink
Add back missing dependency after spack#33898
Browse files Browse the repository at this point in the history
  • Loading branch information
alalazo committed Nov 23, 2022
1 parent c22012b commit 753d836
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/py-black/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class PyBlack(PythonPackage):
depends_on("[email protected]:", when="+jupyter", type=("build", "run"))
depends_on("[email protected]:", when="+jupyter", type=("build", "run"))

# Needed because this package is used to bootstrap Spack (Spack supports Python 3.6+)
depends_on("[email protected]:", when="^python@:3.6", type=("build", "run"))

# see: https://github.com/psf/black/issues/2964
# note that pip doesn't know this constraint.
depends_on("py-click@:8.0", when="@:22.2", type=("build", "run"))
Expand Down

0 comments on commit 753d836

Please sign in to comment.