Skip to content

pip-sync 7.0.0 uninstalls pyproject-hooks #1917

@tomazfs

Description

@tomazfs

pip-sync uninstalls pyproject-hooks, which is requirement of build package and indirectly requirement of pip-tools. End result is broken pip-tools installation.

Environment Versions

Windows 10
Python version: Python 3.11.4
pip version: pip 23.2
pip-tools version: pip-compile, version 7.0.0

Steps to replicate

  1. Create and activate venv
  2. Install pip-tools
  3. Create empty requirements.txt
  4. Run: pip-sync

Expected result

Everything up-to-date

Actual result

Found existing installation: pyproject_hooks 1.0.0
Uninstalling pyproject_hooks-1.0.0:
Successfully uninstalled pyproject_hooks-1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions