You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "timyuer (via GitHub)" <gi...@apache.org> on 2024/05/17 05:34:33 UTC

[PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

timyuer opened a new pull request, #1236:
URL: https://github.com/apache/bigtop/pull/1236

   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 'BIGTOP-3638: Your PR title ...'.
   -->
   
   ### Description of PR
   https://issues.apache.org/jira/browse/BIGTOP-4063
   
   ### How was this patch tested?
   
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'BIGTOP-3638. Your PR title ...')?
   - [ ] Make sure that newly added files do not have any licensing issues. When in doubt refer to https://www.apache.org/licenses/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn commented on code in PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#discussion_r1501723092


##########
bigtop-packages/src/common/bigtop-select/distro-select:
##########
@@ -154,7 +154,7 @@ def listPackages( packages ):
   if packages == None:
     packages = leaves
 
-  packages.sort()
+  sorted(packages)

Review Comment:
   The `sorted` function doesn't change the original list, so these lines seem to have no effect.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "timyuer (via GitHub)" <gi...@apache.org>.
timyuer closed pull request #1236: BIGTOP-4063: Adapt bigtop-select to Python 3
URL: https://github.com/apache/bigtop/pull/1236


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "timyuer (via GitHub)" <gi...@apache.org>.
timyuer commented on PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#issuecomment-1962212593

   Tested successful on rocky8-x86_64, redhat7-x86_64, openEuler-22.04-x86_64, ubuntu-22.04-x86_64.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC commented on code in PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#discussion_r1663386887


##########
bigtop-packages/src/common/bigtop-select/conf-select:
##########


Review Comment:
   is there any reason for remove conf-select?



##########
bigtop-packages/src/rpm/bigtop-select/SPECS/bigtop-select.spec:
##########
@@ -32,16 +32,15 @@ BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch:  noarch
 Source0:    install_select.sh
 Source1:    LICENSE
-Source2:    conf-select
-Source3:    distro-select
+Source2:    distro-select
 Requires:   bash
 
 # "which" command is needed for a lot of projects.
 # It is part of the package "util-linux" on suse and "which" everywhere else
 %if  %{?suse_version:1}0
 Requires:  util-linux
 %else
-Requires:       which
+Requires:       which, python3

Review Comment:
   At present, all Python dependencies have been removed from Bigtop, and it is now up to the user to manage them. This seems to be redundant here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "timyuer (via GitHub)" <gi...@apache.org>.
timyuer commented on PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#issuecomment-1963507285

   As https://github.com/apache/bigtop/pull/1203  submitted, this PR will be closed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC merged PR #1236:
URL: https://github.com/apache/bigtop/pull/1236


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "JiaLiangC (via GitHub)" <gi...@apache.org>.
JiaLiangC commented on PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#issuecomment-2259705841

   LGTM If there are no further review comments,  will be merged in 24 hours later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "timyuer (via GitHub)" <gi...@apache.org>.
timyuer commented on PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#issuecomment-1962213664

   Refer:
   https://github.com/apache/ambari/pull/3751


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4063: Adapt bigtop-select to Python 3 [bigtop]

Posted by "timyuer (via GitHub)" <gi...@apache.org>.
timyuer commented on code in PR #1236:
URL: https://github.com/apache/bigtop/pull/1236#discussion_r1501997718


##########
bigtop-packages/src/common/bigtop-select/distro-select:
##########
@@ -154,7 +154,7 @@ def listPackages( packages ):
   if packages == None:
     packages = leaves
 
-  packages.sort()
+  sorted(packages)

Review Comment:
   > The `sorted` function doesn't change the original list, so these lines seem to have no effect.
   
   Thank you for your feedback. It has been modified.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org