openzim / python-libzim

Libzim binding for Python: read/write ZIM files in Python
https://pypi.org/project/libzim/
GNU General Public License v3.0
67 stars 24 forks source link

Test tests/test_libzim_creator.py::test_creator_additem fails #180

Closed OTLabs closed 1 year ago

OTLabs commented 1 year ago

I am building package for Alpine Linux, musl, v3.3.0 and got following failing test:

=========================== short test summary info ============================
FAILED tests/test_libzim_creator.py::test_creator_additem - AssertionError: Regex pattern did not match.
 Regex: 'takes exactly 1 positional argument'
 Input: '_Creator.add_item() takes no keyword arguments'
======================== 1 failed, 105 passed in 3.16s =========================

Package for v3.2.0 was successfully built.

rgaudin commented 1 year ago

This is due to your Cython version (0.29). We've updated our Cython dependency to 3.0.5 which introduced a change in exception handling which is why this test was changed. Please update Cython or use our wheels.

Note: thanks to this ticket I realize we've left the ignore rule about musl and did not build/upload the musl wheels to PyPi. Fixing that now.

rgaudin commented 1 year ago

Wheels are now available on PyPI