You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TOMLFile.write does not update the toml file correctly (0.12.5) #351
My group hits this issue as well, we use tomlkit to muck with pyproject.toml before publishing, and it produced invalid pyproject.toml file, unless we reorder sections in the toml file. I'm just adding "+1" datapoint here.
Activity
stefanc18 commentedon May 15, 2024
@frostming
frostming commentedon May 15, 2024
probably related: #347
not using an out of order table should fix it.
but I am a bit burnt by the convoluted parsing logic and busy with other projects. can you try debugging yourself first?
irwand commentedon May 15, 2024
My group hits this issue as well, we use tomlkit to muck with pyproject.toml before publishing, and it produced invalid pyproject.toml file, unless we reorder sections in the toml file. I'm just adding "+1" datapoint here.
frostming commentedon May 23, 2024
It isn't easy to make both happy so I decide to revert #347 since it is less harmful and has a workaround /cc @robbotorigami