-
Notifications
You must be signed in to change notification settings - Fork 10
Drop support for Python 3.10 #963
Copy link
Copy link
Open
Description
Widen the window of support to include 3.11 through 3.14. When we do this we should also update the unit testing matrix in CI/CD.
Also, we can get rid of this warning:
DeprecationWarning: 'importlib.abc.Traversable' is deprecated and slated for removal in Python 3.14
The patch looks like this:
diff --git a/src/codemodder/codemods/base_codemod.py b/src/codemodder/codemods/base_codemod.py
index 7a458c2..82594f8 100644
--- a/src/codemodder/codemods/base_codemod.py
+++ b/src/codemodder/codemods/base_codemod.py
@@ -7,7 +7,7 @@ from concurrent.futures import ThreadPoolExecutor
from dataclasses import dataclass, field
from enum import Enum
from functools import cached_property
-from importlib.abc import Traversable
+from importlib.resources.abc import Traversable
from pathlib import Path
from codemodder.code_directory import file_line_patternsReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels