Skip to content
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

Add missing distutils to fix builds on some architectures #426

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

yosifkit
Copy link
Member

@yosifkit yosifkit commented Dec 12, 2024

Like arm32v7 and arm32v6

  File "/var/lib/ghost/versions/5.104.2/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'

This broke because Alpine 3.20 (bump) is using Python 3.12. So, related to docker-library/python#952; setuptools (and distutils) are not included by default in Python 3.12+.

Like arm32v7 and arm32v6

```
  File "/var/lib/ghost/versions/5.104.2/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 19, in <module>
    from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
```
@tianon tianon merged commit bc00f69 into docker-library:master Dec 12, 2024
3 checks passed
@tianon tianon deleted the distutils branch December 12, 2024 18:39
docker-library-bot added a commit to docker-library-bot/official-images that referenced this pull request Dec 12, 2024
Changes:

- docker-library/ghost@bc00f69: Merge pull request docker-library/ghost#426 from infosiftr/distutils
- docker-library/ghost@371ce7b: Add missing distutils to fix builds on some architectures
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