Title: mktmpenv --help makes current venv temporary · Issue #66 · python-virtualenvwrapper/virtualenvwrapper · GitHub
Open Graph Title: mktmpenv --help makes current venv temporary · Issue #66 · python-virtualenvwrapper/virtualenvwrapper
X Title: mktmpenv --help makes current venv temporary · Issue #66 · python-virtualenvwrapper/virtualenvwrapper
Description: 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: mkvirtualenv test_gh - deactivates and activates normally mktmp...
Open Graph Description: 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: mkvirtualenv test_gh - ...
X Description: 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: mkvirtualenv test_gh - ...
Opengraph URL: https://github.com/python-virtualenvwrapper/virtualenvwrapper/issues/66
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"mktmpenv --help makes current venv temporary","articleBody":"Story:\r\nI 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...\r\n\r\nStep to reproduce:\r\n1. `mkvirtualenv test_gh` - deactivates and activates normally\r\n2. `mktmpenv --help` - this cds into it and makes the `README.tmpenv` file\r\n3. `deactivate` - removes the venv (I did `mktmpenv` properly and it automatically deactivated the previous one without me noticing)\r\n\r\nRelated: `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)\r\n\r\nmktmpenv 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.","author":{"url":"https://github.com/hazelnutfox","@type":"Person","name":"hazelnutfox"},"datePublished":"2023-05-23T11:22:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/66/virtualenvwrapper/issues/66"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:abba1c45-e233-c372-2857-0ca480a389ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C5A4:2265AE:F32D49:14FC84C:696A93EF |
| html-safe-nonce | 7fc9c75c662eb3e819e222e953b9b895f8fe8289ae45c87ba35501dedf70cca0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUE0OjIyNjVBRTpGMzJENDk6MTRGQzg0Qzo2OTZBOTNFRiIsInZpc2l0b3JfaWQiOiI3MDg5MDAwNjQ2NjA1MTgxOTM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c4b44440e165674649c934074be63be73a1324be04421e68a2387abe6d0c9422 |
| hovercard-subject-tag | issue:1721853338 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-virtualenvwrapper/virtualenvwrapper/66/issue_layout |
| twitter:image | https://opengraph.githubassets.com/996b426ccc347cc9680c82d16c3471b7402312cf5e815202283c93c4bf06a53d/python-virtualenvwrapper/virtualenvwrapper/issues/66 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/996b426ccc347cc9680c82d16c3471b7402312cf5e815202283c93c4bf06a53d/python-virtualenvwrapper/virtualenvwrapper/issues/66 |
| og:image:alt | 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: mkvirtualenv test_gh - ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hazelnutfox |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-virtualenvwrapper/virtualenvwrapper git https://github.com/python-virtualenvwrapper/virtualenvwrapper.git |
| octolytics-dimension-user_id | 122572748 |
| octolytics-dimension-user_login | python-virtualenvwrapper |
| octolytics-dimension-repository_id | 589228542 |
| octolytics-dimension-repository_nwo | python-virtualenvwrapper/virtualenvwrapper |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 589228542 |
| octolytics-dimension-repository_network_root_nwo | python-virtualenvwrapper/virtualenvwrapper |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 31496a13b80a2f6ad77d6c617ee2255a3545b539 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width