Skip to content
This repository was archived by the owner on Dec 29, 2024. It is now read-only.
This repository was archived by the owner on Dec 29, 2024. It is now read-only.

Safe install/uninstall #1

Open
Open

Description

@Flacy

Safe installation and uninstallation imply that during install and uninstall, an additional function is performed that looks for package dependencies. This function controls that when a package is removed, dependencies in other packages remain intact, and unused dependencies are deleted along with the package.
It will be easier to explain with an example: Imagine that you have an aiohttp package and a pydantic package. They both have a typing-extensions dependency. If you delete one of them, all other dependencies except typing-extensions will be removed.

Activity

  1. converted this from a draft issue on Mar 15, 2023
  2. Flacy commented on Oct 24, 2023

    @Flacy
    MemberAuthor

    Also, for optimization: need to create an additional structure that will store all installed packages and their conditions in order to avoid duplicate search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions