GH-47443: [Python][Packaging] Drop Python 3.9 support#47478
GH-47443: [Python][Packaging] Drop Python 3.9 support#47478raulcd merged 12 commits intoapache:mainfrom
Conversation
|
|
|
@github-actions crossbow submit -g python |
|
Revision: e6a2ef8 Submitted crossbow builds: ursacomputing/crossbow @ actions-f2bbc8c456 |
|
@github-actions crossbow submit -g wheel |
|
Revision: e6a2ef8 Submitted crossbow builds: ursacomputing/crossbow @ actions-1fe0f5e10d |
|
@github-actions crossbow submit python-sdist |
|
Revision: 1a93e2d Submitted crossbow builds: ursacomputing/crossbow @ actions-d6131de9fb
|
|
@github-actions crossbow submit wheel-manylinux-cp312 |
|
@github-actions crossbow submit almalinux-8-* |
|
Revision: d3b86df Submitted crossbow builds: ursacomputing/crossbow @ actions-57dbfc6a95
|
|
Revision: d3b86df Submitted crossbow builds: ursacomputing/crossbow @ actions-8cec7add92
|
|
@github-actions crossbow submit almalinux-8-* |
|
Revision: 59d506c Submitted crossbow builds: ursacomputing/crossbow @ actions-85a6c18ceb
|
|
@github-actions crossbow submit almalinux-8-* |
|
Revision: ea2eebb Submitted crossbow builds: ursacomputing/crossbow @ actions-598c97696a
|
|
@github-actions crossbow submit python-sdist |
|
The Windows wheels failures are being tackled on a different PR where I am currently working on |
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
| -------------------- | ||
|
|
||
| PyArrow is currently compatible with Python 3.9, 3.10, 3.11, 3.12 and 3.13. | ||
| PyArrow is currently compatible with Python 3.10, 3.11, 3.12 and 3.13. |
There was a problem hiding this comment.
A bit lower down in this file, there is a listing of the optional dependencies and the minimal versions we support. That could be updated?
There was a problem hiding this comment.
Although, for example for pandas, we strictly speaking still support pandas >= 1.0, even though we only test with pandas 1.3, since that is the version we check for in python/pyarrow/pandas-shim.pxi
I think that that could be bumped, but can also be for separate issue
There was a problem hiding this comment.
I'll bump to:
* **NumPy 1.21.2** or higher.
* **pandas 1.3.4** or higher,
because we might be able to build with pandas 1.0 but there's no Python wheel for a supported Python version so I think it's still worth bumping the docs too, we can bump python/pyarrow/pandas-shim.pxi on a follow up PR.
…or some jobs to Python 3.12 and update docs
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit aedb752. There weren't enough matching historic benchmark results to make a call on whether there were regressions. The full Conbench report has more details. |
…7478) ### Rationale for this change Python 3.9 is End of Support on 31st October 2025. We can drop support for pyarrow 22.0.0. See: https://endoflife.date/python ### What changes are included in this PR? Remove support for 3.9. Update minimum required Python version and update some CI jobs to use the minimum Python supported version ### Are these changes tested? They will be tested via CI and Archery ### Are there any user-facing changes? Yes in terms of not supporting older versions of Python. This will be a breaking change for some users but not for the API itself * GitHub Issue: apache#47443 Lead-authored-by: Raúl Cumplido <raulcumplido@gmail.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Rationale for this change
Python 3.9 is End of Support on 31st October 2025. We can drop support for pyarrow 22.0.0.
See: https://endoflife.date/python
What changes are included in this PR?
Remove support for 3.9. Update minimum required Python version and update some CI jobs to use the minimum Python supported version
Are these changes tested?
They will be tested via CI and Archery
Are there any user-facing changes?
Yes in terms of not supporting older versions of Python. This will be a breaking change for some users but not for the API itself