Python 3 compatibility
As Python 2.7 has less than 12 months to go, I was wondering if there are any plans to make Gaudi compatible with Python 3 (>= 3.6).
If there are no plans, would you accept an MR with such changes?
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Developer
There was an attempt about a year ago, maybe some of that is still salvageable...
- Author Contributor
Thanks for the pointer! It is quite the long list of changes, I would probably introduce more adiabatic changes through multiple merge requests for easier review.
While transitions for
print
and similar are trivial, things likeiteritems()
→items()
have side effects for Python 2 that you probably don't want.What is Gaudi's policy for python requirements? I.e. if a new dependency, here the
six
module (https://pythonhosted.org/six), would be added?Edited by Luke Kreczko - Owner
Hi @kreczko,
in the current state Gaudi can only rely on the python packages available in SFT LCG builds (for example http://lcginfo.cern.ch/release/94/ and http://lcginfo.cern.ch/release/94python3/).
six
,in particular, is already present.Cheers Marco
- Author Contributor
That's good news, thank you!
- Luke Kreczko mentioned in merge request !545 (closed)
mentioned in merge request !545 (closed)
- Luke Kreczko mentioned in merge request !832 (merged)
mentioned in merge request !832 (merged)
- Luke Kreczko mentioned in merge request !852 (merged)
mentioned in merge request !852 (merged)
- Luke Kreczko mentioned in merge request !864 (closed)
mentioned in merge request !864 (closed)
- Luke Kreczko mentioned in merge request !875 (merged)
mentioned in merge request !875 (merged)
- Marco Clemencic changed milestone to %v32r2
changed milestone to %v32r2
- Marco Clemencic closed via merge request !875 (merged)
closed via merge request !875 (merged)
- Marco Clemencic mentioned in commit be580110
mentioned in commit be580110