Since January 2020, Python 2 is no longer supported, and no longer gets updates. Many other packages no longer support it.
I just ran the 2to3 tool on the project and went through the changes. I haven't tested everything though.
The primary change was just going from xrange to range, which does the same thing in Python 3. Most print statements were already using parentheses for some reason so those were fine.
2to3 assumes you wanted a list from dict.keys() and map so it wraps those calls. That might not be necessary (I didn't review all the uses) but it should maintain functionality at least.
Is there any hope of this being merged? I'm looking at adding tama to EasyBuild, for installation on HPC clusters, and obviously relying on Python 2 is problematic.
Since January 2020, Python 2 is no longer supported, and no longer gets updates. Many other packages no longer support it.
I just ran the
2to3
tool on the project and went through the changes. I haven't tested everything though.The primary change was just going from
xrange
torange
, which does the same thing in Python 3. Mostprint
statements were already using parentheses for some reason so those were fine.2to3
assumes you wanted a list fromdict.keys()
andmap
so it wraps those calls. That might not be necessary (I didn't review all the uses) but it should maintain functionality at least.