[ https://issues.apache.org/jira/browse/AMBARI-25862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charming Wu updated AMBARI-25862: --------------------------------- Summary: modify Module Subprocess32 to module subprocess (was: modify module Subprocess32 to module subprocess) > modify Module Subprocess32 to module subprocess > ----------------------------------------------- > > Key: AMBARI-25862 > URL: https://issues.apache.org/jira/browse/AMBARI-25862 > Project: Ambari > Issue Type: Sub-task > Components: ambari-agent, ambari-client, ambari-server > Affects Versions: 2.7.5 > Environment: {*}Ambari:{*}Ambari-2.7.5 > *OS:* OpenEuler-22.03 > *Python:* Python 3.9.9 > Reporter: Charming Wu > Priority: Major > > In Ambari 2.7.5, it use a module call "Subprocess32". > When I try to adapt Ambari from python2 to python3, I found that subprocess > is a build-in module in python3. And in my opinion Ambari 2.7.5 import > Subprocess32 in order to using the same function as python3's module > subprocess. > So I would like to change all "import Subprocess32" to "import subprocess" > and check whether ambari can still work. > The problem is that I am not sure Subprocess32 defined in Ambari 2.7.5 is > actuually the same as python3.subprocess, Any suggestions? Welcome to discuss > here and contribute to python3 adaption。 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org