Skip to content

✨ feat(py_info): type marker keys - #179

Merged
gaborbernat merged 1 commit into
tox-dev:mainfrom
gaborbernat:feature/typed-marker-environment
Oct 30, 2026
Merged

gaborbernat merged 1 commit into
tox-dev:mainfrom
gaborbernat:feature/typed-marker-environment

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

PythonInfo.marker_environment returns eleven named marker values, but its dict[str, str] annotation does not identify the keys. The exported MarkerEnvironment type lets callers check those names and their string values.

The interpreter record owns the type. The interrogation script still returns the same dictionary, and cache serialization keeps the same data.

@gaborbernat gaborbernat added the enhancement New feature or request label Oct 30, 2026
@gaborbernat
gaborbernat merged commit fa77baf into tox-dev:main Oct 30, 2026
20 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant