From 1b3a782a1196103dab2dfd03956ff718ec19095d Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Wed, 7 Jan 2026 09:31:39 +0100 Subject: [PATCH 1/2] Set CARGO_HOME for bcrypt extension of Python-3.10.8-GCCcore-12.2.0 --- easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb | 1 + 1 file changed, 1 insertion(+) diff --git a/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb b/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb index 4e412ca3e865..bebca39cba8c 100644 --- a/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb +++ b/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb @@ -150,6 +150,7 @@ exts_list = [ }), ('bcrypt', '4.0.1', { 'checksums': ['27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd'], + 'preinstallopts': 'CARGO_HOME=%(builddir)s/cargohome ', }), ('paramiko', '2.12.0', { 'checksums': ['376885c05c5d6aa6e1f4608aac2a6b5b0548b1add40274477324605903d9cd49'], From 08816b313b7f9b00deb34648472bae7dfe69661c Mon Sep 17 00:00:00 2001 From: Alexander Grund Date: Wed, 7 Jan 2026 13:27:27 +0100 Subject: [PATCH 2/2] Make CARGO_HOME setting uniform --- .../easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb b/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb index bebca39cba8c..741ca1c16c67 100644 --- a/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb +++ b/easybuild/easyconfigs/p/Python/Python-3.10.8-GCCcore-12.2.0.eb @@ -138,7 +138,7 @@ exts_list = [ ('cryptography', '38.0.3', { # avoid that cargo uses $HOME/.cargo, which can lead to build failures if home directory is NFS mounted, # see https://github.com/rust-lang/cargo/issues/6652 - 'preinstallopts': "export CARGO_HOME=%(builddir)s/cargo && ", + 'preinstallopts': "export CARGO_HOME=%(builddir)s/cargohome && ", 'checksums': ['bfbe6ee19615b07a98b1d2287d6a6073f734735b49ee45b11324d85efc4d5cbd'], }), ('pyasn1', '0.4.8', { @@ -149,8 +149,8 @@ exts_list = [ 'checksums': ['8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba'], }), ('bcrypt', '4.0.1', { + 'preinstallopts': "export CARGO_HOME=%(builddir)s/cargohome && ", 'checksums': ['27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd'], - 'preinstallopts': 'CARGO_HOME=%(builddir)s/cargohome ', }), ('paramiko', '2.12.0', { 'checksums': ['376885c05c5d6aa6e1f4608aac2a6b5b0548b1add40274477324605903d9cd49'],