You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
distutils was removed in Python 3.12. The only reason EasyBuild uses
StrictVersion is that it orders beta/rc versions before the released
version, unlike LooseVersion. E.g. 5.0.0-beta < 5.0.0 (but > for
LooseVersion).
So a new method
`is_earlier_or_prerelease(self, other, markers)`
was added to LooseVersion to handle that particular case.
Addresses part of easybuilders#3963
distutils
is deprecated since Python 3.10, will be removed in Python 3.12; see https://www.python.org/dev/peps/pep-0632Places we rely on
distutils
currently:from distutils.version import LooseVersion
(framework + easyblocks)but that has bitrotted a bitlooks promising...LooseVersion
from Python stdlib into EasyBuild?|before|
(see also http://tomerfiliba.com/blog/Infix-Operators/)?from distutils.version import StrictVersion
ineasybuild/tools/modules.py
+ testssetup.py
, to avoid depending onsetuptools
setuptools
will be a necesary evil (see also drop requirement for setuptools as runtime dependency #2836)from distutils.util import strtobool
ineasybuild/framework/easyconfig/types.py
The text was updated successfully, but these errors were encountered: