Skip to content

Why is prompt changing being removed?  #268

Closed

Description

@tadeoos

Hey,

according to current output:

pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior.

Can I ask how you came to this decision? I really like this feature

Activity

  1. PaulRBerg commented on Aug 6, 2018

    @PaulRBerg

    You might want to take a look here: #135

  2. pllim commented on Jul 2, 2020

    @pllim

    Had the same question. Went with #135 (comment) as my workaround.

  3. native-api commented on Nov 25, 2021

    @native-api
    Member

    @yyuu , since it was you who added the warning, could you comment?

    My guess is that it's because Virtualenv themselves were going to do that.
    ...and IIRC already did it, so maybe we can proceed with the removal?

    Would be nice to learn their rationale, too, of course...

  4. native-api commented on Jan 31, 2023

    @native-api
    Member

    Looking at https://github.com/pypa/virtualenv/blob/main/src/virtualenv/activation/bash/activate.sh , there's no deprecation, not to mention, removal of the prompt changing in sight.

    Lacking any response from @yyuu, my guess is:

    Pyenv-virtualenv makes virtualenvs behave like regular installations. The prompt changing removal was intended to erase the difference even further.

  5. native-api commented on Jan 31, 2023

    @native-api
    Member

    Pyenv-virtualenv makes virtualenvs behave like regular installations. The prompt changing removal was intended to erase the difference even further.

    In which case, we can as well go the other way and add printing of the active installation(s) to the prompt in the base Pyenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions