-
Notifications
You must be signed in to change notification settings - Fork 312
add support to Python easyblock for conditionally applying extra patch to fix ctypes when EasyBuild is configured to filter $LD_LIBRARY_PATH
#3860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
boegel
merged 26 commits into
easybuilders:develop
from
casparvl:use_patch_when_filter_ld_library_path
Oct 22, 2025
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e1425a4
Disable soname substitution
dagonzalezfo 1e03933
Update python.py
dagonzalezfo 197fb18
Update python.py
dagonzalezfo 55298c1
remove not used import
dagonzalezfo d8af2d2
Conditionally apply patches based on configuration of easybuild for f…
125c23f
Add forgotten commas
b1f3fcd
Use the correct way to append to the patches and checksums lists
c2bf826
Do this in the fetch step: it needs to be done early enough, otherwis…
8b17a9a
Clarify descriptions, remove commented section
d32dc4c
Make hound happy
993f991
Update easybuild/easyblocks/p/python.py
casparvl 9fd0b9e
Fix too long lines
0c6d7ab
Changes based on @boegels review. Reducing to 1 new custom configurat…
4ec46bb
Make explicit remark where the checksum for the custom patch should go
817c51c
Fix config variable name
67b35ec
Make sure to handle the default value behaviour correctly
4510e29
Remove white line
3b64e2b
Process comments from @boegel. Rename to custom option to patch_ctype…
c622e77
Fix hound issues
247c394
Add sanity check to see if a ctypes.CDLL call on libpython3.so works,…
cbab116
Call the actual function for the specific ctypes sanity check in the …
13471fd
Rephrase for clarity
c9f47a3
Add warning for users that filter LD_LIBRARY_PATH, but do not patch c…
51cb613
First try to do a find_library call with a full library name to see i…
dd442a3
relax condition in Python easyblock to run sanity check on ctypes cor…
boegel 15fdc3b
Merge pull request #5 from boegel/use_patch_when_filter_ld_library_path
casparvl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to do this in the constructor, see:
patch_ctypes_ld_library_pathto patches in constructor of Python easyblock #3965