radarr-collections icon indicating copy to clipboard operation
radarr-collections copied to clipboard

pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13

Open dannyhand opened this issue 11 months ago • 2 comments

Just set up this script and ran it for the first time. Excellent work!

I get this message upon running:

PS C:\Radarr\collector> python rcm.py ./config

C:\Radarr\collector\rcm.py:328: DeprecationWarning: pathlib.Path.enter() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path.joinpath(output_path, folder) as fold:

C:\Radarr\collector\rcm.py:358: DeprecationWarning: pathlib.Path.enter() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path.joinpath(config_path, u'memory.dat') as file:

My python info:

Python 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)] on win32

dannyhand avatar Sep 04 '23 23:09 dannyhand