Skip to content

Style checks are currently broken on develop #31109

@alalazo

Description

@alalazo

Steps to reproduce

Errors like this one started in our CI workflows a few hours ago. I could reproduce the same error on my laptop, starting from a clean environment:

$ spack clean -ab
$ spack style

Error message

==> Installing py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv
==> No binary for py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv found: installing from source
==> Fetching https://pypi.io/packages/source/s/setuptools/setuptools-62.4.0.tar.gz
==> No patches needed for py-setuptools
==> py-setuptools: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 1:
    '/tmp/py38/bin/python3' '-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=/home/culpo/.spack/bootstrap/store/linux-ubuntu20.04-x86_64/gcc-9.4.0/py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv' '.'

1 warning found in build log:
     40        File "/tmp/culpo/spack-stage/spack-stage-py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv/spack-src/setuptools/dist.py", line 899, in <la
           mbda>
     41          loaded = map(lambda e: e.load(), filtered)
     42        File "/tmp/culpo/spack-stage/spack-stage-py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv/spack-src/setuptools/_vendor/importlib_metadata
           /__init__.py", line 196, in load
     43          return functools.reduce(getattr, attrs, module)
     44      AttributeError: type object 'Distribution' has no attribute '_finalize_feature_opts'
     45      Preparing metadata (pyproject.toml): finished with status 'error'
  >> 46    WARNING: Discarding file:///tmp/culpo/spack-stage/spack-stage-py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv/spack-src. Command errored out
            with exit status 1: /tmp/py38/bin/python3 /home/culpo/.spack/bootstrap/store/linux-ubuntu20.04-x86_64/gcc-9.4.0/py-pip-21.3.1-gn6einteae67vuyoqdn
           gv2gkfbr45nvy/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpzn43avit Check the
            logs for full command output.
     47    ERROR: Command errored out with exit status 1: /tmp/py38/bin/python3 /home/culpo/.spack/bootstrap/store/linux-ubuntu20.04-x86_64/gcc-9.4.0/py-pip-
           21.3.1-gn6einteae67vuyoqdngv2gkfbr45nvy/lib/python3.8/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel 
           /tmp/tmpzn43avit Check the logs for full command output.
     48    Exception information:
     49    Traceback (most recent call last):
     50      File "/home/culpo/.spack/bootstrap/store/linux-ubuntu20.04-x86_64/gcc-9.4.0/py-pip-21.3.1-gn6einteae67vuyoqdngv2gkfbr45nvy/lib/python3.8/site-pa
           ckages/pip/_internal/cli/base_command.py", line 164, in exc_logging_wrapper
     51        status = run_func(*args)
     52      File "/home/culpo/.spack/bootstrap/store/linux-ubuntu20.04-x86_64/gcc-9.4.0/py-pip-21.3.1-gn6einteae67vuyoqdngv2gkfbr45nvy/lib/python3.8/site-pa
           ckages/pip/_internal/cli/req_command.py", line 205, in wrapper

See build log for details:
  /tmp/culpo/spack-stage/spack-stage-py-setuptools-62.4.0-45naueauwpjyndinwns2vmuslvtpfjgv/spack-build-out.txt

Information on your system

  • Spack: 0.19.0.dev0 (14ae0e0)
  • Python: 3.8.10
  • Platform: linux-ubuntu20.04-icelake
  • Concretizer: clingo

Similar reports in other repositories:

General information

  • I have run spack debug report and 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    broken-developbugSomething isn't workingciIssues related to Continuous Integrationimpact-hightestsGeneral test capability(ies)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions