chore(docs): upgrade Alpine and PyYAML to fix doc build#875
Merged
traefiker merged 1 commit intotraefik:masterfrom Mar 23, 2026
Merged
chore(docs): upgrade Alpine and PyYAML to fix doc build#875traefiker merged 1 commit intotraefik:masterfrom
traefiker merged 1 commit intotraefik:masterfrom
Conversation
Alpine 3.15 (Python 3.7) is EOL and causes build failures due to PyYAML cython_sources incompatibility with old setuptools. - Upgrade base image from Alpine 3.15 to 3.18 - Bump PyYAML from 6.0.1 to 6.0.2
mloiseleur
approved these changes
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Fixes the documentation build pipeline that fails with
AttributeError: cython_sourcesduringpip install.cf. https://github.com/traefik/mesh/actions/runs/23431874908/job/68160009068
Root cause
The
docs.Dockerfileuses Alpine 3.15 which ships Python 3.7 (EOL) with pip 20.1.1 and old setuptools. PyYAML 6.0.1's Cython-based build is incompatible with this old toolchain.This also creates a circular dependency with the structor-based publish workflow:
v1.4,master, etc.) using each branch's owndocs.Dockerfilemasteris fixed, structor still fails when buildingv1.4(which has the old Dockerfile)v1.4can't be fixed because the master pipeline blocks mergesThis PR fixes the
masterside. A corresponding fix forv1.4is in #873.Changes