-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Older macOS versions? #1256
Comments
Hi @The-Compiler ! |
Hello, @The-Compiler. |
For anyone also looking into this to build Python-packages or use PyInstaller to build an EDIT 2022: make sure to checkout our workflow to see how to compile or get PyInstaller, Cffi and Cryptography to work on macOS 10.9 and above! jobs:
build_macos:
name: Build macOS binary
runs-on: macos-latest
env:
# We need the official Python, because the GA ones only support newer macOS versions
# The deployment target is picked up by the Python build tools automatically
PYTHON_VERSION: 3.9.1
MACOSX_DEPLOYMENT_TARGET: 10.9
steps:
- uses: actions/checkout@v2
- name: Get Python
run: curl https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macosx10.9.pkg -o "python.pkg"
- name: Install Python
run: |
sudo installer -pkg python.pkg -target /
- name: Install Python dependencies
run: |
python3 --version
pip3 install --upgrade -r requirements.txt Anyone can use this snippet: http://unlicense.org/ |
@Safihre could you add http://unlicense.org/ to your comment so that anyone can use the snippet in their project? I think otherwise it is implicitly published as MIT: https://opensource.stackexchange.com/a/7900 |
@StefanLobbenmeier Done. Maybe bit outdated. |
Ahh so you managed to get both a universal binary and support for older macOS versions? (if I want to use the linked GitHub action I probably also need a confirmation that this can be used without gplv3 licence) |
@StefanLobbenmeier Yes indeed, we have a release that's fully universal2 version that also supports 10.9+. In |
Area for Triage:
Apple
Question, Bug, or Feature?:
Question/Feature
I'm not sure if this really is the right place to ask, but it seems to me like the most fitting one: Are there any plans to add environments for older macOS versions? While trying to move release building for my qutebrowser project to GitHub Actions, I noticed that only macOS 10.15 is available. From my experience, a binary built on macOS 10.15 will not work correctly on older versions (but the reverse works fine), so I'm currently building on macOS 10.13 High Sierra (which is the oldest version I want to support). Thus, this currently keeps me from automating building of releases, unfortunately.
The text was updated successfully, but these errors were encountered: