Skip to content

fix enhance_sanity_check for PythonPackage#3477

Merged
boegel merged 2 commits intoeasybuilders:developfrom
Flamefire:python-enhanced-sanity-check
Jul 3, 2025
Merged

fix enhance_sanity_check for PythonPackage#3477
boegel merged 2 commits intoeasybuilders:developfrom
Flamefire:python-enhanced-sanity-check

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Oct 11, 2024

When trying to add, not replace paths/commands for the sanity check of Python packages the default lib/python/%(pyshortver)s/site-packages gets replaced.
This leads to duplicating this in many easyconfigs. Use the custom_paths argument for that but still honor if that is given from a child class.

@boegel boegel added the bug fix label Dec 11, 2024
@boegel boegel added this to the release after 4.9.4 milestone Dec 11, 2024
@boegel boegel modified the milestones: release after 4.9.4, release after 5.0.0 Mar 18, 2025
Flamefire and others added 2 commits May 23, 2025 11:10
When trying to add, not replace paths/commands for the sanity check of
Python packages the default `lib/python/%(pyshortver)s/site-packages`
gets replaced.
This leads to duplicating this in many easyconfigs.
Use the `custom_paths` argument for that but still honor if that is
given from a child class.
@Flamefire Flamefire force-pushed the python-enhanced-sanity-check branch from 84cabfc to 8f95581 Compare May 23, 2025 09:10
@boegel
Copy link
Copy Markdown
Member

boegel commented Jul 3, 2025

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS SciPy-bundle-2023.11-gfbf-2023b.eb
  • SUCCESS SciPy-bundle-2025.06-gfbf-2025a.eb
  • SUCCESS matplotlib-3.9.2-gfbf-2024a.eb
  • SUCCESS tqdm-4.66.5-GCCcore-13.3.0.eb
  • SUCCESS scikit-optimize-0.10.2-foss-2023a.eb
  • SUCCESS Seaborn-0.13.2-gfbf-2024a.eb
  • SUCCESS Python-bundle-PyPI-2024.06-GCCcore-13.3.0.eb
  • SUCCESS Python-3.10.8-GCCcore-12.2.0.eb
  • SUCCESS OpenStackClient-6.0.0-GCCcore-12.2.0.eb

Build succeeded for 9 out of 9 (9 easyconfigs in total)
node3527.doduo.os - Linux RHEL 9.4, x86_64, AMD EPYC 7552 48-Core Processor (zen2), Python 3.9.18
See https://gist.github.com/boegel/c85ba68fc3b21cf1139597aa8c0c1bdb for a full test report.

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

@boegel boegel merged commit 96d2455 into easybuilders:develop Jul 3, 2025
17 checks passed
@Flamefire Flamefire deleted the python-enhanced-sanity-check branch July 4, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants