Project

General

Profile

Idea #23470

Upgrade to Python 3

Added by Iker de Icaza Astiz about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
Category:
artdaq-daqinterface
Target version:
-
Start date:
10/24/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
SBND
Duration:

Description

I've noticed that daqinterface.py uses stuff from Python 2.7 and that at the daq machines at DAB there is no Python 3 under /software/products.

Python 2.7 will reach EOL in a couple of months or so. Is there a plan to ditch Python2.7 and upgrade to Python3?

History

#1 Updated by John Freeman about 1 month ago

It's an interesting idea, though there aren't imminent plans to make the switch. As you point out, Python 3 isn't used on the computers. Of course, in the next couple of years that will likely change, though it would take only a couple of minutes to get Python 2.x set up in $DAQINTERFACE_USER_SOURCEFILE so DAQInterface sees the Python it expects. The question essentially is, is the time it takes to recode DAQInterface and thoroughly retest all its features, assumptions, error handling, etc., worth the benefit of not having people need to set up Python 2.x before running DAQInterface a couple years down the line? Something I'll think about...



Also available in: Atom PDF