Skip to content

Cannot upgrade pip on Fedora 38 #1241

Open
@akrause2014

Description

@akrause2014

In Fedora, Python packages are packaged in RPMs without RECORD, with rpm in INSTALLER. If a new package is installed via pip and requires a different version from the RPM installed package, pip tries to uninstall the package but this fails.

This is described here: pypa/pip#11631

In Fedora, we currently patch pip to always skip the uninstallation on upgrades when the to-be-unisntalled packages are installed in the /usr prefix. This solves the problem but is utterly Fedora-specific and cannot be upstreamed. The problem is when users use pip to upgrade pip, they lose this patch.

This means that we cannot run pip upgrade because we lose the patch and the packages that are required for the Gaia DMP Zeppelin deployment fail to install.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions