aisk opened a new issue, #8049:
URL: https://github.com/apache/paimon/issues/8049

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/paimon/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   PyPaimon still keeps most packaging metadata in `setup.py`. Moving the 
static metadata to `pyproject.toml` would make the packaging configuration 
easier to maintain, and it also follows the recommended Python packaging 
standard.
   
   ### Solution
   
   Use `setuptools` as the build backend with `pyproject.toml`.
   
   Although `uv` is very popular, it is still a third-party tool. Keeping 
`setuptools` as the backend gives us more flexibility, and users or developers 
can still use `uv` to install PyPaimon.
   
   One thing to decide is the Python version requirement. PyPaimon currently 
declares `python_requires=">=3.6"`, but Python 3.6 reached EOL on 2021-12-23. 
If we still need to support Python 3.6, the last compatible `setuptools` 
versions have limited `pyproject.toml` metadata support, so we may only be able 
to move part of the metadata and keep the rest in `setup.py`.
   
   I think we can raise the minimum Python version to 3.7 and migrate the 
packaging metadata to `pyproject.toml` more cleanly.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [x] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to