Steps to reproduce
The py-jupyter-server package contains the following constraint:
depends_on('py-jupyter-packaging@0.9:1', type=('build', 'run'), when='@1.10.2:')
However, this should actually be:
depends_on('py-jupyter-packaging@0.9:0', type=('build', 'run'))
If you make this change, you'll be able to reproduce the following issue.
Error message
With the package on its own, the concretizer chooses the right thing:
$ spack spec py-jupyter-server
...
py-jupyter-server@1.11.2%apple-clang@12.0.0 arch=darwin-catalina-ivybridge
...
^py-jupyter-packaging@0.10.6%apple-clang@12.0.0 arch=darwin-catalina-ivybridge
However, with a package that depends on both, you get an invalid solve:
$ spack spec py-cinemasci
...
^py-jupyter-packaging@0.7.12%apple-clang@12.0.0 arch=darwin-catalina-ivybridge
...
^py-jupyter-server@1.11.2%apple-clang@12.0.0 arch=darwin-catalina-ivybridge
This prevents GitLab CI from building correctly in #27798.
Information on your system
- Spack: 0.17.0-445-f81d84dfc6
- Python: 3.8.12
- Platform: darwin-catalina-ivybridge
- Concretizer: clingo
General information
Steps to reproduce
The
py-jupyter-serverpackage contains the following constraint:However, this should actually be:
If you make this change, you'll be able to reproduce the following issue.
Error message
With the package on its own, the concretizer chooses the right thing:
However, with a package that depends on both, you get an invalid solve:
This prevents GitLab CI from building correctly in #27798.
Information on your system
General information
spack debug reportand reported the version of Spack/Python/Platform