Skip to content

Why is the EditableBuilder running pip without --no-deps ? #2126

@dmerejkowsky

Description

@dmerejkowsky

We've got a problem involving this repo at work and we are still trying to figure out exactly what the problem is - when we do, we'll update this issue :)

But during our investigation, we came across these lines in poet's EditableBuilder sources:

class EditableBuilder(Builder):
    def build(self):
        return self._setup_build()

    def _setup_build(self):
        builder = SdistBuilder(self._poetry, self._env, self._io)
        setup = self._path / "setup.py"
        ...
        try:
           ...
           self._env.run_pip("install", "-e", str(self._path))
        finaly:
          ...

My question is: why is pip run without the --no-deps flags? Is this an oversight, or is something else going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/questionUser questions (candidates for conversion to discussion)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions