ahupp / python-magic

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

Travis CI: Test on Python 3.13 beta #317

Closed cclauss closed 3 months ago

cclauss commented 3 months ago

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

ahupp commented 3 months ago

Thanks!

cclauss commented 3 months ago

Actually, Travis CI has never worked on this repo so the file .travis.yml can be deleted.

I created #318 to replace Travis CI.

cclauss commented 3 months ago

In README.md the build badge links to the same place...

Build Status