[
https://issues.apache.org/jira/browse/KUDU-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18093404#comment-18093404
]
ASF subversion and git services commented on KUDU-3764:
-------------------------------------------------------
Commit d55aacb623be00756ad227d8f624c345da6e5f08 in kudu's branch
refs/heads/master from Marton Greber
[ https://gitbox.apache.org/repos/asf?p=kudu.git;h=d55aacb62 ]
[Python] modernize packaging and extend version support
Add pyproject.toml with PEP 517 build-system table, versioning Cython
per Python version. Drop setup_prerequisites.py. Package metadata
remains in setup.py; KUDU-3764 tracks moving it.
Pin per-version dev dependencies (pytest, setuptools, numpy, pandas),
and add compat aliases NP_OBJECT/NP_BOOL for NumPy >= 1.24 API removals.
Drop PY26/unittest2, extend classifiers to Python 3.12-3.14, and
fix sdist import test to run outside the source tree.
Tested client and packaging tests on:
- Ubuntu 22: Python 2.7, 3.7-3.14
- Ubuntu 18: Python 2.7, 3.7, 3.8
Change-Id: I940cda86ac30d053ba284155a038f9e7b4e363fc
Reviewed-on: http://gerrit.cloudera.org:8080/24200
Reviewed-by: Gabriella Lotz <[email protected]>
Tested-by: Marton Greber <[email protected]>
Reviewed-by: Zoltan Chovan <[email protected]>
> Move package metadata to pyproject.toml
> ---------------------------------------
>
> Key: KUDU-3764
> URL: https://issues.apache.org/jira/browse/KUDU-3764
> Project: Kudu
> Issue Type: Improvement
> Components: python
> Reporter: Marton Greber
> Priority: Minor
>
> All package metadata — name, version, install_requires, classifiers,
> extensions, etc. — still lives in setup.py rather than a [project] table in
> pyproject.toml. setuptools.build_meta fully supports this, but it's the old
> style. The truly modern form would move everything into pyproject.toml and
> remove setup.py entirely.
> PEP 517/518 compliance
--
This message was sent by Atlassian Jira
(v8.20.10#820010)