{"action":"created","issue":{"url":"https://api.github.com/repos/tox-dev/tox/issues/1072","repository_url":"https://api.github.com/repos/tox-dev/tox","labels_url":"https://api.github.com/repos/tox-dev/tox/issues/1072/labels{/name}","comments_url":"https://api.github.com/repos/tox-dev/tox/issues/1072/comments","events_url":"https://api.github.com/repos/tox-dev/tox/issues/1072/events","html_url":"https://github.com/tox-dev/tox/issues/1072","id":374005473,"node_id":"MDU6SXNzdWUzNzQwMDU0NzM=","number":1072,"title":"impro basepython version selection option and document it","user":{"login":"ssbarnea","id":102495,"node_id":"MDQ6VXNlcjEwMjQ5NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/102495?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbarnea","html_url":"https://github.com/ssbarnea","followers_url":"https://api.github.com/users/ssbarnea/followers","following_url":"https://api.github.com/users/ssbarnea/following{/other_user}","gists_url":"https://api.github.com/users/ssbarnea/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbarnea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbarnea/subscriptions","organizations_url":"https://api.github.com/users/ssbarnea/orgs","repos_url":"https://api.github.com/users/ssbarnea/repos","events_url":"https://api.github.com/users/ssbarnea/events{/privacy}","received_events_url":"https://api.github.com/users/ssbarnea/received_events","type":"User","site_admin":false},"labels":[{"id":648036173,"node_id":"MDU6TGFiZWw2NDgwMzYxNzM=","url":"https://api.github.com/repos/tox-dev/tox/labels/area:interpreter-discovery","name":"area:interpreter-discovery","color":"586e75","default":false},{"id":648032820,"node_id":"MDU6TGFiZWw2NDgwMzI4MjA=","url":"https://api.github.com/repos/tox-dev/tox/labels/feature:new","name":"feature:new","color":"268bd2","default":false},{"id":683203957,"node_id":"MDU6TGFiZWw2ODMyMDM5NTc=","url":"https://api.github.com/repos/tox-dev/tox/labels/level:hard","name":"level:hard","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-10-25T15:28:00Z","updated_at":"2019-01-01T18:59:09Z","closed_at":"2018-10-30T06:59:02Z","author_association":"NONE","body":"At this moment `basepython` is documented as a solution for pointing to a specific python version on a certain environment.\r\n\r\nHistorically this was succesfully used to force use of `python2` or `python3` for certain environments which were known to produce unpredictable results on one of them.\r\n\r\nStill, there is one issue which I was not able to fix not to find any documentation on how to do approach it.\r\n\r\nYou have one project that you want to test with `py27`, `py35`, and `py36` and run the linting and documentation using `python3`. This would work on many systems unless you happen to be on once where python3 executable points to python3.4 which happens to be version provided by your distribution (like CentOS 7, quite a common development environment).\r\n\r\nYou would want to run with a py3 blend that your support but you don't really know if this is going to be py35 or py36 as some platforms have py35 installed, others may have only py36, and some may have both.\r\n\r\nSo how do I configure tox.ini in order to be able to build all environments without using non blessed interpreters?\r\n\r\n```\r\n[tox]\r\nenvlist = py27,py35,py36,docs\r\nskip-missing-interpreters=True\r\n\r\n[testenv]\r\ncommands = echo\r\n\r\n[testenv:docs]\r\nbasepython = ????\r\n# we already know that putting `python3` would use py34 on some machines\r\n# also we know that using `python3.5` or `python3.6` here would also fail on some machine\r\n# how to make it use py35 or py36 here?\r\ncommands = python --version\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tox-dev/tox/issues/comments/450750092","html_url":"https://github.com/tox-dev/tox/issues/1072#issuecomment-450750092","issue_url":"https://api.github.com/repos/tox-dev/tox/issues/1072","id":450750092,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc1MDA5Mg==","user":{"login":"ssbarnea","id":102495,"node_id":"MDQ6VXNlcjEwMjQ5NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/102495?v=4","gravatar_id":"","url":"https://api.github.com/users/ssbarnea","html_url":"https://github.com/ssbarnea","followers_url":"https://api.github.com/users/ssbarnea/followers","following_url":"https://api.github.com/users/ssbarnea/following{/other_user}","gists_url":"https://api.github.com/users/ssbarnea/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbarnea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbarnea/subscriptions","organizations_url":"https://api.github.com/users/ssbarnea/orgs","repos_url":"https://api.github.com/users/ssbarnea/repos","events_url":"https://api.github.com/users/ssbarnea/events{/privacy}","received_events_url":"https://api.github.com/users/ssbarnea/received_events","type":"User","site_admin":false},"created_at":"2019-01-01T18:59:09Z","updated_at":"2019-01-01T18:59:09Z","author_association":"NONE","body":"@gaborbernat I see no reasons for you to worry, I know very well how valuable is voluntary work, I do maintain few packages myself and is not easy work.\r\n\r\nMy question was purely practical, I wanted to know if a contribution would be desired on this. I assumed some someone has to do it and that it has to pass the reviews. I just wanted to avoid a case where me or someone would spend a good number of hours making a PR that ends up in limbo because the maintainer(s) no longer wanted the feature included (regardless the implementation), happened few times (not here). As implementing this feature is not a coffe-break task, I will first wait to see if others are asking for it before attempting to implement it.\r\n\r\nBTW, Happy new year!!! and thanks for the efforth, is really appreciated."}}
{"actor":{"display_login":"ssbarnea"}}