question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python3 runtime for macOS ?

See original GitHub issue

Checklist

  • 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:closed
  • Created 2 years ago
  • Comments:27 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Sep 25, 2021

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?

0reactions
section83commented, Oct 19, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found