guessit-io / guessit

GuessIt is a python library that extracts as much information as possible from a video filename.
https://guessit-io.github.io/guessit
GNU Lesser General Public License v3.0
813 stars 92 forks source link

fix(deprecated): importlib.resources.read_text() is deprecated #759

Closed plotski closed 6 months ago

plotski commented 7 months ago

References:

https://docs.python.org/3/library/importlib.resources.html#importlib.resources.read_text https://docs.python.org/3/library/importlib.resources.html#importlib.resources.files https://docs.python.org/3/library/importlib.resources.abc.html#importlib.resources.abc.Traversable

codecov-commenter commented 6 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (e947d1b) 98.46% compared to head (f62ec8c) 98.46%. Report is 2 commits behind head on develop.

Files Patch % Lines
guessit/options.py 77.77% 2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #759 +/- ## ======================================== Coverage 98.46% 98.46% ======================================== Files 52 52 Lines 3449 3454 +5 ======================================== + Hits 3396 3401 +5 Misses 53 53 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.