Skip to content

Detect TOML 1.1 and automatically enable the toml backwards compatibility preview feature#19227

Open
EliteTK wants to merge 3 commits intokonsti/toml-backwards-compatibilityfrom
tk/detect-toml-11
Open

Detect TOML 1.1 and automatically enable the toml backwards compatibility preview feature#19227
EliteTK wants to merge 3 commits intokonsti/toml-backwards-compatibilityfrom
tk/detect-toml-11

Conversation

@EliteTK
Copy link
Copy Markdown
Contributor

@EliteTK EliteTK commented Apr 30, 2026

Summary

Add a uv-toml crate which handles detecting TOML 1.1 features and auto-enable the TOML backwards compatibility feature based on this detection.

Test Plan

A number of tests are included, but more broadly, I've tested against a random TOML generator and against 3512 real pyproject.toml files I pulled from PyPI based on some stale top package data I pulled from https://hugovk.dev/top-pypi-packages/ .

@EliteTK EliteTK changed the title Tk/detect toml 11 Detect TOML 1.1 and automatically enable the toml backwards compatibility preview feature Apr 30, 2026
@EliteTK EliteTK force-pushed the tk/detect-toml-11 branch from 3615a79 to 503e6a0 Compare April 30, 2026 18:43
@EliteTK EliteTK requested a review from konstin April 30, 2026 18:44
@EliteTK EliteTK force-pushed the tk/detect-toml-11 branch from 503e6a0 to ec92899 Compare April 30, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant