Skip to content

Set $CARGO_HOME for bcrypt extension in Python 3.10.8 easyconfig#25017

Merged
boegel merged 2 commits intoeasybuilders:developfrom
Flamefire:20260107093138_new_pr_Python3108
Feb 16, 2026
Merged

Set $CARGO_HOME for bcrypt extension in Python 3.10.8 easyconfig#25017
boegel merged 2 commits intoeasybuilders:developfrom
Flamefire:20260107093138_new_pr_Python3108

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

(created using eb --new-pr)

}),
('bcrypt', '4.0.1', {
'checksums': ['27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd'],
'preinstallopts': 'CARGO_HOME=%(builddir)s/cargohome ',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the same as cryptography?

Suggested change
'preinstallopts': 'CARGO_HOME=%(builddir)s/cargohome ',
'preinstallopts': 'CARGO_HOME=%(builddir)s/cargo ',

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it more clear this way when inspecting the folder later. I did the same with e.g. "CONAN_HOME"

To have a uniform approach I changed the other and matched both. Ok like that?

@Flamefire
Copy link
Copy Markdown
Contributor Author

Test report by @Flamefire
SUCCESS
Build succeeded for 1 out of 1 (total: 1 hour 12 mins 7 secs) (1 easyconfigs in total)
i7029 - Linux Rocky Linux 9.6, x86_64, AMD EPYC 7702 64-Core Processor (zen2), Python 3.9.21
See https://gist.github.com/Flamefire/c6cf4d11adc481e694b3cd32eac2140b for a full test report.

@boegel boegel changed the title Set CARGO_HOME for bcrypt extension of Python-3.10.8-GCCcore-12.2.0 Set $CARGO_HOME for bcrypt extension in Python 3.10.8 easyconfig Feb 16, 2026
@boegel boegel added this to the next release (5.2.1) milestone Feb 16, 2026
@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 16, 2026

@boegelbot please test @ jsc-zen3
CORE_CNT=16
EB_ARGS="--installpath /tmp/$USER/pr25017"

@boegelbot
Copy link
Copy Markdown
Collaborator

@boegel: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=25017 EB_ARGS="--installpath /tmp/$USER/pr25017" EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_25017 --ntasks="16" ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 9678

Test results coming soon (I hope)...

Details

- notification for comment with ID 3907526114 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@boegelbot
Copy link
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (total: 1 hour 26 mins 2 secs) (1 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.7, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.23
See https://gist.github.com/boegelbot/d5d62a5a587a026f9c94c916f681398c for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 16, 2026

Test report by @boegel
SUCCESS
Build succeeded for 5 out of 5 (total: 2 hours 25 mins 16 secs) (1 easyconfigs in total)
node4248.shinx.os - Linux RHEL 9.6, x86_64, AMD EPYC 9654 96-Core Processor (zen4), Python 3.9.21
See https://gist.github.com/boegel/7705331dfe98feab5fb0ed86fe7a69c8 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Feb 16, 2026

Going in, thanks @Flamefire!

@boegel boegel merged commit 9890d25 into easybuilders:develop Feb 16, 2026
8 checks passed
@Flamefire Flamefire deleted the 20260107093138_new_pr_Python3108 branch February 16, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants