Closed boegel closed 5 months ago
Test report by @boegel
Build succeeded for 2 out of 2 (2 easyconfigs in total) node3111.skitty.os - Linux RHEL 8.8, x86_64, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz, Python 3.6.8 See https://gist.github.com/boegel/2a8065571f3202fc47546cc5f144d2fd for a full test report.
Recent versions of setuptools (>=69.0.3?) enforce normalized package names by replacing dashes (
-
) with underscores (_
) in the package name.This affects the source tarballs of EasyBuild v4.9.2 (and likely also more recent versions going forward), so the custom easyblock for installing EasyBuild must consider package names with both dash (like
easybuild-framework
) and underscore (likeeasybuild_framework
).Without this, installing EasyBuild v4.9.2 with an existing EasyBuild release like v4.9.1 fails with an error like:
That's because it's expecting to find a subdirectory like
easybuild-framework-4.9.2
after unpacking the source tarball foreasybuild-framework
v4.9.2, but onlyeasybuild_framework-4.9.2
is found (alongside the subdirectory for the unpackedeasybuild-easyblocks
andeasybuild-easyconfigs
packages).This is annoying, since anyone who will be using
eb --install-latest-eb-release
oreb EasyBuild-4.9.2.eb
(or equivalent, via--from-pr
) will be hitting this, unless they useeb --include-easyblocks-from-pr 3358
.edit: more info on the reason why
-
is replaced with_
can be found in https://packaging.python.org/en/latest/specifications/binary-distribution-format/#escaping-and-unicode:This is for names of binary distributions, for it also applies to source distributions, see https://packaging.python.org/en/latest/specifications/source-distribution-format/#source-distribution-file-name: