Hi Loris,

from what I can see, the 'problem' lies here:

sources = [{
    'git_config': {
        'url': 'https://github.com/nanoporetech',
        'repo_name': name,
        'tag': 'v%(version)s',
        'recursive': True,
    },

It is pulling down a tag-release and as far as I understand it, it might be difficult to reproduce that download, specially with the 'recursive' been set to 'True'. Thus, when I try it at a different time, the check-sum might be different. So for that reason the program itself does not have a checksum attached with it.

The checksum which is included in the EasyConfig file is the one from the patch, as you might have spotted it.
That might also explain why it is using 'None'.

I hope that helps a bit and I am sure others can either give a more detailed information, or correct me.

All the best from a grey London

Jörg

Am 10.02.25 um 12:16 schrieb Loris Bennett:
Hi,

From

   dorado-0.9.0-foss-2023a-CUDA-12.1.1.eb

on the branch 'develop', I'm trying to create

   dorado-0.9.1-foss-2023a-CUDA-12.1.1.eb

The original file contains

   checksums = [
       None,
       '28942b7057af00c574a5e70d33a58b4036fd09ae0b041f45b67581c8dda832b1',
   ]

However, if I run EasyBuild with '--inject-checksums --force', I get

   checksums = [
       {'dorado-0.9.1.tar.gz': 
'45bea782ed454c791a6b500cdd8e98c4de9f24115c1f8af48f36484c41cd3079'},
       {'dorado-0.8.0_dont_install_external_libraries.patch':
        '28942b7057af00c574a5e70d33a58b4036fd09ae0b041f45b67581c8dda832b1'},
   ]

Regarding the 0.9.0 version:

   1. Why is 'None' used for the checksum for the tgz file?
   2. Why aren't the file names used in the checksum list?

Cheers,

Loris


Reply via email to