Closed OTLabs closed 3 weeks ago
@rgaudin @benoit74 Is that a kind of regression? A bit concerned that @OTLabs seems to keep discovering compilation/testing issues post-release. Should we do something to harden our CI?
We don't test on Alpine on purpose because we don't support it. We have a blocker (and a ticket) on i18n.
@OTLabs I suppose you're following APKBUILD_examples:Python.
Could you share the grep517-built wheel?
The issue is that the tests can't find the generated script in the PATH. Looking at what you run, that seems normal 😅
We should use sys.executable
in the test instead of looking for PATH although we were doing it on purpose because we want to make sure this gets installed properly. The solution might be to make this test optional as for --runslow
.
Please send the wheel so we can test. I've checked already that grep517
and installer
both support entry_points so your not reliance on pip shouldn't be an issue.
Here it goes! zimscraperlib-3.3.0-py3-none-any.whl
I would like to share with you the APKBUILD I use to build the package.
@rgaudin Maybe we should just restore the --runinstalled
flag we removed because we thought we would always be "installed", I think it would be enough?
We don't test on Alpine on purpose because we don't support it. We have a blocker (and a ticket) on i18n.
Here it is even worse, I exceptionally ran tests on Alpine (since there was an issue on this) but not with the same procedure than the one use by @OTLabs (I relied on pip to install stuff).
I don't think that having full support of Alpine (and all Linux distro in fact, and all build chains) is a priority for scrapers, please speak up otherwise.
@rgaudin Maybe we should just restore the
--runinstalled
flag we removed because we thought we would always be "installed", I think it would be enough?
Yep
I am building updated package for v3.3.0 and giving followup to all your kind feedback about failing tests.
Now I got following tests failing:
The first test as expected fails, so I will continue to ignoring it.
Please, let me know if you need a full check log for ogvjs related errors.
Currently I build the wheel and: