Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zarr #184

Closed
2 tasks done
laraPPr opened this issue Jul 26, 2023 · 5 comments
Closed
2 tasks done

zarr #184

laraPPr opened this issue Jul 26, 2023 · 5 comments
Labels
difficulty: easy software that should be easy to support easyconfig Easyconfig is available site:ugent Software installation request for UGent Tier-2

Comments

@laraPPr
Copy link
Collaborator

laraPPr commented Jul 26, 2023

@laraPPr laraPPr added easyconfig Easyconfig is available enhancement New feature or request difficulty: easy software that should be easy to support site:ugent Software installation request for UGent Tier-2 priority: high and removed enhancement New feature or request priority: high labels Jul 26, 2023
@laraPPr
Copy link
Collaborator Author

laraPPr commented Aug 4, 2023

There is config file in wip but is failing to install zarr

this is the error:

== 2023-08-04 14:25:17,400 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/base/exceptions.py:126 in __init__): cmd " /apps/gent/RHEL8/zen2-ib/software/Python/3.10.8-GCCcore-12.2.0/bin/python -m pip install --prefix=/data/gent/461/vsc46128/easybuild/RHEL8/zen2-ib/software/zarr/2.16.0-foss-2022b  --no-deps  --ignore-installed  --no-index  --no-build-isolation  ." exited with exit code 1 and output:
Processing /tmp/vsc46128/zarr/2.16.0/foss-2022b/numcodecs/numcodecs-0.11.0
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
   Preparing metadata (pyproject.toml) did not run successfully.
   exit code: 1
  > [13 lines of output]
      Traceback (most recent call last):
        File "/apps/gent/RHEL8/zen2-ib/software/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/apps/gent/RHEL8/zen2-ib/software/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/apps/gent/RHEL8/zen2-ib/software/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/apps/gent/RHEL8/zen2-ib/software/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/site-packages/setuptools/build_meta.py", line 188, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/apps/gent/RHEL8/zen2-ib/software/Python/3.10.8-GCCcore-12.2.0/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup
          exec(code, locals())
        File "<string>", line 5, in <module>
      ModuleNotFoundError: No module named 'cpuinfo'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

 Encountered error while generating package metadata.
> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@boegel
Copy link
Contributor

boegel commented Aug 4, 2023

This indicates there's a missing dependency on https://pypi.org/project/py-cpuinfo?

@laraPPr
Copy link
Collaborator Author

laraPPr commented Aug 4, 2023

Should I than add py-cpuinfo to the extentions to see if this resolves the error? Or as a dependency?

@boegel
Copy link
Contributor

boegel commented Aug 4, 2023

We already have separate easyconfigs for py-cpuinfo, so a dependency makes more sense.

It's possible that zarr (or one of its dependencies) has started requiring py-cpuinfo, where that wasn't the case yet with zarr-2.13.3-foss-2022a.eb

@laraPPr
Copy link
Collaborator Author

laraPPr commented Aug 4, 2023

That did the trick, Thanks for the help. I'll open a pr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy software that should be easy to support easyconfig Easyconfig is available site:ugent Software installation request for UGent Tier-2
Projects
None yet
Development

No branches or pull requests

2 participants