This is an automated email from the ASF dual-hosted git repository.
JingsongLi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 9f65053657 [release] Align Paimon and PyPaimon versions
9f65053657 is described below
commit 9f650536570bc52cd1df11ec2c3a3b2154dde0f0
Author: JingsongLi <[email protected]>
AuthorDate: Fri Jul 31 21:30:49 2026 +0800
[release] Align Paimon and PyPaimon versions
---
.github/workflows/release.yml | 9 +++++++++
docs/docs/project/creating-a-release.md | 8 ++++----
docs/docs/project/verifying-a-release-candidate.md | 2 +-
paimon-python/setup.py | 4 ++--
4 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 383a011d29..85461490ba 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -79,6 +79,15 @@ jobs:
exit 1
fi
+ python_release_version="$(
+ sed -n 's/^VERSION = "\(.*\)"/\1/p' \
+ paimon-python/setup.py
+ )"
+ if [[ "${python_release_version}" != "${release_version}" ]]; then
+ echo "PyPaimon version ${python_release_version:-missing} does not
match Paimon ${release_version}" >&2
+ exit 1
+ fi
+
final_tag="release-${release_version}"
rc_prefix="${final_tag}-rc"
release_kind=""
diff --git a/docs/docs/project/creating-a-release.md
b/docs/docs/project/creating-a-release.md
index c6fbe2e11b..bba87c010f 100644
--- a/docs/docs/project/creating-a-release.md
+++ b/docs/docs/project/creating-a-release.md
@@ -39,8 +39,8 @@ after the vote.
## Release model
-Paimon contains two independently versioned deliverables. Do not assume that
-their version numbers are equal.
+The combined Paimon and PyPaimon release uses one shared version number. The
+Maven project version and `paimon-python/setup.py` version must be equal.
| Deliverable | Candidate | Published location |
| --- | --- | --- |
@@ -138,11 +138,11 @@ notes. Ensure CI is green on the commit from which the
candidate will be cut.
### Set the release variables
-The following example deliberately uses different Java and Python versions:
+For the 2.0.0 release, use matching Java and Python versions:
```shell
PAIMON_VERSION="2.0.0"
-PYPAIMON_VERSION="1.5.0"
+PYPAIMON_VERSION="2.0.0"
RC_NUMBER="1"
RC_REF="release-${PAIMON_VERSION}-rc${RC_NUMBER}"
diff --git a/docs/docs/project/verifying-a-release-candidate.md
b/docs/docs/project/verifying-a-release-candidate.md
index 6910c909f4..1beece391c 100644
--- a/docs/docs/project/verifying-a-release-candidate.md
+++ b/docs/docs/project/verifying-a-release-candidate.md
@@ -36,7 +36,7 @@ Take all values and URLs from the vote email:
```shell
PAIMON_VERSION="2.0.0"
-PYPAIMON_VERSION="1.5.0"
+PYPAIMON_VERSION="2.0.0"
RC_NUMBER="1"
RC_TAG="release-${PAIMON_VERSION}-rc${RC_NUMBER}"
diff --git a/paimon-python/setup.py b/paimon-python/setup.py
index 85c4efcd56..ba747f89b2 100644
--- a/paimon-python/setup.py
+++ b/paimon-python/setup.py
@@ -24,12 +24,12 @@ import tarfile
import tempfile
from setuptools import find_packages, setup
-VERSION = "1.5.dev"
+VERSION = "2.1.dev"
def get_dev_version():
"""Generate dev version with commit date.
- Format: 1.5.devYYYYMMDD (e.g. 1.5.dev20260415)
+ Format: 2.1.devYYYYMMDD (e.g. 2.1.dev20260415)
Uses the commit date (author date) for reproducibility.
"""
base = VERSION.rstrip(".")