Open cclauss opened 3 months ago
My suspicion (https://github.com/ahupp/python-magic/pull/318#discussion_r1606797215) was confirmed. ci passes when installing latest libmagic from source on ubuntu-latest. See 8381a96 + 9c5f955 in https://github.com/ahupp/python-magic/pull/294. ci passing on my fork for the latter commit: https://github.com/ddelange/python-magic/actions/runs/9188880947
In #318, I had to add
@pytest.mark.skipif(sys.platform == "linux", reason="'JSON data' not found")
to two tests.318
It would be great if someone could modify
test/python_magic_test.py
to fix these tests and remove theTODO
and theskipif
lines.We will need
libmagic1
>= v5.44 https://github.com/ahupp/python-magic/pull/327#issuecomment-2124402148