diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 08ae8a7..4e8b026 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.12"] + python-version: ["3.11", "3.12"] steps: - uses: actions/checkout@v7 diff --git a/README.md b/README.md index 4feda27..117eddc 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,13 @@ ## Prerequisites - **Codex installed and logged in.** The bridge drives a real Codex session, so the `codex` CLI has to be on the machine and authenticated — install it ([developers.openai.com/codex](https://developers.openai.com/codex)), then either sign in with a ChatGPT/Codex login or set `OPENAI_API_KEY`. `inkbox-codex doctor` checks for it. -- **Python 3.10+.** The installer finds one and builds the bridge its own venv. +- **Python 3.11+.** The installer finds one and builds the bridge its own venv. - **macOS or Linux.** Boot persistence uses a systemd user unit on Linux and a launchd agent on macOS. - **An Inkbox agent** — nothing to set up in advance; the setup wizard self-signs up for you (or takes an existing API key). ## Get started — one command -This finds a Python 3.10+, installs the bridge in its own venv, puts `inkbox-codex` on your PATH, and runs the setup wizard: +This finds a Python 3.11+, installs the bridge in its own venv, puts `inkbox-codex` on your PATH, and runs the setup wizard: ```bash curl -fsSL https://raw.githubusercontent.com/inkbox-ai/codex-plugin/main/install.sh | bash @@ -70,7 +70,7 @@ you (phone) ── SMS / iMessage / email / call ──▶ Inkbox ──▶ ## Manual install -If you'd rather not run the installer (any Python 3.10+ environment): +If you'd rather not run the installer (any Python 3.11+ environment): ```bash pip install -e . diff --git a/install.sh b/install.sh index 142c4f6..3eaa14f 100755 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ # # ./install.sh # -# Finds a Python 3.10+, sets up an isolated venv, installs the bridge, puts +# Finds a Python 3.11+, sets up an isolated venv, installs the bridge, puts # `inkbox-codex` on your PATH, then runs the setup wizard. Re-runnable. # # Flags: @@ -54,22 +54,22 @@ ok() { echo " ${GREEN}✓${RESET} $*"; } warn() { echo " ${YELLOW}!${RESET} $*"; } die() { echo "${RED}✗ $*${RESET}" >&2; exit 1; } -# --- 1. find Python 3.10+ -------------------------------------------------- +# --- 1. find Python 3.11+ -------------------------------------------------- find_python() { local c v maj min - for c in python3.13 python3.12 python3.11 python3.10 python3 python; do + for c in python3.13 python3.12 python3.11 python3 python; do command -v "$c" >/dev/null 2>&1 || continue v="$("$c" -c 'import sys;print("%d.%d"%sys.version_info[:2])' 2>/dev/null || echo 0.0)" maj="${v%.*}"; min="${v#*.}" - if [ "$maj" = "3" ] && [ "$min" -ge 10 ] 2>/dev/null; then + if [ "$maj" = "3" ] && [ "$min" -ge 11 ] 2>/dev/null; then echo "$c"; return 0 fi done return 1 } -step "Looking for Python 3.10+" -PY="$(find_python)" || die "No Python 3.10+ found. Install python3.11+ and re-run." +step "Looking for Python 3.11+" +PY="$(find_python)" || die "No Python 3.11+ found. Install python3.11+ and re-run." ok "using $($PY --version 2>&1) at $(command -v "$PY")" # --- 2. get the source ----------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 41afc18..9155aed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "codex-plugin" version = "0.1.4" description = "Inkbox bridge for Codex — talk to your coding agent over email, SMS, iMessage, and voice" -requires-python = ">=3.10" +requires-python = ">=3.11" dependencies = [ "aiohttp>=3.9", "inkbox>=0.4.24,<1.0.0",