-
Notifications
You must be signed in to change notification settings - Fork 4.2k
GH-50091: [Python][Packaging] Add support for Python 3.15 #50576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
352e955
e218142
7c98b13
182d8e6
dee356e
c17f15a
64ed130
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,11 +138,13 @@ tasks: | |
|
|
||
| ########################### Python Wheels ############################ | ||
|
|
||
| {% for python_version, python_tag, abi_tag in [("3.11", "cp311", "cp311"), | ||
| ("3.12", "cp312", "cp312"), | ||
| ("3.13", "cp313", "cp313"), | ||
| ("3.14", "cp314", "cp314"), | ||
| ("3.14", "cp314", "cp314t")] %} | ||
| {% for python_version, python_image_tag, python_tag, abi_tag in [("3.11", "3.11", "cp311", "cp311"), | ||
| ("3.12", "3.12", "cp312", "cp312"), | ||
| ("3.13", "3.13", "cp313", "cp313"), | ||
| ("3.14", "3.14", "cp314", "cp314"), | ||
| ("3.14", "3.14", "cp314", "cp314t"), | ||
| ("3.15", "3.15.0b4", "cp315", "cp315"), | ||
| ("3.15", "3.15.0b4", "cp315", "cp315t")] %} | ||
|
|
||
| {############################## Wheel Linux ##################################} | ||
|
|
||
|
|
@@ -159,6 +161,7 @@ tasks: | |
| linux_wheel_version: "{{ version }}" | ||
| python_abi_tag: "{{ abi_tag }}" | ||
| python_version: "{{ python_version }}" | ||
| python_image_tag: "{{ python_image_tag }}" | ||
| wheel_platform_tag: "{{ platform_tag }}" | ||
| artifacts: | ||
| - pyarrow-{no_rc_version}-{{ python_tag }}-{{ abi_tag }}-{{ platform_tag }}.whl | ||
|
|
@@ -495,7 +498,7 @@ tasks: | |
| UBUNTU: 22.04 | ||
| image: ubuntu-cpp-emscripten | ||
|
|
||
| {% for python_version in ["3.11", "3.12", "3.13", "3.14"] %} | ||
| {% for python_version in ["3.11", "3.12", "3.13", "3.14", "3.15"] %} | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose conda won't yet have python 3.15?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Although it seems it does, but then I would expect that not all dependencies we need will already have been rebuilt for python 3.15 (as I haven't yet seen migrations for that) |
||
| test-conda-python-{{ python_version }}: | ||
| ci: github | ||
| template: docker-tests/github.linux.yml | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| build | ||
| cython>=3.1 | ||
| libcst>=1.8.6 | ||
| libcst>=1.8.6; python_version < "3.15" | ||
| numpy>=1.25 | ||
| scikit-build-core>=1.0 | ||
| setuptools_scm>=8 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,15 @@ | ||
| # TODO: To be removed once numpy provides wheels for Python 3.15 | ||
| --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple | ||
|
|
||
| build | ||
| cython>=3.1 | ||
| # Needed for build-time stub docstring extraction | ||
| libcst>=1.8.6 | ||
| numpy>=2.0.0 | ||
| # Needed for build-time stub docstring extraction. | ||
| # GH-50575: no libcst wheels for Python 3.15 yet and the source build requires | ||
| # a PyO3 version that doesn't support 3.15. Stub docstring extraction is | ||
| # currently disabled anyway (GH-49831), so skip it there. | ||
| libcst>=1.8.6; python_version < "3.15" | ||
| numpy>=2.0.0; python_version < "3.15" | ||
| numpy>=2.6.0.dev0; python_version >= "3.15" | ||
| scikit-build-core>=1.0 | ||
| setuptools_scm | ||
| wheel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(TODO update for the RC)