Open apirogov opened 1 year ago
Can you try with version 0.9.0b2? That version replaces the old toml
library with tomli
/tomllib
so should support TOML 1.0.0
With 0.9.0b2
it loads just fine! :) Then I hope 0.9 is fully released soon!
@apirogov I've released 0.9.0
Description
TOML 1.0.0 supports mixed type arrays, but the
toml
library does not, leading to parsing errors.Steps to Reproduce
This is a valid poetry
pyproject.toml
working without issues:Now let's parse it:
Actual result:
Expected result:
No exception.
Reproduces how often:
Always
Version
Installation source
PyPI
Other Additional Information:
I think the simplest fix would be to switch from the
toml
to thetomli
library, which parses the file just fine.