Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove py3.9, use py3.12 #77

Merged
merged 4 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11
FROM python:3.12
WORKDIR /codemodder
COPY . .

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion src/codemodder/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

logger.debug(
'- loading codemod collection "%s" from "%s"',
entry_point.name,
Expand Down