Skip to content

why get-poetry.py still prompting for PATH modification even after providing --no-modify-path? #3542

@mohan43u

Description

@mohan43u
  • I am on the latest Poetry version.

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

  • OS version and name: Linux

Issue

I downloaded get-poetry.py as per the Documentation (https://python-poetry.org/docs/#osx-linux-bashonwindows-install-instructions) and disabled modifying PATH using (--no-modify-path). But still get-poetry.py prompting to modify shell rc files or not, why? isn't explicitly setting modify_path (through --no-modify-path) not enough for get-poetry.py to understand the intention of the user?

This prompting becomes irritating when automating poetry installation, I have to do "echo 'n' | python3 get-poetry.py --no-modify-path" instead of simply saying "python3 get-poetry.py --no-modify-path".

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions