You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2025/04/19 00:54:00 UTC
[jira] [Resolved] (AMBARI-25862) modify Module Subprocess32 to module subprocess
[ https://issues.apache.org/jira/browse/AMBARI-25862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang resolved AMBARI-25862.
--------------------------------------
Resolution: Won't Fix
> 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-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org