easybuilders / easybuild-easyblocks

Collection of easyblocks that implement support for building and installing software with EasyBuild.
https://easybuild.io
GNU General Public License v2.0
106 stars 285 forks source link

fix `enhance_sanity_check` for `PythonPackage` #3477

Open Flamefire opened 1 month ago

Flamefire commented 1 month ago

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.