Python3 runtime for macOS ?
See original GitHub issueChecklist
- I’m reporting a feature request
- I’ve verified that I’m running yt-dlp version 2021.09.25
- I’ve searched the bugtracker for similar feature requests including closed ones
Description
All current installs of macOS currently include Python2.7. Apple have advised that Python2.7 will be removed from a future release of macOS (but have not stated which/when). They advise that Python apps should be bundled with a Python runtime.
I have developed a macOS applet which currently uses youtube-dl and will use yt-dlp in the next release. I am looking at including a Python runtime for macOS users. But, I don’t want to do that if it will be provided with yt-dlp (as it is for Windows users). Can/will a future release of yt-dlp for macOS include a Python3 runtime ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:27 (9 by maintainers)
Top Results From Across the Web
Python Releases for macOS
Stable Releases · Python 3.11.1 - Dec. 6, 2022. Download macOS 64-bit universal2 installer · Python 3.10.9 - Dec. 6, 2022 · Python...
Read more >Installing Python 3 on Mac OS X
The latest version of Mac OS X, High Sierra, comes with Python 2.7 out of the box. You do not need to install...
Read more >The right and wrong way to set Python 3 as default on a Mac
The right and wrong way to set Python 3 as default on a Mac · 1. Install pyenv · 2. Install Python ·...
Read more >Tutorial: Installing Python on Mac - Dataquest
Install Python 3 with the Official Installer Downloading the latest Python version from the official Python website (python.org) is the most ...
Read more >How to create a Python3 runtime | Apple Developer Forums
How to create a Python3 runtime ... My AppleScript applet provides a GUI for a Python script. A new version of the Python...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I don’t have any mac devices and so can’t write/test code for this. If you can make a PR to create a bundle in the release process (build.yml), I can merge it
That said, yt-dlp doesn’t use python2.7 anyway. We only support 3.6+. So I believe this is irrelevant for us?
I’ve spent all yesterday and today trying to test the macOS changes. I’ve tried hard but GitHub has been fighting me at every step. I can’t get the “build_unix” step to work. The GitHub docs are too obtuse for me. So, I give up.
What I’ve seen looks good – only question I have is use of the macOS-11 runner instead of macOS-10.15. I’ll wait until you’ve put out a new release to test the macOS executables.