fix search_file for path configuration files in PythonBundle and PythonPackage#3975
Conversation
|
@boegelbot please test @ jsc-zen3-a100 |
|
@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3445072321 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @Thyre Overview of tested easyconfigs (in order)
Build succeeded (with --ignore-test-failure) for 1 out of 1 (1 easyconfigs in total)
|
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Test report by @Thyre Overview of tested easyconfigs (in order)
Build succeeded for 1 out of 1 (1 easyconfigs in total) |
|
Checking e.g. Before: Now: |
search_file for path configuration files in PythonBundle and PythonPackage
|
@boegelbot please test @ jsc-zen3 |
|
@Thyre: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 3541069450 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 2 out of 2 (total: 3 hours 13 mins 41 secs) (2 easyconfigs in total) |
search_file for path configuration files in PythonBundle and PythonPackagesearch_file for path configuration files in PythonBundle and PythonPackage
|
I've also used this a bunch now testing out numba-cuda (and others) with no issues (caused by this, numba-cuda fails due to some unrelated cuda issue, but the rest of the pythonpackages built just fine). |
(created using
eb --new-pr)search_filealways returns at least a tuple of empty arrays, which always passes the if condition used in #3953. This enabledEBPYTHONPREFIXESfor basically all Python packages, which is not intended.To fix this, use the returned hits array to check if we found a file. This should result in the intended behavior.
We just need to check if this breaks
numba-cudaagain.