Restricted: Allow newer pandas versions
There are newer pandas versions which still support python2. The latest one which still supports py2 (0.24.x) has initially been released in 2019 and should therefore be quite stable and better supported. We should therefore prepare ERP5 so that it support those newer versions.
Showing
-
mentioned in commit slapos@8bf7cdf0
-
mentioned in merge request nexedi/slapos!1355 (merged)
-
@levin.zimmermann I prefer 'try newer first' order like
try: # for pandas >= 0.20.x allow_type(pd.RangeIndex) except AttributeError: # BBB for pandas < 0.20.x allow_type(pd.indexes.range.RangeIndex)
and put 'BBB' marker, that means 'backward compatibility'.
-
Maintainer
Thanks Kazuhiko! I'll amend it.
-
Maintainer
done with 8080fb43
-
mentioned in commit slapos@49ed4309
Please register or sign in to comment