conda-forge / pyqt-feedstock

A conda-smithy repository for pyqt.
BSD 3-Clause "New" or "Revised" License
5 stars 36 forks source link

Provide a built for osx-arm64 #101

Open DocEpsilon opened 3 years ago

DocEpsilon commented 3 years ago

Issue: Hi, please add a built for osx-arm64 architecture in python 3.9. Thanks for your great work, so far.

cheers, Markus


Details about conda and system ( conda info ):

``` $ conda info active environment : py39_dev active env location : /Users/epp/Applications/miniforge3/envs/py39_dev shell level : 2 user config file : /Users/epp/.condarc populated config files : /Users/epp/Applications/miniforge3/.condarc conda version : 4.9.2 conda-build version : not installed python version : 3.9.2.final.0 virtual packages : __osx=11.2.3=0 __unix=0=0 __archspec=1=arm64 base environment : /Users/epp/Applications/miniforge3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64 https://conda.anaconda.org/conda-forge/noarch package cache : /Users/epp/Applications/miniforge3/pkgs /Users/epp/.conda/pkgs envs directories : /Users/epp/Applications/miniforge3/envs /Users/epp/.conda/envs platform : osx-arm64 user-agent : conda/4.9.2 requests/2.25.1 CPython/3.9.2 Darwin/20.3.0 OSX/11.2.3 UID:GID : 68441053:314449668 netrc file : None offline mode : False ```
gillins commented 3 years ago

We can't build qt yet for osx-arm64 (https://github.com/conda-forge/qt-feedstock/pull/185). @isuruf is this even possible to do with a cross compile, or do we need to wait for native hardware?

isuruf commented 3 years ago

It'll be quite hard to cross-compile qt itself.

DocEpsilon commented 3 years ago

I just realized there's a homebrew package of pyqt for osx-arm64, so I would have a workaround in the meantime.

I would still prefer to have a clean conda-forge installation for my data science projects, with the ability to flexibly change environments. So any effort to built for osx-arm64 in this feedstock would be hugely appreciated.

However, if there's to many underlying issues I completely understand, that there are more pressing matters. If I can do anything to contribute, let me know.

I already did clone the pyqt-feestock repo and tried python build-locally.py after installing docker . However, the build failed, because of some version conflicts with conda-build, while trying to build pyqt-sip. I didn't investigate further, because honestly the build-scripts for cross compiling are fairly complex and I don't understand what's going on.