pyperformance
pyperformance copied to clipboard
Add tomllib.loads benchmark
It seems like requires-python = ">=3.11" has no effect and seems broken.
We can merge this once the tests are passing. Do you know what the problem is?
See https://github.com/python/pyperformance/pull/200#issuecomment-1126665696
The issue is that requires-python metadata has no effect.
Ah, right. I'll take a look at that real quick and then merge it.
Maybe we should have this install toml from PyPI instead of only using the stdlib one? That would give us more Python version coverage.
(tomllib is based on pypi's tomli, not toml)
Maybe we should have this install toml from PyPI instead of only using the stdlib one? That would give us more Python version coverage.
Well, I wanted to specifically test the version in the stdlib as it would help in finding regression too. Also requires-python = ">=3.11" would need fixing even if this PR were to be changed to not use it.