Skip to content

[python] Support pypaimon-rust 0.4#8856

Open
shyjsarah wants to merge 2 commits into
apache:masterfrom
shyjsarah:python/support-pypaimon-rust-0.4
Open

[python] Support pypaimon-rust 0.4#8856
shyjsarah wants to merge 2 commits into
apache:masterfrom
shyjsarah:python/support-pypaimon-rust-0.4

Conversation

@shyjsarah

Copy link
Copy Markdown
Contributor

Purpose

pypaimon[sql] currently caps pypaimon-rust below 0.4.0. After paimon-rust bumped its workspace version to 0.4.0, installing the source-built Python binding followed by pypaimon[sql] makes pip reject the installed binding and try to resolve an older wheel.

Changes

  • Allow the SQL extra to use both pypaimon-rust 0.3.x and 0.4.x.
  • Pin the Python 3.11 CI lane to the paimon-rust 0.4.0 version-bump commit.
  • Install pypaimon[sql] in that lane so CI verifies the package metadata accepts the source-built binding.

Testing

  • Built and installed pypaimon-rust 0.4.0 from source in a clean Python 3.10 virtual environment.
  • Verified python -m pip install --dry-run './paimon-python[sql]' recognizes the installed pypaimon-rust 0.4.0.
  • Parsed .github/workflows/paimon-python-checks.yml as YAML.
  • Ran git diff --check.

Comment thread paimon-python/setup.py Outdated
Comment thread paimon-python/setup.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants