Skip to content

Conversation

@gaborbernat
Copy link
Member

@gaborbernat gaborbernat commented Jan 2, 2026

👍

@gaborbernat gaborbernat force-pushed the main branch 2 times, most recently from 0a9fdb6 to 4a31001 Compare January 2, 2026 22:29
@gaborbernat gaborbernat changed the title main feat: add conditional set_env support via PEP-496 markers Jan 2, 2026
@gaborbernat gaborbernat force-pushed the main branch 3 times, most recently from a97ec15 to e760ace Compare January 2, 2026 22:49
Add support for conditional environment variables using PEP-508 markers.
Markers are evaluated against the host Python (tox's Python).

INI format: VAR=value; marker
TOML format: set_env.VAR = { value = "...", marker = "..." }

For target Python-specific conditions, use tox's existing factor-based
conditional settings mechanism.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
@gaborbernat gaborbernat merged commit c569868 into tox-dev:main Jan 2, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant