You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following on from #1591 and #1603, testing the client under macOS requires a separate version of Homebrew.
As it's close to 2025, it's a lot easier to run nearly all software under arm64 Homebrew and not need a separate x86_64 installation. So - it might be good to add support for Apple Silicon.
Steps to Reproduce
Setup the development environment without x86_64 Homebrew.
Expected Behavior
To be able to poetry install without errors, and run.sh without errors.
Actual Behavior
PyQt5 fails to install:
RuntimeError
Unable to find installation candidates for pyqt5-qt5 (5.15.2)
at ~/.virtualenvs/securedrop-client/lib/python3.11/site-packages/poetry/installation/chooser.py:74 in choose_for
70│
71│ links.append(link)
72│
73│ if not links:
→ 74│ raise RuntimeError(f"Unable to find installation candidates for {package}")
75│
76│ # Get the best link
77│ chosen = max(links, key=lambda link: self._sort_key(package, link))
78│
Cannot install pyqt5-qt5.
And if you do install another version of PyQt5 that does work, then the run script also causes an issue:
$ ./run.sh
...
Current OS is *not* Qubes, disabling DispVM support...
Starting client, home directory: /Users/tomkins/.sdc_tmp/sd_client.CByR
arch: posix_spawnp: poetry: Bad CPU type in executable
Comments
Will follow up with a pull request shortly.
The text was updated successfully, but these errors were encountered:
Description
Following on from #1591 and #1603, testing the client under macOS requires a separate version of Homebrew.
As it's close to 2025, it's a lot easier to run nearly all software under arm64 Homebrew and not need a separate x86_64 installation. So - it might be good to add support for Apple Silicon.
Steps to Reproduce
Setup the development environment without x86_64 Homebrew.
Expected Behavior
To be able to poetry install without errors, and run.sh without errors.
Actual Behavior
PyQt5 fails to install:
And if you do install another version of PyQt5 that does work, then the run script also causes an issue:
Comments
Will follow up with a pull request shortly.
The text was updated successfully, but these errors were encountered: