Skip to content

Provide a host-based method of finding interpreters. #217

Closed

Description

@pytoxbot

When running tox builds, I want to have tox find interpreters in a host-specific way; on some hosts, I have python 2.5 through 3.4 on the PATH, on other hosts those interpreters may or may not exist on my PATH, but might be found in pyenv directories, custom prefixes, or elsewhere.

A standard on unix-ish hosts is ~/.config/.conf, for example, and maybe tox could use that:

[interpreters]
py25 = /home/me/local/bin/python2.5
...

Activity

  1. obestwalter commented on Dec 4, 2016

    @obestwalter
    Collaborator

    @offbyone sorry for necromaning this ancient issue, but I am also thinking about this at the moment and am wading through the issues to see what else has been thought off. What I found until now was plugin based interpreter discovery like in tox-pyenv, tox-globinterpreter and some special casing in the tox core.

    I would be tempted to have a go at bringing as much automagical discovery of interpreters into the core to improve the out of the box experience when using tox. Would be interested to hear you opinion on that.

  2. RonnyPfannschmidt commented on Dec 4, 2016

    @RonnyPfannschmidt

    @obestwalter i beleive its best to experiment for this with a plugin

  3. offbyone commented on Dec 4, 2016

    @offbyone
  4. obestwalter commented on Dec 4, 2016

    @obestwalter
    Collaborator

    o.k. some kind of tox-discovery plugin thing might be coming up then after I waded through all the issues ...

  5. obestwalter commented on Mar 10, 2017

    @obestwalter
    Collaborator

    I close this in favour of #421 - this issue is also tracked there, so this use case will not be forgotten.

  6. obestwalter commented on Mar 10, 2017

    @obestwalter
    Collaborator

    On second thought I think this should stay open until this issue is resolved which ever way ... sorry for the noise.

  7. obestwalter commented on Sep 4, 2017

    @obestwalter
    Collaborator

    Closing as this is tracked already in the meta issue.

  8. locked and limited conversation to collaborators on Jan 14, 2021
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