py-dask-mpi: remove jupyter-server-proxy (#36680)
* py-dask-mpi: remove jupyter-server-proxy This dependency isn't a 'hard' one; it optionally simplifies getting access to the web consoles. See: https://github.com/dask/dask-mpi/pull/102 * Add patch to remove unnecessary dependency * review comments * pass formatting
This commit is contained in:
parent
e2812a6e96
commit
f171d7ed15
2 changed files with 13 additions and 1 deletions
|
@ -23,6 +23,9 @@ class PyDaskMpi(PythonPackage):
|
|||
depends_on("py-dask@2.2:", when="@:2.21.0", type=("build", "run"))
|
||||
depends_on("py-dask@2.19:", when="@2022.4.0:", type=("build", "run"))
|
||||
depends_on("py-distributed@2.19:", when="@2022.4.0:", type=("build", "run"))
|
||||
depends_on("py-jupyter-server-proxy", type=("build", "run"))
|
||||
depends_on("py-mpi4py", type=("build", "run"))
|
||||
depends_on("py-mpi4py@3.0.3:", when="@2022.4.0:", type=("build", "run"))
|
||||
|
||||
# jupyter-server-proxy is not a needed dependency; https://github.com/dask/dask-mpi/pull/102
|
||||
# this significantly reduces the dependency tree of py-dask-mpi
|
||||
patch("remove-dependency-jupyter-proxy.patch", when="@:2022.4.0")
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
diff --git a/environment.yml b/environment.yml
|
||||
index 5747157..a552b81 100644
|
||||
--- a/environment.yml
|
||||
+++ b/environment.yml
|
||||
@@ -3,4 +3,3 @@ dependencies:
|
||||
- dask>=2.19
|
||||
- distributed>=2.19
|
||||
- mpi4py>=3.0.3
|
||||
- - jupyter-server-proxy
|
Loading…
Reference in a new issue