ahupp / python-magic

A python wrapper for libmagic
Other
2.59k stars 280 forks source link

GitHub Action to replace Travis CI #318

Closed cclauss closed 3 months ago

cclauss commented 3 months ago

Test results: https://github.com/cclauss/python-magic/actions

The Python 3.13 release notes mention python-magic as one of the alternatives for imghdr which was removed from the Standard Library so let's ensure that its tests pass on Python 3.13 beta.

https://www.python.org/downloads/release/python-3130b1/

May raise ModuleNotFoundError: No module named 'imghdr' because Python 3.13 removes it from the Standard Library.

imghdr: use the projects filetype, puremagic, or python-magic instead. (Contributed by Victor Stinner in gh-104773.)

https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals

cclauss commented 3 months ago

@ahupp Your review, please. It would help to have automated tests running.