use .tar.xz archive for jsonpath_lib sources in polars v0.20.2#22450
use .tar.xz archive for jsonpath_lib sources in polars v0.20.2#22450lexming merged 3 commits intoeasybuilders:5.0.xfrom
.tar.xz archive for jsonpath_lib sources in polars v0.20.2#22450Conversation
|
The log shows that the unpacked See also easybuilders/easybuild-easyblocks#3567 @Micket @Flamefire @lexming Any ideas on this? |
|
I investigated that a bit (BTW: The EB 5 reprod shell is awesome!):
This is requesting a specific branch. In particular the dependency is specified in
However we do not store the branch information in the easyconfig so we only have: adding I'll investigate how that had worked before. |
|
Previously we had this in config.toml which misses any information about branch or revision: As an easy way out we can go back to that in most cases, but I'm not fully sure if there could be conflicts if we had cases where the same repo and different revisions/branches were used for different sources. In any case we have to implement support for storing the branch in the crates list. |
| {'js-sys-0.3.66.tar.gz': 'cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca'}, | ||
| {'jsonpath_lib-0.3.0.tar.gz': 'dfb5eb7f47b5b5a7b35262f7b41787a785958001a23ff039cdae926396c6af96'}, | ||
| {'jsonpath_lib-0.3.0-24eaf0b4416edff38a4d1b6b17bc4b9f3f047b4b.tar.gz': | ||
| 'dfb5eb7f47b5b5a7b35262f7b41787a785958001a23ff039cdae926396c6af96'}, |
There was a problem hiding this comment.
part of the issue is that this repo is currently cloned with its .git, which makes the checksum worthless
There was a problem hiding this comment.
There was a problem hiding this comment.
This is a source from github, isn't it? So for the crates can't we "rewrite" them to archive downloads instead of git checkouts as we do now? I mean it is us anyway creating a "source" entry from a crate tuple
There was a problem hiding this comment.
partial improvement to the checksum verification failures: easybuilders/easybuild-framework#4798
There was a problem hiding this comment.
final fix related to the checksums:
- this checksum definition needs to be changed to:
{'jsonpath_lib-0.3.0-24eaf0b4.tar.xz': 'cc7ed586a3047975d1d9c2ab8e2c555403fd73ee94358746476053610dc7024f'},
- cargo easyblock needs a little update to not use
.tar.gzon these sources. I guess I'll PR this change to @Flamefire PR Fix cargo build when git branch is referenced easybuild-easyblocks#3654
|
I have updated the cargo easyblock as described using the approach that allows specifying the branch (and output it in the collected crates when the file is run on a cargo project) and also handles the existing EC in a backwards compatible way. Testing with the easyconfigs that were the reason for the change in the easyblock: #21637, #21638 |
|
Test report by @Flamefire |
|
Minimum changes to make this work:
So pretty minor stuff. No idea how this worked before though. The dependency on |
I tried to explain that above but it is a bit hard to understand. I'll try a bit different:
Hence we either need to go back to the previous approach or include the branch. easybuilders/easybuild-easyblocks#3654 does both: If a branch is specified, even if it is only "no branch required" (by specifying But better would be to add the branch to the source specification which also serves as a test and example for the change to the easyblock Anyway you are right with the 2 suggest changes. |
|
Test report by @Flamefire |
|
@boegelbot please test @ jsc-zen3 |
|
@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 2721033220 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
This needs the EB 5.0x branch. So the easyblocks develop needs to be merged to 5.0x first. |
|
@Flamefire I'm on it |
|
@boegelbot please test @ jsc-zen3 |
|
@lexming: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 2721617626 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @lexming |
|
Test report by @boegelbot |
|
Merging, thanks @boegel @Flamefire ! |
.tar.xz archive for jsonpath_lib sources in polars v0.20.2
(created using
eb --new-pr)This fixes the first part of the issue with installing this easyconfig:
More work will be needed, because with the checksum key updated, the installation still fails with:
Note that with EasyBuild 4.x, you will need to use
eb --ignore-checksums, because the source tarball forjsonpath_libis created viagit_config(in EasyBuild 5.x the checksum for the source tarball will be reproducible, thanks to easybuilders/easybuild-framework#4660)edit: requires: