Repository: ast-grep/ast-grep (language: rust)

Issue:
[bug] Missing macOS build for Python 3.10
Hi there!

It would be nice to have build of `ast-grep-py` for macOS and Python 3.10


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/pyo3.yml b/.github/workflows/pyo3.yml
index 620a48e09e..ec5719273d 100644
--- a/.github/workflows/pyo3.yml
+++ b/.github/workflows/pyo3.yml
@@ -94,8 +94,7 @@ jobs:
           path: crates/pyo3/dist
 
   macos:
-    # use old macos due to https://github.com/actions/setup-python/issues/852
-    runs-on: macos-13
+    runs-on: macos-latest
     strategy:
       matrix:
         target: [x86_64, aarch64]
@@ -103,7 +102,12 @@ jobs:
       - uses: actions/checkout@v4
       - uses: actions/setup-python@v5
         with:
-          python-version: ${{ env.PYTHON_VERSION }}
+          python-version: |
+            3.8
+            3.9
+            3.10
+            3.11
+            3.12
       - name: Build wheels
         uses: PyO3/maturin-action@v1
         env:


Test patch: