Skip to content

Monoranger completely breaks poetry activate #97

@mathrick

Description

@mathrick

Monoranger plugin prints extra things to stdout when poetry activate is called, which breaks it when it's used as intended and passed to the shell directly:

WITHOUT the plugin:

$ poetry env activate
source /home/mkatafiasz/.cache/pypoetry/virtualenvs/ssg-integrations-gcn-xRFQ2lR6-py3.12/bin/activate

WITH the plugin:

$ poetry env activate
Using monorepo root venv ssg

source /home/mkatafiasz/.cache/pypoetry/virtualenvs/ssg-legacy-util-C5a_7QdD-py3.12/bin/activate

$ $(poetry env activate)
Using: command not found

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