airspeed-velocity / asv

Airspeed Velocity: A simple Python benchmarking tool with web-based reporting
https://asv.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
873 stars 179 forks source link

ENH: Switch away from `json` #1431

Open HaoZeke opened 2 months ago

HaoZeke commented 2 months ago

Related to #1430 and also recent discussions / changes adding support for jsonc by @lucascolley. I've been thinking this would all be a lot simpler to just switch to using TOML instead of json. Comments would have first class support, and it is pretty much standardized into Python now anyway. Plus it works better with the pydantic stuff I had in mind.

Will have a PR for this shortly, but thoughts welcome.

HaoZeke commented 2 months ago

Also worth noting we already have a hard dependency on tomli for environment.py anyway, so this is only going to help.