You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tomasdavidorg (via GitHub)" <gi...@apache.org> on 2024/04/24 12:31:01 UTC

[PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

tomasdavidorg opened a new pull request, #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261

   Fixes #2260 


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento merged PR #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

Posted by "tomasdavidorg (via GitHub)" <gi...@apache.org>.
tomasdavidorg commented on PR #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261#issuecomment-2076488799

   > As an alternative you can run: `sudo update-alternatives --install /usr/local/bin/python python $(which python3) 1` `sudo update-alternatives --install /usr/local/bin/pip pip $(which pip3) 1` on linux systems to make `python3` link to `python`
   
   Yes, there is also a `python-is-python3` package for some distributions but I would say from user experience we should lower the number of commands needed for building this repo. There is already a lot of required preinstalled software but I understand that this is caused by the latest changes and in the future some improvements would be necessary. 


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

Posted by "rodrigonull (via GitHub)" <gi...@apache.org>.
rodrigonull commented on PR #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261#issuecomment-2075169237

   As an alternative you can run:
   `sudo update-alternatives --install /usr/local/bin/python python $(which python3) 1`
   `sudo update-alternatives --install /usr/local/bin/pip pip $(which pip3) 1`
   on linux systems to make `python3` link to `python`


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

Posted by "thiagoelg (via GitHub)" <gi...@apache.org>.
thiagoelg commented on code in PR #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261#discussion_r1578043201


##########
devbox.json:
##########
@@ -7,7 +7,7 @@
     "kubernetes-helm": "3.13.3",
     "gnumake": "4.4.1",
     "go": "1.21.8",
-    "python": "3.12.2",
+    "python3": "3.12.2",

Review Comment:
   This can stay as `python`, as there's no `python3` on Nixpkgs.



-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

Posted by "tomasdavidorg (via GitHub)" <gi...@apache.org>.
tomasdavidorg commented on code in PR #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261#discussion_r1578953118


##########
devbox.json:
##########
@@ -7,7 +7,7 @@
     "kubernetes-helm": "3.13.3",
     "gnumake": "4.4.1",
     "go": "1.21.8",
-    "python": "3.12.2",
+    "python3": "3.12.2",

Review Comment:
   Thanks. Fixed.



-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] kie-tools-issues#2260: Use python3 instead of python [incubator-kie-tools]

Posted by "tomasdavidorg (via GitHub)" <gi...@apache.org>.
tomasdavidorg commented on PR #2261:
URL: https://github.com/apache/incubator-kie-tools/pull/2261#issuecomment-2076506990

   I am just suggesting these changes because on some distributions there is no default linking `python` to `python3` and I also found some older recommendation like this one https://stackoverflow.com/questions/62214293/is-python3-always-installed-with-python-3. If you think this is not necessary we can close this PR.
   
   
   


-- 
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: commits-unsubscribe@kie.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org