{"action":"created","issue":{"url":"https://api.github.com/repos/PyAr/fades/issues/228","repository_url":"https://api.github.com/repos/PyAr/fades","labels_url":"https://api.github.com/repos/PyAr/fades/issues/228/labels{/name}","comments_url":"https://api.github.com/repos/PyAr/fades/issues/228/comments","events_url":"https://api.github.com/repos/PyAr/fades/issues/228/events","html_url":"https://github.com/PyAr/fades/issues/228","id":167637586,"number":228,"title":"Upgraded venv doesn't remain as default","user":{"login":"facundobatista","id":184060,"avatar_url":"https://avatars1.githubusercontent.com/u/184060?v=3","gravatar_id":"","url":"https://api.github.com/users/facundobatista","html_url":"https://github.com/facundobatista","followers_url":"https://api.github.com/users/facundobatista/followers","following_url":"https://api.github.com/users/facundobatista/following{/other_user}","gists_url":"https://api.github.com/users/facundobatista/gists{/gist_id}","starred_url":"https://api.github.com/users/facundobatista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facundobatista/subscriptions","organizations_url":"https://api.github.com/users/facundobatista/orgs","repos_url":"https://api.github.com/users/facundobatista/repos","events_url":"https://api.github.com/users/facundobatista/events{/privacy}","received_events_url":"https://api.github.com/users/facundobatista/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-26T15:30:51Z","updated_at":"2017-04-18T01:41:51Z","closed_at":null,"body":"See in the following sequence as:\n1. Start fades with a dependency, finds a venv, uses it (ok!)\n2. Start fades to check updates, there is one, it creates another venv with this (ok!)\n3. Start fades with just the dependency, it uses the OLD venv, not the one with the updated dependency (fix!)\n\n```\n$ fades -d youtube_dl -v\n...\n2016-07-26 12:23:11,708  fades.cache        DEBUG    Found a matching venv! {'timestamp': 1467842294, 'metadata': {'env_path': '/home/facundo/.local/share/fades/7fa06ad0-5c39-4207-aaaf-3f4ab53f1125', 'pip_installed': False, 'env_bin_path': '/home/facundo/.local/share/fades/7fa06ad0-5c39-4207-aaaf-3f4ab53f1125/bin'}, 'installed': {'pypi': {'youtube-dl': '2016.7.7'}}, 'interpreter': '/usr/bin/python3.5', 'options': {'pyvenv_options': [], 'virtualenv_options': []}}\n... (ends ok)\n\n\n$ fades -d youtube_dl -v --check-updates\n...\n2016-07-26 12:24:15,887  fades.helpers      INFO     There is a new version of youtube-dl: 2016.7.24 and will use it.\n...\n2016-07-26 12:24:15,888  fades.cache        DEBUG    Searching a venv for reqs: {'pypi': [Requirement.parse('youtube-dl==2016.7.24')]} and interpreter: /usr/bin/python3.5\n2016-07-26 12:24:15,894  fades.cache        DEBUG    No matching venv found :(\n2016-07-26 12:24:15,894  fades.envbuilder   DEBUG    Env will be created at: /home/facundo/.local/share/fades/ba4c3647-6a88-4360-9071-b6413e40807d\n...\n2016-07-26 12:24:26,815  fades.pipmanager   DEBUG    Installed version of youtube-dl is: 2016.7.24\n... (ends ok)\n\n\n$ fades -d youtube_dl -v\n...\n2016-07-26 12:24:33,888  fades.cache        DEBUG    Found a matching venv! {'installed': {'pypi': {'youtube-dl': '2016.7.7'}}, 'interpreter': '/usr/bin/python3.5', 'timestamp': 1467842294, 'options': {'virtualenv_options': [], 'pyvenv_options': []}, 'metadata': {'env_path': '/home/facundo/.local/share/fades/7fa06ad0-5c39-4207-aaaf-3f4ab53f1125', 'env_bin_path': '/home/facundo/.local/share/fades/7fa06ad0-5c39-4207-aaaf-3f4ab53f1125/bin', 'pip_installed': False}}\n... (ends ok)\n```\n"},"comment":{"url":"https://api.github.com/repos/PyAr/fades/issues/comments/294647815","html_url":"https://github.com/PyAr/fades/issues/228#issuecomment-294647815","issue_url":"https://api.github.com/repos/PyAr/fades/issues/228","id":294647815,"user":{"login":"humitos","id":244656,"avatar_url":"https://avatars2.githubusercontent.com/u/244656?v=3","gravatar_id":"","url":"https://api.github.com/users/humitos","html_url":"https://github.com/humitos","followers_url":"https://api.github.com/users/humitos/followers","following_url":"https://api.github.com/users/humitos/following{/other_user}","gists_url":"https://api.github.com/users/humitos/gists{/gist_id}","starred_url":"https://api.github.com/users/humitos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humitos/subscriptions","organizations_url":"https://api.github.com/users/humitos/orgs","repos_url":"https://api.github.com/users/humitos/repos","events_url":"https://api.github.com/users/humitos/events{/privacy}","received_events_url":"https://api.github.com/users/humitos/received_events","type":"User","site_admin":false},"created_at":"2017-04-18T01:41:50Z","updated_at":"2017-04-18T01:41:50Z","body":"I wanted to report the same since I just got bitten :)\r\n\r\n```\r\n[20:39] humitos: ondemand> fades -d docker-compose -x docker-compose --version\r\ndocker-compose version 1.10.0, build 4bd6f1a\r\n[20:39] humitos: ondemand> fades --check-updates -d docker-compose -x docker-compose --version\r\n*** fades ***  2017-04-17 20:39:55,840  INFO     There is a new version of docker-compose: 1.12.0 and will use it.\r\ndocker-compose version 1.12.0, build b31ff33\r\n[20:39] humitos: ondemand> fades -d docker-compose -x docker-compose --version\r\ndocker-compose version 1.10.0, build 4bd6f1a\r\n[20:40] humitos: ondemand> \r\n```\r\n\r\nThank you!"}}
{"actor":{"display_login":"humitos"}}