infobyte / faraday

Open Source Vulnerability Management Platform
https://www.faradaysec.com
GNU General Public License v3.0
4.72k stars 875 forks source link

fix(future-compat): remove imghdr #447

Open llazzaro opened 2 years ago

llazzaro commented 2 years ago

Since PEP 594 was accepted, the standard module imghdr will be deprecated in Python 3.11 and it will be removed in Python 3.13.

This PR removes the module imghdr and replaces it with python-magic-bin