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
[[tool.poetry.source]] at last line of pyproject.toml causes all poetry commands to hang indefinitely #5592
I ran into an issue where if and only if the [[tool.poetry.source]] array of tables was the last element in my pyproject.toml file, any poetry command would hang indefinitely. Anything from poetry config --list to poetry update|install|shell -vvv, like so:
Once I moved it up a position in the file (or anywhere above the last position) everything began working as expected. I wasn't sure if it had to do with a poor file encoding or phantom character that was throwing the whole thing off, so I deleted and re-wrote the pyproject from scratch several times. All with the same result or a hanging command.
Activity
abn commentedon May 11, 2022
The root cause here is a buggy tomlkit version being used in core. This should have been fixed via python-poetry/poetry-core#336.
You can test this using both poetry and poetry-core at master.
github-actions commentedon Mar 2, 2024
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.