summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2023-10-10 13:50:22 -0500
committerGitHub <noreply@github.com>2023-10-10 13:50:22 -0500
commit620835e30c0a0f79879fc20a023d33205e9915f4 (patch)
tree044904685cdac05e74614ee383e1ffd4c9d78983
parentda10487219ccd3b738b910000fe307de3fc4fdbd (diff)
downloadspack-620835e30c0a0f79879fc20a023d33205e9915f4.tar.gz
spack-620835e30c0a0f79879fc20a023d33205e9915f4.tar.bz2
spack-620835e30c0a0f79879fc20a023d33205e9915f4.tar.xz
spack-620835e30c0a0f79879fc20a023d33205e9915f4.zip
py-jupyter-packaging: remove duplicate packages (#38671)
* py-jupyter-packaging: remove duplicate packages * Allow py-jupyter-packaging to be duplicated in DAG * Deprecate version of py-jupyterlab that requires py-jupyter-packaging at run-time
-rw-r--r--var/spack/repos/builtin/packages/py-ipycanvas/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ipyevents/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ipympl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-packaging/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-packaging11/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-packaging7/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-server-mathjax/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-server-proxy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-server/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyterlab-server/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-jupyterlab/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-jupytext/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nbclassic/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-notebook/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-widgetsnbextension/package.py3
15 files changed, 42 insertions, 39 deletions
diff --git a/var/spack/repos/builtin/packages/py-ipycanvas/package.py b/var/spack/repos/builtin/packages/py-ipycanvas/package.py
index 82f832ac80..d61e222fb4 100644
--- a/var/spack/repos/builtin/packages/py-ipycanvas/package.py
+++ b/var/spack/repos/builtin/packages/py-ipycanvas/package.py
@@ -17,9 +17,7 @@ class PyIpycanvas(PythonPackage):
depends_on("python@3.5:", type=("build", "run"))
depends_on("py-setuptools@40.8:", type="build")
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging7", type="build")
- # depends_on('py-jupyter-packaging@0.7.0:0.7', type='build')
+ depends_on("py-jupyter-packaging@0.7", type="build")
depends_on("py-jupyterlab@3.0:3", type="build")
depends_on("py-ipywidgets@7.6:", type=("build", "run"))
depends_on("pil@6:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-ipyevents/package.py b/var/spack/repos/builtin/packages/py-ipyevents/package.py
index 8f9d717d75..042cff2119 100644
--- a/var/spack/repos/builtin/packages/py-ipyevents/package.py
+++ b/var/spack/repos/builtin/packages/py-ipyevents/package.py
@@ -16,8 +16,6 @@ class PyIpyevents(PythonPackage):
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools@40.8:", type="build")
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging7", type="build")
- # depends_on('py-jupyter-packaging@0.7.0:0.7', type='build')
+ depends_on("py-jupyter-packaging@0.7", type="build")
depends_on("py-jupyterlab@3.0:3", type="build")
depends_on("py-ipywidgets@7.6:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-ipympl/package.py b/var/spack/repos/builtin/packages/py-ipympl/package.py
index 158345349f..56eefb8429 100644
--- a/var/spack/repos/builtin/packages/py-ipympl/package.py
+++ b/var/spack/repos/builtin/packages/py-ipympl/package.py
@@ -23,8 +23,6 @@ class PyIpympl(PythonPackage):
depends_on("py-traitlets@:5", type=("build", "run"))
depends_on("py-ipywidgets@7.6:7", type=("build", "run"))
depends_on("py-matplotlib@2:3", type=("build", "run"))
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging7", type="build")
- # depends_on('py-jupyter-packaging@0.7', type='build')
+ depends_on("py-jupyter-packaging@0.7", type="build")
depends_on("py-jupyterlab@3", type="build")
depends_on("yarn", type="build")
diff --git a/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py b/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py
index 472d7e6bc9..cf333579fd 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-packaging/package.py
@@ -12,6 +12,8 @@ class PyJupyterPackaging(PythonPackage):
homepage = "https://github.com/jupyter/jupyter-packaging"
pypi = "jupyter_packaging/jupyter_packaging-0.10.4.tar.gz"
+ tags = ["build-tools"]
+
version("0.12.0", sha256="b27455d60adc93a7baa2e0b8f386be81b932bb4e3c0116046df9ed230cd3faac")
version("0.11.1", sha256="6f5c7eeea98f7f3c8fb41d565a94bf59791768a93f93148b3c2dfb7ebade8eec")
version("0.10.6", sha256="a8a2c90bf2e0cae83be63ccb0b7035032a1589f268cc08b1d479e37ce50fc940")
diff --git a/var/spack/repos/builtin/packages/py-jupyter-packaging11/package.py b/var/spack/repos/builtin/packages/py-jupyter-packaging11/package.py
index c74a7a5231..b15cfe8752 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-packaging11/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-packaging11/package.py
@@ -16,9 +16,21 @@ class PyJupyterPackaging11(PythonPackage):
homepage = "https://github.com/jupyter/jupyter-packaging"
pypi = "jupyter_packaging/jupyter_packaging-0.11.1.tar.gz"
- version("0.12.3", sha256="9d9b2b63b97ffd67a8bc5391c32a421bc415b264a32c99e4d8d8dd31daae9cf4")
- version("0.12.0", sha256="b27455d60adc93a7baa2e0b8f386be81b932bb4e3c0116046df9ed230cd3faac")
- version("0.11.1", sha256="6f5c7eeea98f7f3c8fb41d565a94bf59791768a93f93148b3c2dfb7ebade8eec")
+ version(
+ "0.12.3",
+ sha256="9d9b2b63b97ffd67a8bc5391c32a421bc415b264a32c99e4d8d8dd31daae9cf4",
+ deprecated=True,
+ )
+ version(
+ "0.12.0",
+ sha256="b27455d60adc93a7baa2e0b8f386be81b932bb4e3c0116046df9ed230cd3faac",
+ deprecated=True,
+ )
+ version(
+ "0.11.1",
+ sha256="6f5c7eeea98f7f3c8fb41d565a94bf59791768a93f93148b3c2dfb7ebade8eec",
+ deprecated=True,
+ )
depends_on("python@3.7:", type=("build", "run"))
depends_on("py-packaging", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-jupyter-packaging7/package.py b/var/spack/repos/builtin/packages/py-jupyter-packaging7/package.py
index be160db535..8f0da9b999 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-packaging7/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-packaging7/package.py
@@ -16,7 +16,11 @@ class PyJupyterPackaging7(PythonPackage):
homepage = "https://github.com/jupyter/jupyter-packaging"
pypi = "jupyter_packaging/jupyter-packaging-0.7.12.tar.gz"
- version("0.7.12", sha256="b140325771881a7df7b7f2d14997b619063fe75ae756b9025852e4346000bbb8")
+ version(
+ "0.7.12",
+ sha256="b140325771881a7df7b7f2d14997b619063fe75ae756b9025852e4346000bbb8",
+ deprecated=True,
+ )
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-packaging", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-jupyter-server-mathjax/package.py b/var/spack/repos/builtin/packages/py-jupyter-server-mathjax/package.py
index ee2234d147..c86e2f1814 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-server-mathjax/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-server-mathjax/package.py
@@ -18,6 +18,6 @@ class PyJupyterServerMathjax(PythonPackage):
depends_on("python@3.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-jupyter-packaging", type="build")
- depends_on("py-jupyter-packaging11@:1", when="@0.2.6:", type="build")
+ depends_on("py-jupyter-packaging@0.10:1", when="@0.2.6:", type="build")
depends_on("py-jupyter-server@1.1:1", when="@0.2.3", type=("build", "run"))
depends_on("py-jupyter-server@1.1:", when="@0.2.6:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-jupyter-server-proxy/package.py b/var/spack/repos/builtin/packages/py-jupyter-server-proxy/package.py
index a44d656f77..4e11114806 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-server-proxy/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-server-proxy/package.py
@@ -19,7 +19,7 @@ class PyJupyterServerProxy(PythonPackage):
version("3.2.2", sha256="54690ea9467035d187c930c599e76065017baf16e118e6eebae0d3a008c4d946")
- depends_on("py-jupyter-packaging7@0.7.9:0.7", type="build")
+ depends_on("py-jupyter-packaging@0.7.9:0.7", type="build")
depends_on("py-jupyterlab@3.0:3", type="build")
depends_on("py-setuptools@40.8.0:", type="build")
diff --git a/var/spack/repos/builtin/packages/py-jupyter-server/package.py b/var/spack/repos/builtin/packages/py-jupyter-server/package.py
index 5f371a5403..4f461dca21 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-server/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-server/package.py
@@ -32,9 +32,7 @@ class PyJupyterServer(PythonPackage):
depends_on("py-hatch-jupyter-builder@0.8.1:", when="@2:", type="build")
with when("@:1"):
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging11", when="@1.6.2:", type="build")
- # depends_on('py-jupyter-packaging@0.9:0', when='@1.6.2:', type='build')
+ depends_on("py-jupyter-packaging@0.9:0", when="@1.6.2:", type="build")
depends_on("py-pre-commit", when="@1.16:", type="build")
depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py b/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py
index 35e5be5e8e..d6791671f6 100644
--- a/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py
@@ -24,9 +24,8 @@ class PyJupyterlabServer(PythonPackage):
with when("@:2.14"):
depends_on("py-setuptools", type="build")
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging11", type="build")
- # depends_on('py-jupyter-packaging@0.9:0', type='build')
+ depends_on("py-jupyter-packaging@0.10:1", when="@2.10.3", type="build")
+ depends_on("py-jupyter-packaging@0.9:0", when="@:2.6", type="build")
depends_on("py-babel@2.10:", when="@2.16.4:", type=("build", "run"))
depends_on("py-babel", when="@2.5.1:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-jupyterlab/package.py b/var/spack/repos/builtin/packages/py-jupyterlab/package.py
index 8865713bf5..ccacf77c8e 100644
--- a/var/spack/repos/builtin/packages/py-jupyterlab/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyterlab/package.py
@@ -24,7 +24,11 @@ class PyJupyterlab(PythonPackage):
version("3.1.14", sha256="13174cb6076dd5da6f1b85725ccfcc9518d8f98e86b8b644fc89b1dfaeda63a9")
version("3.0.18", sha256="0e4bb4b89014607a16658b54f13df2f0af14f3c286109a0e14d5a46cbbe28caf")
version("3.0.16", sha256="7ad4fbe1f6d38255869410fd151a8b15692a663ca97c0a8146b3f5c40e275c23")
- version("3.0.14", sha256="713a84991dfcca8c0bc260911f1bd54ac25a386a86285713b9555a60f795059b")
+ version(
+ "3.0.14",
+ sha256="713a84991dfcca8c0bc260911f1bd54ac25a386a86285713b9555a60f795059b",
+ deprecated=True,
+ )
version("2.2.7", sha256="a72ffd0d919cba03a5ef8422bc92c3332a957ff97b0490494209c83ad93826da")
version("2.1.0", sha256="8c239aababf5baa0b3d36e375fddeb9fd96f3a9a24a8cda098d6a414f5bbdc81")
@@ -50,12 +54,9 @@ class PyJupyterlab(PythonPackage):
with when("@:3"):
depends_on("py-setuptools", when="@:3", type=("build", "run"))
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging11", when="@3.0.15:3", type="build")
- depends_on("py-jupyter-packaging7", when="@3.0.0:3.0.14", type="build")
- # depends_on('py-jupyter-packaging@0.9:0', when='@3.0.15:', type='build')
- # depends_on('py-jupyter-packaging@0.7.3:0.7', when='@3.0.0:3.0.14',
- # type=('build', 'run'))
+ depends_on("py-jupyter-packaging@0.9:1", when="@3.4.8", type="build")
+ depends_on("py-jupyter-packaging@0.9:0", when="@3.0.15:3.4.2", type="build")
+ depends_on("py-jupyter-packaging@0.7.3:0.7", when="@3.0.0:3.0.14", type=("build", "run"))
depends_on("py-pre-commit", when="@3.4:3.4.3", type="build")
depends_on("py-ipython", when="@3", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-jupytext/package.py b/var/spack/repos/builtin/packages/py-jupytext/package.py
index f9bf4efa8d..6491fd5756 100644
--- a/var/spack/repos/builtin/packages/py-jupytext/package.py
+++ b/var/spack/repos/builtin/packages/py-jupytext/package.py
@@ -31,6 +31,4 @@ class PyJupytext(PythonPackage):
# todo: in order to use jupytext as a jupyterlab extension,
# some additional dependencies need to be added (and checked):
depends_on("py-jupyterlab@3", type=("build", "run"))
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging7", type="build")
- # depends_on('py-jupyter-packaging@0.7.9:0.7', type='build')```
+ depends_on("py-jupyter-packaging@0.7.9:0.7", type="build")
diff --git a/var/spack/repos/builtin/packages/py-nbclassic/package.py b/var/spack/repos/builtin/packages/py-nbclassic/package.py
index 0f9bf98d9c..e46a6cd01e 100644
--- a/var/spack/repos/builtin/packages/py-nbclassic/package.py
+++ b/var/spack/repos/builtin/packages/py-nbclassic/package.py
@@ -18,9 +18,7 @@ class PyNbclassic(PythonPackage):
version("0.3.1", sha256="f920f8d09849bea7950e1017ff3bd101763a8d68f565a51ce053572e65aa7947")
depends_on("py-setuptools", type="build")
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging11", when="@0.3.3:", type="build")
- # depends_on('py-jupyter-packaging@0.9:1', when='@0.3.3:', type='build')
+ depends_on("py-jupyter-packaging@0.9:0", when="@0.3.3:", type="build")
depends_on("py-babel", when="@0.4:", type="build")
depends_on("py-jinja2", when="@0.4:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-notebook/package.py b/var/spack/repos/builtin/packages/py-notebook/package.py
index 6c3a5a6983..382c0aa91d 100644
--- a/var/spack/repos/builtin/packages/py-notebook/package.py
+++ b/var/spack/repos/builtin/packages/py-notebook/package.py
@@ -40,9 +40,7 @@ class PyNotebook(PythonPackage):
depends_on("python@3.7:", type=("build", "run"), when="@6.4:")
depends_on("python@3.6:", type=("build", "run"), when="@6.3:")
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging11", when="@6.4.1:", type="build")
- # depends_on('py-jupyter-packaging@0.9:0', when='@6.4.1:', type='build')
+ depends_on("py-jupyter-packaging@0.9:0", when="@6.4.1:", type="build")
depends_on("py-setuptools", when="@5:", type="build")
depends_on("py-jinja2", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py b/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py
index ba9a0ab5f1..ee53aac4e7 100644
--- a/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py
+++ b/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py
@@ -20,8 +20,7 @@ class PyWidgetsnbextension(PythonPackage):
version("1.2.6", sha256="c618cfb32978c9517caf0b4ef3aec312f8dd138577745e7b0d4abfcc7315ce51")
depends_on("py-setuptools", type="build")
- # TODO: replace this after concretizer learns how to concretize separate build deps
- depends_on("py-jupyter-packaging11", when="@4.0.3:", type="build")
+ depends_on("py-jupyter-packaging@0.10:0", when="@4.0.3:", type="build")
depends_on("python@2.7:2.8,3.3:", type=("build", "run"))
depends_on("python@3.7:", when="@4.0.3:", type=("build", "run"))