-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
3 failed tests on Alpine Linux #114
Comments
Those tests are not part of python libzim. Looks like python-scraperlib. I'll move the ticket but those are all environment related (version of ffmpeg installed, locales installed) so not critical |
How critical is that? Sounds blocking for Alpine packaging. |
Will change the tests very soon ; this is happening on various platforms |
@rgaudin did you achieved to reproduce this on alpine? How? I tried to start an alpine container but tests are failing due to a problem with libmagic linking - even if I installed it Start container (from repo base folder):
Inside container:
Errors I get:
|
I've already switched another project from file-magic to Just tested that it works fine on Alpine 👍 |
I've made the transition to I now struggle with the locale test. It looks like locales are not really implemented, at least setting a locale always succeed. If I make a simple test on a Debian, it fails if locale setting is not supported locally:
If I do the same on Alpine, it always succeed (it returns nothing):
I searched online but found no relevant hint on what to do. Is someone more successful? |
Not fixing your problem but I don't understand your ❯ docker run -it --rm -v $PWD:/src python:3.11-alpine python -c 'import locale ; print(locale.setlocale(locale.LC_ALL, ("nopnopop", "UTF-8")))'
nopnopop.UTF-8 This returns although it's not failing due to missing locale as you would expect… |
I'm just not as used as you are to write Python one-liners, but it is almost the same thing, I just didn't googled enough about how to write one-liners 😉 |
Few things:
Once #133 is merged I will close this issue since we will have answered your concerns, please track #134 progress if you want to be informed of the next steps. |
While building a package for Alpine Linux, musl, I got 3 failed tests:
How critical are these tests? Could I ignore them?
The text was updated successfully, but these errors were encountered: