py-jupyter-packaging: remove duplicate packages#38671
py-jupyter-packaging: remove duplicate packages#38671adamjstewart merged 3 commits intospack:developfrom
Conversation
|
@adamjstewart Currently, I have to add: tags = ["build-tools"]to $ spack -c concretizer:duplicates:strategy:minimal graph --color -d py-jupytextI get the following DAG, which contains both |
|
Interesting solution to the speed issue. I'm not opposed. |
066c9c1 to
4c4e858
Compare
|
This now works but requires the minimal duplication strategy. |
| # 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")) |
There was a problem hiding this comment.
Because it's (erroneously) listed under install_requires instead of setup_requires: https://github.com/jupyterlab/jupyterlab/blob/v3.0.14/setup.py#L149. This was fixed in jupyterlab/jupyterlab#10217 and backported to 3.0.15.
If this is problematic for concretization we could make it build-only or even deprecate and remove 3.0.14.
There was a problem hiding this comment.
If we can deprecate and remove that version, that would be good. This one is not problematic per-se, but it would be if more than one needed version is of type "run".
e6462aa to
4ea61cd
Compare
|
I have been able to build It uses 2 versions of @adamjstewart Feel free to merge as soon as you are confident that this works for you |
* 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
* 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
* 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


Not possible to merge at the moment but should help test #38447 @alalazo
Example of current behavior on develop: