Bug #23454
Deprecation warning in ups.py for setup from within python scripts
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/21/2019
Due date:
% Done:
0%
Estimated time:
Experiment:
-
Co-Assignees:
Description
We still use ups in tissue/ncis/fbi, and specifically we use the ups.py module to schlepp the environment from within python in our web apps.
I'm seeing a whole lotta deprecation warnings:
[Mon Oct 21 09:30:00 2019] [error] /fnal/ups/etc/ups.py:164: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
[Mon Oct 21 09:30:00 2019] [error] (stdin,stdout,stderr) = os.popen3(cmd)
Need to convert to use subprocess module (or some other newer feature that works in python 2.6 and python 3).
History
#1 Updated by Marc Mengel about 1 year ago
- Co-Assignees Anne Heavey, Lynn Garren added