This is an automated email from the ASF dual-hosted git repository.

guanmingchiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/mahout.git


The following commit(s) were added to refs/heads/main by this push:
     new 7fda3beed [CI] Optimize Python bindings workflow to reduce build time 
and improve artifact handling (#834)
7fda3beed is described below

commit 7fda3beed350d85d6c51369e808d5dc6f0cb86ad
Author: Ryan Huang <[email protected]>
AuthorDate: Fri Jan 16 01:28:10 2026 +0800

    [CI] Optimize Python bindings workflow to reduce build time and improve 
artifact handling (#834)
    
    * [QDP] Optimize Python bindings workflow to reduce build time and improve 
artifact handling
    
    * fix test error & precommit error
    
    * [QDP] Update Python setup step in workflow for consistency and clarity
---
 .github/workflows/python-bindings.yml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/python-bindings.yml 
b/.github/workflows/python-bindings.yml
index 71bddb17a..01303be79 100644
--- a/.github/workflows/python-bindings.yml
+++ b/.github/workflows/python-bindings.yml
@@ -1,5 +1,4 @@
 name: Python Bindings
-
 on:
   push:
     branches:
@@ -16,20 +15,21 @@ jobs:
     steps:
       - uses: actions/checkout@v6
 
-      - name: Set up uv
-        uses: astral-sh/setup-uv@v7
+      - uses: actions/setup-python@v5
         with:
-          enable-cache: true
           python-version: '3.11'
 
-      - name: Build PyO3 bindings
-        working-directory: qdp/qdp-python
-        run: |
-          uv sync --group dev
-          uv run maturin develop
+      - name: Build wheels
+        uses: PyO3/maturin-action@v1
+        with:
+          working-directory: qdp/qdp-python
+          command: build
+          args: --release --out dist
+          sccache: 'true'
+          manylinux: auto
 
       - name: Upload wheel
         uses: actions/upload-artifact@v4
         with:
           name: python-wheel
-          path: qdp/qdp-python/target/wheels/*.whl
+          path: qdp/qdp-python/dist/*.whl

Reply via email to