Skip to content

Conversation

@Flamefire
Copy link
Contributor

The arguments must be passed individually not as a tuple, else you get:

File "/easybuild-easyblocks/easybuild/easyblocks/generic/pythonpackage.py", line 921, in sanity_check_step
pip_version))
File "/easybuild-framework/easybuild/tools/build_log.py", line 81, in init
msg = msg % args
TypeError: not enough arguments for format string

@boegel This should go into next release.

…check.

The arguments must be passed individually not as a tuple, else you get:
>   File "/easybuild-easyblocks/easybuild/easyblocks/generic/pythonpackage.py", line 921, in sanity_check_step
>     pip_version))
>   File "/easybuild-framework/easybuild/tools/build_log.py", line 81, in __init__
>     msg = msg % args
> TypeError: not enough arguments for format string
@boegel boegel added the bug fix label Feb 15, 2023
@boegel boegel added this to the next release (4.7.1?) milestone Feb 15, 2023
Copy link
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 changed the title Fix error when failing PIP version check during PythonPackage sanity check fix error when failing PIP version check during PythonPackage sanity check Feb 15, 2023
@boegel
Copy link
Member

boegel commented Feb 15, 2023

Test report by @boegel

Overview of tested easyconfigs (in order)

  • SUCCESS matplotlib-3.5.2-foss-2022a.eb

Build succeeded for 1 out of 1 (1 easyconfigs in total)
node3113.skitty.os - Linux RHEL 8.6, x86_64, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz (skylake_avx512), Python 3.6.8
See https://gist.github.com/42f238228166b09d6d92d8c3a8497779 for a full test report.

@boegel boegel merged commit 40158d1 into easybuilders:develop Feb 15, 2023
@Flamefire Flamefire deleted the fix-pythonpkg-sanitycheck branch February 15, 2023 17:02
@boegel boegel changed the title fix error when failing PIP version check during PythonPackage sanity check fix error when failing pip version check during PythonPackage sanity check Mar 1, 2023
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