mirror of
https://github.com/borgbase/vorta
synced 2024-12-22 07:43:09 +00:00
Explicitely set Python version for macOS builds
This commit is contained in:
parent
e7254a9028
commit
02b5faa858
2 changed files with 12 additions and 4 deletions
8
.github/workflows/build-macos.yml
vendored
8
.github/workflows/build-macos.yml
vendored
|
@ -14,6 +14,10 @@ on:
|
|||
description: 'macOS version for building'
|
||||
required: true
|
||||
default: 'macos-14'
|
||||
python_version:
|
||||
description: 'Python version for building'
|
||||
required: true
|
||||
default: '3.12'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -24,6 +28,10 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.inputs.branch }}
|
||||
- name: Set up Python ${{ inputs.python_version }}
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ inputs.python_version }}
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
brew install openssl readline xz
|
||||
|
|
|
@ -39,10 +39,10 @@ install_requires =
|
|||
platformdirs >=2.6.0, <5.0.0; sys_platform != 'darwin' # for others: 2.6+ works consistently.
|
||||
platformdirs >=3.0.0, <5.0.0; sys_platform == 'darwin' # for macOS: breaking changes in 3.0.0,
|
||||
psutil
|
||||
pyobjc-core < 11; sys_platform == 'darwin'
|
||||
pyobjc-framework-Cocoa < 11; sys_platform == 'darwin'
|
||||
pyobjc-framework-CoreWLAN < 11; sys_platform == 'darwin'
|
||||
pyobjc-framework-LaunchServices < 11; sys_platform == 'darwin'
|
||||
pyobjc-core < 10; sys_platform == 'darwin'
|
||||
pyobjc-framework-Cocoa < 10; sys_platform == 'darwin'
|
||||
pyobjc-framework-CoreWLAN < 10; sys_platform == 'darwin'
|
||||
pyobjc-framework-LaunchServices < 10; sys_platform == 'darwin'
|
||||
pyqt6
|
||||
secretstorage; sys_platform != 'darwin'
|
||||
setuptools
|
||||
|
|
Loading…
Reference in a new issue