Closed tancnle closed 10 months ago
Release triggered at https://github.com/grantjenks/py-tree-sitter-languages/actions/runs/7706777756
Another data points, the links for the uploaded macOS and windows are both returning 404
I think both macOS and windows artefacts are overwritten by ubuntu ones because of this change https://github.com/grantjenks/py-tree-sitter-languages/pull/42/commits/bc2ba52151b99ddafd81ddfee14373d2844f6ec9.
I think reverting back to upload-artifact@v2
would be a quickest fix (https://github.com/grantjenks/py-tree-sitter-languages/pull/47)
@grantjenks It seems that the build is failing due to artefacts not being found. I think it is due to some compatibility issue between upload-artifact@v2
and download-artifact@v4
. 🤔
I have reinstated upload-artifact@v4
(PR) and ensured there are no naming conflicts (following the example from upload-artifact
repo). The artefact links are shown up in the log (source).
Hopefully, the upload
job will pass this time. Could you kindly have another look? 🙏🏼
How can I test it on macOS M1?
@andreportela We need to push a new release so the package with MacOS wheels will be available via PyPi. At the moment, you can download the wheels directly from the artefacts page.
Download wheelhouse-macos-latest
and unpack the locally.
Select the appropriate one for your Python version and arch. For example, I use Python 3.11 on M1 so I select tree_sitter_languages-1.10.1-cp311-cp311-macosx_11_0_arm64.whl
.
./
tree_sitter_languages-1.10.1-cp310-cp310-macosx_10_9_x86_64.whl
tree_sitter_languages-1.10.1-cp310-cp310-macosx_11_0_arm64.whl
tree_sitter_languages-1.10.1-cp311-cp311-macosx_10_9_x86_64.whl
tree_sitter_languages-1.10.1-cp311-cp311-macosx_11_0_arm64.whl
tree_sitter_languages-1.10.1-cp312-cp312-macosx_10_9_x86_64.whl
tree_sitter_languages-1.10.1-cp312-cp312-macosx_11_0_arm64.whl
tree_sitter_languages-1.10.1-cp37-cp37m-macosx_10_9_x86_64.whl
tree_sitter_languages-1.10.1-cp38-cp38-macosx_10_9_x86_64.whl
tree_sitter_languages-1.10.1-cp38-cp38-macosx_11_0_arm64.whl
tree_sitter_languages-1.10.1-cp39-cp39-macosx_10_9_x86_64.whl
tree_sitter_languages-1.10.1-cp39-cp39-macosx_11_0_arm64.whl
Install the package
❯ pip install tree_sitter_languages-1.10.1-cp311-cp311-macosx_11_0_arm64.whl
Try it out
$ python
Python 3.11.7 (main, Jan 15 2024, 18:10:15) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from tree_sitter_languages import get_language, get_parser
>>> language = get_language('python')
>>>> parser = get_parser('python')
👋🏼 @grantjenks would it be possible if you could please push another release or perhaps rebuild/push 1.10.1
🙏🏼?
Thanks @grantjenks. The new package looks good to me 🙇🏼♂️
@grantjenks Would it be possible to push a new release of
tree_sitter_languages
?Many thanks for your work on this project.