Skip to content

[python] Migrate PyPaimon packaging to pyproject.toml#8053

Open
aisk wants to merge 7 commits into
apache:masterfrom
aisk:migrate-pypaimon-pyproject
Open

[python] Migrate PyPaimon packaging to pyproject.toml#8053
aisk wants to merge 7 commits into
apache:masterfrom
aisk:migrate-pypaimon-pyproject

Conversation

@aisk
Copy link
Copy Markdown
Contributor

@aisk aisk commented May 31, 2026

Purpose

Migrate PyPaimon packaging metadata from setup.py and requirements files to pyproject.toml.

This PR keeps setuptools as the build backend, raises the minimum Python version to 3.7, and moves development dependencies into the dev dependency group.

Closes #8049.

Changes

  • Add paimon-python/pyproject.toml with project metadata, runtime dependencies, optional dependencies, scripts, package discovery, and the dev dependency group.
  • Remove setup.py, dev/requirements.txt, and dev/requirements-dev.txt.
  • Update PyPaimon README and docs to use python3 -m build --sdist.
  • Update MANIFEST.in now that requirements files are removed.

Tests

  • python3 -c "import tomllib; tomllib.load(open('pyproject.toml','rb')); print('ok')"
  • UV_CACHE_DIR=/tmp/uv-cache uv build --sdist

@aisk aisk marked this pull request as ready for review May 31, 2026 16:18
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.

[Feature] Migrate PyPaimon packaging to pyproject.toml

1 participant