LibCST
LibCST copied to clipboard
No 3.7 macosx-arm64 wheels
Noticed this when trying to build vscode-ufmt and include libcst wheels: PyPI has a cp37m-macosx_10_9_x86_64
wheel, but no matching cp37m-macosx_11_0_arm64
wheel. Both wheels are available on all other runtimes.
(.venv) » python -VV
Python 3.7.13 (default, Apr 7 2022, 17:47:51)
[Clang 13.1.6 (clang-1316.0.21.2)]
(.venv) » python -c 'import platform; print(platform.platform())'
Darwin-21.6.0-arm64-arm-64bit
(.venv) » python -m pip install --only-binary :all: --no-deps libcst==0.4.7
ERROR: Could not find a version that satisfies the requirement libcst==0.4.7 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15, 0.3.16, 0.3.17, 0.3.18, 0.3.19, 0.3.20, 0.3.21, 0.3.22, 0.3.23)
ERROR: No matching distribution found for libcst==0.4.7
WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available.
You should consider upgrading via the '/Users/amethyst/workspace/vscode-ufmt/.venv/bin/python -m pip install --upgrade pip' command.
Happy to build and upload a wheel for now, but it would be nice to know why this wasn't automatically published by cibuildwheel.
It would also be nice if we could build/publish universal2 wheels instead, so that the same package could be used regardless of client arch.
Huh, I thought CPython 3.7 doesn't support M1 cpus
Edit: yeah, 3.8.10 was the first release that supports Apple arm64: https://docs.python.org/release/3.8.12/whatsnew/changelog.html#id10
Edit: yeah, 3.8.10 was the first release that supports Apple arm64: https://docs.python.org/release/3.8.12/whatsnew/changelog.html#id10
Interesting, I guess it got backported by whoever is managing pyenv/etc? It's supported both on Github runners and on my machine via pyenv, so I think it would be nice to have builds for it if possible.
Hi, same for linux-aarch64 :( Got here because google-cloud-bigquery now seems to depend on this package, and I cannot install it in docker containers on macos because of the missing build