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

JingsongLi pushed a commit to branch release-2.1
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/release-2.1 by this push:
     new f834ed516a [python] Constrain release-2.1 Rust wheels below 0.5.0 
(#11218)
f834ed516a is described below

commit f834ed516ab4deb85e9b68115092b72f010bbfed
Author: XiaoHongbo <[email protected]>
AuthorDate: Tue Nov 17 17:18:44 2026 +0800

    [python] Constrain release-2.1 Rust wheels below 0.5.0 (#11218)
---
 .github/workflows/ci-python.yml | 15 +++++++++------
 paimon-python/pyproject.toml    |  2 +-
 2 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml
index 2a15465864..ff27ab248f 100644
--- a/.github/workflows/ci-python.yml
+++ b/.github/workflows/ci-python.yml
@@ -165,18 +165,20 @@ jobs:
           curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- 
-y --default-toolchain stable --profile minimal
           echo "$HOME/.cargo/bin" >> $GITHUB_PATH
 
-      - name: Build paimon-rust from the verified 2.1 revision
-        run: |
-          python -m pip install --upgrade pip
-          # Keep the release branch on the revision verified by Native CI on 
2026-10-08.
-          python -m pip install --upgrade 
"git+https://github.com/apache/paimon-rust.git@ae62495d275ccf3811c38128788be8cf7e144177#subdirectory=bindings/python";
-
       - name: Install Python test dependencies
         run: |
+          python -m pip install --upgrade pip
           python -m pip install torch --index-url 
https://download.pytorch.org/whl/cpu
           python -m pip install -e ./paimon-python --group 
./paimon-python/pyproject.toml:dev
           python -m pip check
 
+      - name: Build paimon-rust from the verified 2.1 revision
+        run: |
+          # Install after the SQL extra, which constrains published wheels 
below 0.5.0.
+          # This verified source revision also reports 0.5.0, but predates 
that release.
+          python -m pip install --upgrade 
"git+https://github.com/apache/paimon-rust.git@ae62495d275ccf3811c38128788be8cf7e144177#subdirectory=bindings/python";
+          python -m pip check
+
       - name: Verify native wheel provenance
         run: |
           python - <<'PY'
@@ -187,6 +189,7 @@ jobs:
 
           distribution = metadata.distribution('pypaimon-rust')
           source = json.loads(distribution.read_text('direct_url.json'))
+          assert source['vcs_info']['commit_id'] == 
'ae62495d275ccf3811c38128788be8cf7e144177'
           print('pypaimon-rust', distribution.version,
                 'commit', source['vcs_info']['commit_id'])
           PY
diff --git a/paimon-python/pyproject.toml b/paimon-python/pyproject.toml
index 45a9602370..b80759f2e7 100644
--- a/paimon-python/pyproject.toml
+++ b/paimon-python/pyproject.toml
@@ -163,7 +163,7 @@ datafusion = [
 ]
 sql = [
     "pypaimon[datafusion]; python_version >= '3.10'",
-    "pypaimon-rust>=0.3.0; python_version >= '3.10'",
+    "pypaimon-rust>=0.3.0,<0.5.0; python_version >= '3.10'",
 ]
 hdfs = [
     "hdfs-native>=0.13,<1; python_version >= '3.10' and platform_system != 
'Windows'",

Reply via email to