diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index d6bdcf6e..8e3adf2f 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -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 diff --git a/setup.cfg b/setup.cfg index 1dd8c98e..7b9d5074 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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