Skip to content

Do we really want to specify the basepython? #58

@altendky

Description

@altendky

desert/tox.ini

Lines 12 to 18 in 8f03d9c

basepython =
pypy3: {env:TOXPYTHON:pypy3}
{doc,spell}: {env:TOXPYTHON:python3.8}
py36: {env:TOXPYTHON:python3.6}
py37: {env:TOXPYTHON:python3.7}
py38: {env:TOXPYTHON:python3.8}
{bootstrap,clean,check,report,codecov}: {env:TOXPYTHON:python3}

The report and codecov envs are called for each Travis job. In the pypy3 job I added it ends up failing while trying to use python3 to create an env. So I removed them and now it fails because basepython is nothing.

What I see this assume is the ability to override with TOXPYTHON. The cost is that you must explicitly set basepython for all cases. I think...

If we want to keep TOXPYTHON around then maybe we swap the report env for {py36,py37,py38,pypy3}-report? Then I think the py.* reference would trigger the existing lines to pick the basepython.

Opinions? Facts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    project toolingTools for managing the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions