-
Notifications
You must be signed in to change notification settings - Fork 2.4k
spack style broken due to py-isort bootstrap failure #31265
Copy link
Copy link
Closed
Labels
bootstrapAnything that has to do with Spack building its own dependencies.Anything that has to do with Spack building its own dependencies.bugSomething isn't workingSomething isn't workingimpact-low
Description
Steps to reproduce
$ spack clean -ab
$ spack styleError message
==> Running style checks on spack
selected: isort, mypy, flake8
==> Modified files
==> Bootstrapping py-isort from pre-built binaries
==> Bootstrapping [email protected]: %gcc target=x86_64 from sources
[+] /usr (external python-3.10-mbxrq3rxi6s4pf276aa6qyb3gtualou3)
==> Installing py-pip-21.3.1-j3v37odwspurlangep3l25ns2bnnwxz7
==> No binary for py-pip-21.3.1-j3v37odwspurlangep3l25ns2bnnwxz7 found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/de/deaf32dcd9ab821e359cd8330786bcd077604b5c5730c0b096eda46f95c24a2d
==> No patches needed for py-pip
==> py-pip: Executing phase: 'install'
==> py-pip: Successfully installed py-pip-21.3.1-j3v37odwspurlangep3l25ns2bnnwxz7
Fetch: 0.34s. Build: 1.26s. Total: 1.60s.
[+] /home/lukedt/.spack/bootstrap/store/linux-fedora36-x86_64/gcc-12.1.1/py-pip-21.3.1-j3v37odwspurlangep3l25ns2bnnwxz7
==> Installing py-wheel-0.37.0-ara22q42psz6lhfll45vugzjyhsinl7d
==> No binary for py-wheel-0.37.0-ara22q42psz6lhfll45vugzjyhsinl7d found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/21/21014b2bd93c6d0034b6ba5d35e4eb284340e09d63c59aef6fc14b0f346146fd
==> No patches needed for py-wheel
==> py-wheel: Executing phase: 'install'
==> py-wheel: Successfully installed py-wheel-0.37.0-ara22q42psz6lhfll45vugzjyhsinl7d
Fetch: 0.34s. Build: 0.26s. Total: 0.59s.
[+] /home/lukedt/.spack/bootstrap/store/linux-fedora36-x86_64/gcc-12.1.1/py-wheel-0.37.0-ara22q42psz6lhfll45vugzjyhsinl7d
==> Installing py-poetry-core-1.0.8-5fefs2b4ikojstbnrcaylvjkx64y55up
==> No binary for py-poetry-core-1.0.8-5fefs2b4ikojstbnrcaylvjkx64y55up found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/95/951fc7c1f8d710a94cb49019ee3742125039fc659675912ea614ac2aa405b118.tar.gz
==> No patches needed for py-poetry-core
==> py-poetry-core: Executing phase: 'install'
==> py-poetry-core: Successfully installed py-poetry-core-1.0.8-5fefs2b4ikojstbnrcaylvjkx64y55up
Fetch: 0.37s. Build: 0.95s. Total: 1.33s.
[+] /home/lukedt/.spack/bootstrap/store/linux-fedora36-x86_64/gcc-12.1.1/py-poetry-core-1.0.8-5fefs2b4ikojstbnrcaylvjkx64y55up
==> Installing py-isort-5.9.3-k2i4if2s27nwicednjvpsejds5utaqmg
==> No binary for py-isort-5.9.3-k2i4if2s27nwicednjvpsejds5utaqmg found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/9c/9c2ea1e62d871267b78307fe511c0838ba0da28698c5732d54e2790bf3ba9899.tar.gz
==> No patches needed for py-isort
==> py-isort: Executing phase: 'install'
==> py-isort: Successfully installed py-isort-5.9.3-k2i4if2s27nwicednjvpsejds5utaqmg
Fetch: 0.25s. Build: 0.67s. Total: 0.92s.
[+] /home/lukedt/.spack/bootstrap/store/linux-fedora36-x86_64/gcc-12.1.1/py-isort-5.9.3-k2i4if2s27nwicednjvpsejds5utaqmg
==> Error: cannot bootstrap any of the isort executables from spec "[email protected]: %gcc target=x86_64" due to the following failures:
github-actions-v0.2 raised FileNotFoundError: [Errno 2] No such file or directory: '/home/lukedt/spack-dev/share/spack/bootstrap/github-actions-v0.2/py-isort.json'
github-actions-v0.1 raised ValueError: source is not trusted
Run `spack --debug ...` for more detailed errorsInformation on your system
- Spack: 0.19.0.dev0 (c64298a)
- Python: 3.10.5
- Platform: linux-fedora36-zen3
- Concretizer: clingo
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bootstrapAnything that has to do with Spack building its own dependencies.Anything that has to do with Spack building its own dependencies.bugSomething isn't workingSomething isn't workingimpact-low