Adam J. Stewart

Results 884 comments of Adam J. Stewart

@pradyunsg I'm seeing the following error when building: ``` ==> [2022-09-17-13:19:22.108970] '/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-13.1.6/python-3.9.13-cyczbvea6n3kev4tei2uohyy7bstmdlb/bin/python3.9' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/Users/ajstewart/spack/opt/spack/darwin-monterey-m1/apple-clang-13.1.6/py-matplotlib-3.6.0-odqpo3ad7nsxrwpfqnlizvf2gahwxvgl' '.' Using pip 21.3.1 from...

@scottwittenburg I'm trying to reproduce the CI build failure locally but it seems like the Python that gets pulled down from the binary cache is broken: ```console $ /home/software/spack/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spack_path_placeholder__/__spa/linux-ubuntu18.04-x86_64/gcc-7.5.0/python-3.7.13-2rasf254brdwtgeudnsupharkvcceker/bin/python qemu-x86_64:...

Reported the build issue upstream: https://github.com/matplotlib/matplotlib/issues/23997

> This means we can re-use the requirements list throughout the workflow yaml files and otherwise maintain this list in _one place_ rather than several disparate ones. Given that Spack's...

There's also `var/spack/repos/builtin/packages/spack/package.py` lol

> Alternately, we could have that package reworked to have spack use pip to install spack We would still need to list the deps in the package though.

See #31939. Quickest fix is to just let Spack build Python. The system Python on most distros is broken.