diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1faa69e7..c5136291 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: timeout-minutes: 15 strategy: matrix: - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] steps: - name: Set Up Python uses: actions/setup-python@v4 diff --git a/Dockerfile b/Dockerfile index 79289259..98b5e501 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11 +FROM python:3.12 WORKDIR /codemodder COPY . . diff --git a/pyproject.toml b/pyproject.toml index 4d21ce91..11dbd67c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta" [project] name = "codemodder-python" -version = "0.57.0" -requires-python = ">=3.9.0" +version = "0.60.0" +requires-python = ">=3.10.0" readme = "README.md" license = {file = "LICENSE"} dependencies = [ diff --git a/src/codemodder/registry.py b/src/codemodder/registry.py index 4a06997c..03731f93 100644 --- a/src/codemodder/registry.py +++ b/src/codemodder/registry.py @@ -103,7 +103,7 @@ def match_codemods( def load_registered_codemods() -> CodemodRegistry: registry = CodemodRegistry() logger.debug("loading registered codemod collections") - for entry_point in entry_points()["codemods"]: + for entry_point in entry_points().select(group="codemods"): logger.debug( '- loading codemod collection "%s" from "%s"', entry_point.name,