Skip to content

Data generation failing with EB 5.3.0 #19

Description

@ocaisa
96.5% - /cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/icelake/software/tbb/2021.13.0-GCCcore-13.3.0/easybuild/tbb-2021.13.0-GCCcore-13.3.0.eb
Traceback (most recent call last):
  File "/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/icelake/software/EasyBuild/5.3.0/lib/python3.13/site-packages/easybuild/tools/include.py", line 145, in verify_imports
    pymod = __import__(pymod_spec, fromlist=[pypkg])
  File "/tmp/eb-n8m97ty_/tmpxktgtlct/included-easyblocks-cr2lh6ys/easybuild/easyblocks/generic/pythonpackage.py", line 45, in <module>
    from easybuild.easyblocks.python import EXTS_FILTER_DUMMY_PACKAGES, EXTS_FILTER_PYTHON_PACKAGES, set_py_env_vars
ImportError: cannot import name 'EXTS_FILTER_DUMMY_PACKAGES' from 'easybuild.easyblocks.python' (/tmp/eb-n8m97ty_/tmpxktgtlct/included-easyblocks-z1t731_k/easybuild/easyblocks/python.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/api_data/api_data/scripts/generate_data_files.py", line 269, in <module>
    easyblocks_dir = include_easyblocks(tmpdir, [eb_hooks_path + "/*.py"])
  File "/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/icelake/software/EasyBuild/5.3.0/lib/python3.13/site-packages/easybuild/tools/include.py", line 209, in include_easyblocks
    verify_imports([os.path.splitext(eb)[0] for eb in ebs], pkg, loc)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/cvmfs/software.eessi.io/versions/2025.06/software/linux/x86_64/intel/icelake/software/EasyBuild/5.3.0/lib/python3.13/site-packages/easybuild/tools/include.py", line 149, in verify_imports
    raise EasyBuildError("Failed to import easyblock %s from %s: %s", pymod_spec, from_path, err)
easybuild.tools.build_log.EasyBuildError: Failed to import easyblock easybuild.easyblocks.generic.pythonpackage from /tmp/eb-n8m97ty_/tmpxktgtlct/included-easyblocks-cr2lh6ys/easybuild/easyblocks/generic: cannot import name 'EXTS_FILTER_DUMMY_PACKAGES' from 'easybuild.easyblocks.python' (/tmp/eb-n8m97ty_/tmpxktgtlct/included-easyblocks-z1t731_k/easybuild/easyblocks/python.py)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions