Skip to content
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

Update macOS support to run on arm64 #2334

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomkins
Copy link

@tomkins tomkins commented Dec 14, 2024

Status

Ready for review

Description

Fixes #2333.

Updates pyproject.toml to install a later version of PyQt5 - but only for macOS. Slightly later versions provide arm64 wheels, which makes installing the development environment a lot easier.

As arm64 PyQt5 wheels are only available for slightly later versions - install the latest possible version for macOS (darwin), but leave Linux packages at the specific pinned version (so it keeps it in sync with Debian bookworm).

Happy to tweak this if needed, and I understand this isn't your primary target environment if the change isn't wanted.

Test Plan

  • Check that the development client works under macOS without x86_64 Homebrew (screenshot attached from me running it, it's not perfect UI wise - but it works)
  • Check that installing under Linux does not install different versions of packages - this should only impact macOS.
Screenshot 2024-12-14 at 21 28 34

Checklist

  • These changes should not need testing in Qubes
  • No update to the AppArmor profile is required for these changes
  • No database schema changes are needed

As arm64 PyQt5 wheels are only available for slightly later versions - install the latest possible version for macOS (darwin), but leave Linux packages at the specific pinned version
@tomkins tomkins requested a review from a team as a code owner December 14, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macOS development setup doesn't work without x86_64 Homebrew
1 participant