GuessIt is a python library that extracts as much information as possible from a video filename.
GNU Lesser General Public License v3.0
814
stars
92
forks
source link
switch to the new `files()` API instead of `open_text()` and `read_text()` (importlib_resources) #716
Closed
Toilal closed 2 years ago
You might want to switch to the new
files()
API.open_text()
andread_text()
are deprecated in importlib_resources >= 5.3.0.This might not be an issue with
importlib.resources
in the standard library, but Python 3.6 users are getting deprecation warnings.https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy https://importlib-resources.readthedocs.io/en/latest/history.html https://docs.python.org/3/library/importlib.html#module-importlib.resources
Originally posted by @plotski in https://github.com/guessit-io/guessit/issues/715#issuecomment-962427604