Using Python 3 for code bash script#141749
Using Python 3 for code bash script#141749fishcharlie wants to merge 1 commit intomicrosoft:mainfrom
code bash script#141749Conversation
It never did: Python3 was always only installed via either Command-Line Developer Tools or Xcode. What is going away in 12.3 is the Python 2 framework and its executables one could always find in /usr/bin.
That seems like a complicated dependency to pull in if it isn't otherwise needed, especially for a multi-platform project.
Homebrew does currently install Command-Line Tools automatically during its installation, however I'm not sure it's a reasonable assumption that all VSCode users on macOS have or use Homebrew. Zsh does have a shorthand for realpath, however
|
|
GitHub Desktop has this same problem as well for its It seems like GitHub Desktop introduced its CLI in desktop/desktop@65af5e0 based off of VS Code's be4a1ef, so if the Perl approach is used, this would possibly a case of GitHub Desktop contributing a fix upstream (in a sense!). |
I will note in Apple's 10.15 release notes it states:
So even if Apple depends on Perl currently, it's very likely to face the same fate as Python at some point. I will note that in my issue I created @bpasero linked to #138582. Should we close this as a duplicate of #138582? |
|
Merging to #141749, thanks for the PR! |
@deepak1556 Think you meant #138582? |
General
This PR changes the
codebash script to usepython3instead ofpython.Few questions that I don't know the answers to:
This PR fixes #141738