Skip to content

Python version: factor mapping causes side-effect on Tox v4 #178

@bittner

Description

@bittner

Describe the bug
tox-gh-actions uses a colon : in the version = factor mapping, which causes Tox to interpret the left part (version) as "additional environments". See tox-dev/tox#3014 for details.

To Reproduce

  1. Configure a [gh-actions] section with default mappings in tox.ini
  2. Run tox list locally
  3. Inspect the output (versions are listed as "additional environments")

Expected behavior
The tox-gh-actions configuration should not confuse Tox. It should not be possible that keys of the python mapping are interpreted as environments. This may be achieved by replacing : by =.

Additional context
A Tox maintainer suggests to use tox-gh instead of tox-gh-actions in tox-dev/tox#3014. Unfortunately, that plugin only supports Python > 3.6 -- and I have projects that try to support older versions of Python.

I'd be interested in tox-gh-actions fixing the issue and keep supporting older Pythons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions