Build MacOS arm64 wheels
Piggy-backing off of the work recently done to produce manylinux2014-aarch64 wheels (#71 (closed)), it'd be great to have wheels produced for development on the new M1 macs!
Currently, it's (understandably) not possible to install pyagrum on M1 macs via python dependency management tools:
$ python --version 3.8.12 $ pip install pyagrum ERROR: Could not find a version that satisfies the requirement pyagrum (from versions: none) ERROR: No matching distribution found for pyagrum
As a workaround, I've been building the arm64 wheel for our team and distributing it, which has solved our issues for now and seems to run just fine:
$ git clone https://gitlab.com/agrumery/aGrUM Cloning into 'aGrUM'... warning: redirecting to https://gitlab.com/agrumery/aGrUM.git/ remote: Enumerating objects: 101899, done. remote: Counting objects: 100% (4404/4404), done. remote: Compressing objects: 100% (1654/1654), done. remote: Total 101899 (delta 3080), reused 4012 (delta 2748), pack-reused 97495 Receiving objects: 100% (101899/101899), 222.10 MiB | 9.96 MiB/s, done. Resolving deltas: 100% (87140/87140), done. $ cd aGrUM # Checkout specific release to build $ git checkout 0.22.3 # Build the wheel $ ./act wheel release pyAgrum -d $(pwd) # Upload somewhere to share w/ team
This has completely served us, but adding an arm64 build to the release matrix would help reduce friction for Mac development!