Skip to content

Updater does not detect pipx installs #45

Description

@markds75

Bug

The self-updater does not distinguish pipx installs from other package installs, so scheduled updates can plan the wrong command for users who installed CodeAlmanac through pipx.

Impact

A pipx-installed CodeAlmanac can run the daily scheduled updater and fail repeatedly because the updater does not select the pipx upgrade path. The failure exits non-zero into scheduler logs that users are unlikely to read, so the install silently stops updating.

Expected

Update planning should detect pipx installs and run:

pipx upgrade codealmanac

Actual

Update planning only has uv-tool, pip, editable, and unknown install methods. A pipx-style install is not modeled as pipx, so it cannot produce a pipx upgrade command.

Proposed fix

Add a pipx install method, detect pipx package metadata, and plan pipx upgrade codealmanac while keeping uv tool and plain pip behavior unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions