-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support for Alpine Linux #22
Comments
Thanks for reporting! This is an upstream problem with the |
Btw interesting to see that |
Thank you, @redeboer, for the quick response and for reporting the issue to Taplo.
I tested it in that Alpine container with Rust installed - that fails too:
|
Fix is being prepared in tamasfe/taplo#659. If you can, you could already try installing
Thanks, interesting that it got some steps further at least :) |
That looks good!
Thanks again for all your work on this, looking forward to working with the pre-commit hook. 🙏🏻 |
Problem description
Hello,
First of all, thank you for this project! This is finally a nice, working, and configurable TOML formatter usable as a pre-commit hook.
On local machines, everything works great, but we also have a GitLab CI job with pre-commit to ensure the codebase is formatted even if developers forget to install pre-commit in the repo on their local machines.
This CI job uses an Alpine Docker image (
python:3.11-alpine3.18
), and currently, it is failing with:The issue here, I believe, is the missing Python wheel for Alpine Linux (musl), so the installer tries to compile it from source and fails.
Right now due to missing Alpine support, we can't add https://github.com/ComPWA/mirrors-taplo to our standard hooks for all projects, which I would very much like to do.
Proposed solution
Is it possible to add and maintain support for Alpine Linux?
(Alpine Linux is widely used for CI, and many people could benefit from this.)
What should the interface look like?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: