From 66336fe1605aa4242c6902c7da7caf674fee7eb5 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Aug 2026 01:01:53 +0000 Subject: [PATCH] chore: align installer leftovers with the dependency cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit first_time_install.sh's fallback secrets heredoc (used only when the template is missing) still wrote the legacy youtube block — now matches the template (github only). install_dependencies_apt.py drops the IMPORT_NAME_MAP entries for packages no longer in its install lists and a stale google-api reference in a docstring. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01SXb4mKcAkVaxkeTb3YnAdr --- first_time_install.sh | 4 ---- scripts/install_dependencies_apt.py | 9 +++------ 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/first_time_install.sh b/first_time_install.sh index d8ef6338..de634ab0 100644 --- a/first_time_install.sh +++ b/first_time_install.sh @@ -821,10 +821,6 @@ if [ ! -f "$PROJECT_ROOT_DIR/config/config_secrets.json" ]; then echo "⚠ Template config/config_secrets.template.json not found; creating a minimal secrets file" cat > "$PROJECT_ROOT_DIR/config/config_secrets.json" <<'EOF' { - "youtube": { - "api_key": "YOUR_YOUTUBE_API_KEY", - "channel_id": "YOUR_YOUTUBE_CHANNEL_ID" - }, "github": { "api_token": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN" } diff --git a/scripts/install_dependencies_apt.py b/scripts/install_dependencies_apt.py index c877ab67..a913b6ee 100644 --- a/scripts/install_dependencies_apt.py +++ b/scripts/install_dependencies_apt.py @@ -76,8 +76,8 @@ def install_via_pip(package_name: str) -> Tuple[bool, str]: pip RECORD file, so an uninstall attempt fails with "uninstall-no-record-file" and aborts the whole install. With --ignore-installed, pip lays the new version down in /usr/local where it shadows the apt copy instead of removing - it. This matters when a pip dependency (google-api-python-client pulls a - newer requests) needs to upgrade an apt-managed package. + it. This matters when a pip dependency needs to upgrade an apt-managed + package (e.g. a package that pulls a newer requests). Returns (success, output). """ @@ -95,10 +95,7 @@ def install_via_pip(package_name: str) -> Tuple[bool, str]: # Distribution (pip/apt) names whose importable module name differs. -IMPORT_NAME_MAP = { - 'python-dateutil': 'dateutil', - 'websocket-client': 'websocket', -} +IMPORT_NAME_MAP = {} def check_package_installed(package_name: str) -> bool: