Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Apple Silicon compatibility #37

Open

Description

@jarmitage
  • PyQt5 needs to be updated to PyQt6
  • QScintilla depends on PyQt5 and needs to be updated to PyQt6-QScintilla (https://pypi.org/project/PyQt6-QScintilla)
  • liblo, which underlies pyliblo, does not support Apple Silicon. Probably need to switch to python-osc or osc4py3

Activity

  1. jarmitage commented on Dec 6, 2022

    @jarmitage
    Author

    As a workaround, is it possible to enable installing without OSC or a GUI?

    This would also be useful anyway for using Vortex's Tidal parser in other Python projecs

  2. yaxu commented on Dec 6, 2022

    @yaxu
    Member

    Have you got a reference for liblo not supporting apple silicon? I don't think we'd want to move to a pure python library as that likely wouldn't work as well as liblo.
    Happy to receive PRs for qt6 etc tho.

  3. jarmitage commented on Dec 6, 2022

    @jarmitage
    Author

    Ok, might be that liblo is fine, but having issues trying to install pyliblo3 on M1: gesellkammer/pyliblo3#2

  4. jarmitage commented on Dec 6, 2022

    @jarmitage
    Author

    Re Qt6, I can't test if it works yet, and wouldn't be able to test on Debian etc.

    "In theory" it's just modifying pyproject.toml to:

    PyQt6 = "^6.4.0"
    PyQt6-QScintilla = "^2.13.3"
    

    And then in gui.py:

    from PyQt6.Qsci import *
    from PyQt6.QtCore import *
    from PyQt6.QtGui import *
    from PyQt6.QtWidgets import *

    So maybe if a Linux user can check that Qt6 doesn't break anything, then a PR might be possible.

  5. karstenj commented on Feb 5, 2023

    @karstenj
    Collaborator

    I checked the update to PyQt6 on a windows machine. I had to change a couple of lines in gui.py to get it running. Some symbolic constants have changed. @jarmitage could you get it running without these changes?

    gui.patch

  6. karstenj commented on Feb 6, 2023

    @karstenj
    Collaborator

    Ich checked the change also in the github CI and it build also on Linux. I issued a pull request #38 for the change.

  7. karstenj commented on Feb 8, 2023

    @karstenj
    Collaborator

    @munshkr has merged the changes for PyQt6 to the main branch. @jarmitage could you check it? Maybe also to update the readme for MacOS.

  8. jarmitage commented on Mar 24, 2023

    @jarmitage
    Author

    @karstenj I still cannot get this running on macOS due to the same issue with pyliblo3 on M1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions