Skip to content

Pixi warns that PyPI dependency doesn't exist before removing it #3144

Closed

Description

@apcamargo

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

$ pixi init foobar
$ cd foobar
$ pixi add python
$ pixi add --pypi polars
$ pixi remove polars
 WARN Dependency `polars` doesn't exist
✔ Removed polars

Issue description

When using pixi remove to remove a PyPI dependency, Pixi will print a warning stating that the dependency doesn't exist before removing it.

Expected behavior

If the PyPI dependency exists within the project, Pixi should remove it without a warn.

Activity

  1. added a commit that references this issue on May 26, 2026
    e7899e6
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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions