From a99e69c4ac1e4d7a16d29a5452ae7e920e060c6c Mon Sep 17 00:00:00 2001 From: Steeven Andrian Date: Wed, 29 Apr 2026 18:20:55 +0800 Subject: [PATCH 1/4] feat: ensure full Python compatibility >=3.7,<3.15 (Patch-ID: PYCOMPAT-001) --- .github/workflows/ci.yml | 2 +- README.md | 2 +- pyproject.toml | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd34b55e..5ca32c9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.12"] + python-version: ["3.7", "3.10", "3.12", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 31cbf60c..7bf5696e 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ Every relationship is tagged `EXTRACTED` (found directly in source), `INFERRED` ## Install -**Requires:** Python 3.10+ and one of: [Claude Code](https://claude.ai/code), [Codex](https://openai.com/codex), [OpenCode](https://opencode.ai), [Cursor](https://cursor.com), [Gemini CLI](https://github.com/google-gemini/gemini-cli), [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli), [VS Code Copilot Chat](https://code.visualstudio.com/docs/copilot/overview), [Aider](https://aider.chat), [OpenClaw](https://openclaw.ai), [Factory Droid](https://factory.ai), [Trae](https://trae.ai), [Kiro](https://kiro.dev), Hermes, or [Google Antigravity](https://antigravity.google) +**Requires:** Python 3.7+ (tested through Python 3.14) and one of: [Claude Code](https://claude.ai/code), [Codex](https://openai.com/codex), [OpenCode](https://opencode.ai), [Cursor](https://cursor.com), [Gemini CLI](https://github.com/google-gemini/gemini-cli), [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli), [VS Code Copilot Chat](https://code.visualstudio.com/docs/copilot/overview), [Aider](https://aider.chat), [OpenClaw](https://openclaw.ai), [Factory Droid](https://factory.ai), [Trae](https://trae.ai), [Kiro](https://kiro.dev), Hermes, or [Google Antigravity](https://antigravity.google) ```bash # Recommended — works on Mac and Linux with no PATH setup needed diff --git a/pyproject.toml b/pyproject.toml index c98027d0..eec4b7ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=68"] +requires = ["setuptools>=61"] build-backend = "setuptools.build_meta" [project] @@ -9,9 +9,10 @@ description = "AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, readme = "README.md" license = { file = "LICENSE" } keywords = ["claude", "claude-code", "codex", "opencode", "cursor", "gemini", "aider", "kiro", "knowledge-graph", "rag", "graphrag", "obsidian", "community-detection", "tree-sitter", "leiden", "llm"] -requires-python = ">=3.10,<3.14" +requires-python = ">=3.7,<3.15" dependencies = [ - "networkx", + "networkx<3.0; python_version < '3.8'", + "networkx>=3.0; python_version >= '3.8'", "tree-sitter>=0.23.0", "tree-sitter-python", "tree-sitter-javascript", From abc2e4b62ab7be68d9dbc32fd3ff02af2de0759d Mon Sep 17 00:00:00 2001 From: Steeven Andrian Date: Wed, 29 Apr 2026 18:22:50 +0800 Subject: [PATCH 2/4] ci: enable CI on v5 branch for Python 3.7-3.14 matrix (Patch-ID: PYCOMPAT-002) --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ca32c9f..1aca564a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: ["v1", "v2", "v3", "v4", "main"] + branches: ["v1", "v2", "v3", "v4", "v5", "main"] pull_request: - branches: ["v1", "v2", "v3", "v4", "main"] + branches: ["v1", "v2", "v3", "v4", "v5", "main"] jobs: test: From 60cc9918208a9981252b059010c6a9ae61e96091 Mon Sep 17 00:00:00 2001 From: Steeven Andrian Date: Wed, 29 Apr 2026 18:24:45 +0800 Subject: [PATCH 3/4] ci: run Python 3.7 matrix on ubuntu-22.04 (Patch-ID: PYCOMPAT-003) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aca564a..64c0228c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.7", "3.10", "3.12", "3.14"] From 1757c5e31442b37eb92b2478f8931b0a5670e899 Mon Sep 17 00:00:00 2001 From: Steeven Andrian Date: Wed, 29 Apr 2026 18:27:07 +0800 Subject: [PATCH 4/4] ci: disable fail-fast to capture full version evidence (Patch-ID: PYCOMPAT-004) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64c0228c..af71f462 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ jobs: test: runs-on: ubuntu-22.04 strategy: + fail-fast: false matrix: python-version: ["3.7", "3.10", "3.12", "3.14"]