Find removed PurePath.is_reserved()
Proprietarypathlib.PurePath.is_reserved() was removed in Python 3.15. Use os.path.isreserved(), which is only available on Windows. Only fires where the receiver's type resolves to a pathlib path.
org. openrewrite. python. migrate. FindPathlibIsReservedmod run . --recipe= org. openrewrite. python. migrate. FindPathlibIsReservedInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.