Skip to content

Allow tox to be run locally on arm64 macOS #98

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

Closed
dstansby opened this issue May 10, 2023 · 3 comments · Fixed by #101
Closed

Allow tox to be run locally on arm64 macOS #98

dstansby opened this issue May 10, 2023 · 3 comments · Fixed by #101
Assignees
Milestone

Comments

@dstansby
Copy link
Member

Currently it's not possible to run tox locally on an arm64 machine (e.g. a moder MacBook pro). This is because all deps are installed from PyPI, and there are no PyQT5 wheels available for arm64 there.

Two options I can see here:

  • See if it's possible to use PySide of PyQT5 instead for testing
  • Install PyQT5 from conda using testing using tox-conda.

I'll investigate both of these and try and get a fix working.

@dstansby
Copy link
Member Author

Looks like another backend option is PyQT6, which has macOS universal wheels: https://pypi.org/project/PyQt6/#files

@dstansby
Copy link
Member Author

Worked fine locally with me with PyQT6, but support is probably experimental in napari at the moment (see napari/napari#5820)

@dstansby
Copy link
Member Author

PySide2 doesn't have arm64 wheels: https://pypi.org/project/PySide2/#files. So I think for now we go with pyqt6.

@dstansby dstansby moved this from Todo to In Progress in napari-matplotlib plugin accelerator May 10, 2023
@dstansby dstansby added this to the 0.3.0 milestone May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant