Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mktmpenv --help makes current venv temporary #66

Copy link
Copy link

Description

@hazelnutfox
Issue body actions

Story:
I had a venv activated and decided to do mktmpenv to test some dependencies. Now that I want to switch back, I noticed the original is not there...

Step to reproduce:

  1. mkvirtualenv test_gh - deactivates and activates normally
  2. mktmpenv --help - this cds into it and makes the README.tmpenv file
  3. deactivate - removes the venv (I did mktmpenv properly and it automatically deactivated the previous one without me noticing)

Related: mktmpenv shows mkvirtualenv's help + "This is a temporary environment. It will be deleted when you run 'deactivate'.". (I didn't notice it at first/thought it's just what command appends and didn't think it's about my current env)

mktmpenv sees mkvirtualenv --help as successful call (because it is!) and continues with making currently active venv as temporary... Solution would be to find --help/-h early and just call mkvirtualenv --help and not continue.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.