-
Notifications
You must be signed in to change notification settings - Fork 0
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
New feature: update exts list versions to latest #5
base: develop
Are you sure you want to change the base?
New feature: update exts list versions to latest #5
Conversation
…o-latest-bioconductor Added support for bioconductor packages
@dagonzalezfo EasyBlock instances has been removed from our easyupdate. |
|
Create a list including R base extensions and exclude them from update steps
|
For packages with missing checksum from database, add/use a function that pull the sources, calculate the checksum and return it. |
@dagonzalezfo already implemented in latests commits. PR updated with latests changes of original repo: easybuilders/easybuild-framework:develop. |
easybuild/framework/easyblock.py
Outdated
name = ec.get('ec', {}).get('name', None) | ||
|
||
if name: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use this option to define exts_defaultclass for PythonBundles: Taken from PythonBundle EasyBlock
If ec.easyblock=PythonBundle,
elf.cfg['exts_defaultclass'] = 'PythonPackage'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to use the same mechanism that PythonBundle EasyBlocks use to define exts_defaultclass value
We need to test it for Python Bundles, but it seems that it should work as it is. |
Move it to a single file, proposed name |
Solves issue #4
Implemented new feature: update the versions of extensions in exts_list to their latest available versions.
Currently available for RPackages and PythonPackages. Implementation for Bioconductor and Perl packages is pending.
The feature iterates over all extensions in exts_list, retrieving the latest available version from CRAN or PyPi databases. It backs up the original easyconfig file and writes a new one with the updated exts_list.