Skip to content

v2.7.1 - Dynamic Python Detection Fix

Choose a tag to compare

@OthmanAdi OthmanAdi released this 22 Jan 13:37
· 218 commits to master since this release

What's Fixed

Dynamic Python Command Detection (Issue #41)

The hardcoded python3 command has been replaced with dynamic detection that works on all platforms.

Before (broken on Windows/Anaconda)

python3 script.py

After (works everywhere)

# Linux/macOS (auto-detects python3 or python)
$(command -v python3 || command -v python) script.py
# Windows PowerShell
python script.py

Files Updated

  • skills/planning-with-files/SKILL.md
  • .codex/skills/planning-with-files/SKILL.md
  • .cursor/skills/planning-with-files/SKILL.md
  • .kilocode/skills/planning-with-files/SKILL.md
  • .opencode/skills/planning-with-files/SKILL.md

Platform Compatibility

Environment python python3 Status
Linux/macOS (modern) Python 3 Python 3 ✅ Works
Linux/macOS (legacy) Python 2 Python 3 ✅ Works
Windows + Anaconda Python 3 May not exist ✅ Works
Windows (default) Python 3 May not exist ✅ Works

Thanks

  • @wqh17101 for reporting and suggesting the fix (Issue #41)

Full Changelog: v2.7.0...v2.7.1