Skip to content

Need to install hatch-pip-compile in system python installation #93

@ssiccha

Description

@ssiccha

Hi @juftin. I have set up my project as recommended in the hatch-pip-compile docs:

Declare hatch-pip-compile as a dependency in your pyproject.toml file under the [tool.hatch.env] table and hatch will automatically install it. You must also have your environment type set to pip-compile (see Configuration).

However, I can't run hatch run hatch-pip-compile --update --all. I get

/bin/sh: hatch-pip-compile: command not found

I have tried pip install hatch-pip-compile into my mise-managed python installation. That resolves the error. However, when I then pip uninstall hatch-pip-compile, then every time I run hatch run hatch-pip-compile --update --all the plugin gets reinstalled into my mise-managed python installation.

Which of the behaviours is intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions