Closed trz42 closed 1 year ago
We should probably add pip check
to the tests that are run for the compat layer, because EasyBuild relies on pip check
during the sanity check of Python packages...
@bedroge We should fix this by updating dev-python/GitPython
?
Thanks to #164 we've jumped to a newer gentoo
commit, so should be possible now...
Just for the record: this is not a problem anymore in EESSI pilot 2023.04:
$ /cvmfs/pilot.eessi-hpc.org/versions/2023.04/compat/linux/$(uname -m)/startprefix
Entering Gentoo Prefix /cvmfs/pilot.eessi-hpc.org/versions/2023.04/compat/linux/x86_64
$ which python3
/cvmfs/pilot.eessi-hpc.org/versions/2023.04/compat/linux/x86_64/usr/bin/python3
$ unset PYTHONPATH
$ python3 -m pip check
No broken requirements found.
Same result for EESSI 2023.06, since https://bugs.gentoo.org/827882 was fixed:
$ /cvmfs/pilot.eessi-hpc.org/versions/2023.06/compat/linux/x86_64/startprefix
Entering Gentoo Prefix /cvmfs/pilot.eessi-hpc.org/versions/2023.06/compat/linux/x86_64
$ which python3
/cvmfs/pilot.eessi-hpc.org/versions/2023.06/compat/linux/x86_64/usr/bin/python3
$ python3 -V
Python 3.11.4
$ unset PYTHONPATH
$ python3 -m pip check
No broken requirements found.
So closing this issue (there's little point in fixing this for 2021.12
imho)
Some package in the compatibility layer of 2021.12 is missing as reported by pip check. Reproduce as follows
$ source /cvmfs/pilot.eessi-hpc.org/versions/2021.12/init/bash ... $ pip check gitpython 3.1.24 requires typing-extensions, which is not installed.
The problem has actually been reported to gentoo, see https://bugs.gentoo.org/827882 The fix, however, was not used to bootstrap the prefix. It seems the specific commit being used (https://github.com/gentoo/gentoo/commit/7eaa2512d1e6ddb44e3b41bbddf6c74723f234ce) is two days too old.
It might be possible to fix this with an in-place update of the package.