Skip to content

Add Alpine 3.24 and drop 3.22 - #1123

Merged
tianon merged 1 commit into
docker-library:masterfrom
jnoordsij:alpine3.24
Jun 10, 2026
Merged

Add Alpine 3.24 and drop 3.22#1123
tianon merged 1 commit into
docker-library:masterfrom
jnoordsij:alpine3.24

Conversation

@jnoordsij

Copy link
Copy Markdown
Contributor

Modelled after #1099.

This PR updates Alpine to the latest stable version: 3.24.

See also https://alpinelinux.org/posts/Alpine-3.24.0-released.html.

@tianon tianon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@tianon

tianon commented Jun 10, 2026

Copy link
Copy Markdown
Member

(classic; 7914d06 caused a conflict, so that's just a rebase)

@tianon tianon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 😊

@tianon
tianon merged commit e95cd92 into docker-library:master Jun 10, 2026
43 of 44 checks passed
@jnoordsij
jnoordsij deleted the alpine3.24 branch June 10, 2026 17:10
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Jun 10, 2026
Changes:

- docker-library/python@f79aea5b: Update 3.13 to 3.13.14
- docker-library/python@e95cd92a: Merge pull request docker-library/python#1123 from jnoordsij/alpine3.24
- docker-library/python@bb96c631: Add Alpine 3.24 and drop 3.22
- docker-library/python@7914d06b: Update 3.14 to 3.14.6
tianon added a commit to docker-library/official-images that referenced this pull request Jun 10, 2026
Changes:

- docker-library/python@f79aea5b: Update 3.13 to 3.13.14
- docker-library/python@e95cd92a: Merge pull request docker-library/python#1123 from jnoordsij/alpine3.24
- docker-library/python@bb96c631: Add Alpine 3.24 and drop 3.22
- docker-library/python@7914d06b: Update 3.14 to 3.14.6

Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
raulcd pushed a commit to apache/arrow that referenced this pull request Aug 21, 2026
### Rationale for this change
Add [Python 3.15](https://docs.python.org/3.15/whatsnew/3.15.html) to the pyarrow nightly builds, so that issues can be detected early in the development cycles of both cpython & pyarrow. 

Note: 
- ~~CFFI and~~ Pandas doesn't have nightly 3.15 wheels, and are accordingly excluded. 
- Numpy shipped 3.15rc1 in 2.5.2 ~~doesn't ship a 3.15 wheel, but is needed to build. It is building from source.~~
- [3.15 Schedule](https://peps.python.org/pep-0790/) This PR targets 3.15.0rc1. rc2 is expected 2026-09-01 and final 2026-10-01. 

### What changes are included in this PR?
- Adding cp315/cp315t to the build matrix
- Excluding ~~cffi/~~ pandas for 3.15, as the wheels aren't yet available.

### 2026-08-13 edit
- Bump libcst to 1.9.0
- Update manylinux image to 2026.08.08-1 (for 3.15rc1)
- Add -rc to PYTHON_IMAGE_TAG
- Disable pandas tests if Pandas isn't installed: 

### Are these changes tested?
- Yes, tested on a local Linux build using the `ninja-release-python` preset (not maximal)

### Are there any user-facing changes?
No functional changes, other than allowing the user to use Python 3.15. 
* GitHub Issue: #48172

### Progress Notes (2026-08-15)
Each platform uses different sources for Python builds, each with different release schedules and paths:

- [manylinux](https://github.com/pypa/manylinux) is prebuilt with latest Python builds in `/opt/python`, so using the latest manylinux build is sufficient. 3.15 wasn't available until beta 1. 
- musllinux: Uses Alpine system python built from docker-library/python#1123. Might need to bump ALPINE_LINUX version in [arrow/dev/tasks/python-wheels/github.linux.yml](https://github.com/apache/arrow/blob/e611f48081ec927e18e5bcb72fbd071c15c76b08/dev/tasks/python-wheels/github.linux.yml#L35). 
- musllinux free-threaded: uses [astral's builds](https://github.com/astral-sh/python-build-standalone). Edit `python-free-threaded-wheel-musllinux-test-imports.dockerfile` + `-test-unittests.dockerfile`: set the python_patch_version, and set build_date in `compose.yaml`. 
- macos: Downloads official build from python.org, see `ci/scripts/install_python.sh`. For early builds, needed to disable `--only-binary` since at least one dependency needed to be built (no 3.15 wheels available yet)... only macos uses --only-binary
- Windows: installs builds using `choco`, see `python-wheel-windows-test-vs2022.dockerfile` and `python-free-threaded-wheel-windows-test-vs2022.dockerfile`

For 3.15.0rc1 builds, some care was needed because certain paths needed 3.15.0 and others needed the full 3.15.0rc1. 

Lead-authored-by: Paul Timmins <paul@iqmo.com>
Co-authored-by: paul@iqmo.com <paul@iqmo.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
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.

2 participants