fizwit / easy_update

Update EasyBuild package configuration files for R and Python bundles
19 stars 9 forks source link

Easyblock-less easyconfigs make easy_update unhappy, too. #27

Open surak opened 4 years ago

surak commented 4 years ago

For example, the latest R has no declaration of an easyblock: https://github.com/easybuilders/easybuild-easyconfigs/blob/develop/easybuild/easyconfigs/r/R/R-4.0.0-foss-2020a.eb

But I get this:

./easy_annotate.py R-4.0.2-gpsmkl-2020.eb 
Traceback (most recent call last):
  File "./easy_annotate.py", line 273, in <module>
    main()
  File "./easy_annotate.py", line 258, in main
    eb = FrameWork(args)
  File "/p/project/cjsc/a.strube/easy_update/framework.py", line 83, in __init__
    self.detect_language(eb)
  File "/p/project/cjsc/a.strube/easy_update/framework.py", line 153, in detect_language
    if eb.easyblock == 'PythonPackage' or eb.easyblock == 'PythonBundle':
AttributeError: 'module' object has no attribute 'easyblock'

Which I assume that means python can't find Easybuild stuff.