summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-12-26 22:30:03 +0100
committerGitHub <noreply@github.com>2023-12-26 13:30:03 -0800
commitff90faa8ca4de03ae4fc12ea315bf4d3ae094805 (patch)
tree117420f1ee7e4a2e7bdf8ead278f51b80c43e8c3
parentc074bf0865d574a40bf349025042e71aaecf7da5 (diff)
downloadspack-ff90faa8ca4de03ae4fc12ea315bf4d3ae094805.tar.gz
spack-ff90faa8ca4de03ae4fc12ea315bf4d3ae094805.tar.bz2
spack-ff90faa8ca4de03ae4fc12ea315bf4d3ae094805.tar.xz
spack-ff90faa8ca4de03ae4fc12ea315bf4d3ae094805.zip
py-black: add v23.12.1 (#41850)
* py-black: add v23.12.1 * py-hatchling: add v1.21.0
-rw-r--r--var/spack/repos/builtin/packages/py-black/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-hatchling/package.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/py-black/package.py b/var/spack/repos/builtin/packages/py-black/package.py
index 44324a219e..206102f1b6 100644
--- a/var/spack/repos/builtin/packages/py-black/package.py
+++ b/var/spack/repos/builtin/packages/py-black/package.py
@@ -17,6 +17,7 @@ class PyBlack(PythonPackage):
maintainers("adamjstewart")
+ version("23.12.1", sha256="4ce3ef14ebe8d9509188014d96af1c456a910d5b5cbf434a09fef7e024b3d0d5")
version("23.12.0", sha256="330a327b422aca0634ecd115985c1c7fd7bdb5b5a2ef8aa9888a82e2ebe9437a")
version("23.11.0", sha256="4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05")
version("23.10.1", sha256="1f8ce316753428ff68749c65a5f7844631aa18c8679dfd3ca9dc1a289979c258")
@@ -38,6 +39,7 @@ class PyBlack(PythonPackage):
variant("d", default=False, description="enable blackd HTTP server")
variant("jupyter", default=False, description="enable Jupyter support")
+ depends_on("py-hatchling@1.20:", when="@23.12.1:", type="build")
depends_on("py-hatchling@1.8:", when="@22.10:", type="build")
depends_on("py-hatch-vcs", when="@22.10:", type="build")
depends_on("py-hatch-fancy-pypi-readme", when="@22.10:", type="build")
diff --git a/var/spack/repos/builtin/packages/py-hatchling/package.py b/var/spack/repos/builtin/packages/py-hatchling/package.py
index 29fcce5df9..1b9d320d4d 100644
--- a/var/spack/repos/builtin/packages/py-hatchling/package.py
+++ b/var/spack/repos/builtin/packages/py-hatchling/package.py
@@ -13,6 +13,7 @@ class PyHatchling(PythonPackage):
pypi = "hatchling/hatchling-1.4.1.tar.gz"
git = "https://github.com/pypa/hatch"
+ version("1.21.0", sha256="5c086772357a50723b825fd5da5278ac7e3697cdf7797d07541a6c90b6ff754c")
version("1.18.0", sha256="50e99c3110ce0afc3f7bdbadff1c71c17758e476731c27607940cfa6686489ca")
version("1.17.0", sha256="b1244db3f45b4ef5a00106a46612da107cdfaf85f1580b8e1c059fefc98b0930")
version("1.14.0", sha256="462ea91df03ff5d52813b5613fec1313a1a2059d2e37343e572b3f979867c5da")
@@ -21,9 +22,7 @@ class PyHatchling(PythonPackage):
version("1.8.1", sha256="448b04b23faed669b2b565b998ac955af4feea66c5deed3a1212ac9399d2e1cd")
version("1.4.1", sha256="13461b42876ade4f75ee5d2a2c656b288ca0aab7f048ef66657ef166996b2118")
- depends_on("python@3.8:", when="@1.18:", type=("build", "run"))
depends_on("py-editables@0.3:", type=("build", "run"))
- depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run"))
depends_on("py-packaging@21.3:", type=("build", "run"))
depends_on("py-pathspec@0.10.1:", when="@1.9:", type=("build", "run"))
depends_on("py-pathspec@0.9:", type=("build", "run"))