-
Notifications
You must be signed in to change notification settings - Fork 160
Description
Recently, upon upgrading some machines to use Python 3.11.4, a script I use for cleaning up artifacts has stopped working, throwing the following error:
File "C:\ci-scripts\cleanup.py", line 117, in clean_up for p in repo_path.glob("**/*.zip"): File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\pathlib.py", line 953, in glob for p in selector.select_from(self): File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\pathlib.py", line 407, in _select_from for starting_point in self._iterate_directories(parent_path, is_dir, scandir): File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\pathlib.py", line 391, in _iterate_directories entry_is_dir = entry.is_dir(follow_symlinks=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This seems to affect versions 3.11.4 and higher of Python, since this same script worked fine testing it with 3.11.0 up to 3.11.3.