FS#76657 - [python-poetry] incompatible with latest python-cleo
Attached to Project:
Community Packages
Opened by Éloi Rivard (azmeuk) - Thursday, 24 November 2022, 14:24 GMT
Last edited by Toolybird (Toolybird) - Thursday, 24 November 2022, 20:27 GMT
Opened by Éloi Rivard (azmeuk) - Thursday, 24 November 2022, 14:24 GMT
Last edited by Toolybird (Toolybird) - Thursday, 24 November 2022, 20:27 GMT
|
Details
The recent python-cleo update broke poetry:
python-poetry < 1.3 needs python-cleo < 2.0 The support for cleo 2 has been merged in poetry but not yet released. https://github.com/python-poetry/poetry/pull/7070 ``` Traceback (most recent call last): File "/usr/bin/poetry", line 5, in <module> from poetry.console.application import main File "/usr/lib/python3.10/site-packages/poetry/console/application.py", line 15, in <module> from cleo.exceptions import CleoException ImportError: cannot import name 'CleoException' from 'cleo.exceptions' (/usr/lib/python3.10/site-packages/cleo/exceptions/__init__.py) Traceback (most recent call last): File "/usr/bin/poetry", line 5, in <module> from poetry.console.application import main File "/usr/lib/python3.10/site-packages/poetry/console/application.py", line 15, in <module> from cleo.exceptions import CleoException ImportError: cannot import name 'CleoException' from 'cleo.exceptions' (/usr/lib/python3.10/site-packages/cleo/exceptions/__init__.py) ``` |
This task depends upon
Closed by Toolybird (Toolybird)
Thursday, 24 November 2022, 20:27 GMT
Reason for closing: Fixed
Additional comments about closing: python-poetry 1.2.2-2
Thursday, 24 November 2022, 20:27 GMT
Reason for closing: Fixed
Additional comments about closing: python-poetry 1.2.2-2
Comment by Éloi Rivard (azmeuk) -
Thursday, 24 November 2022, 14:24 GMT
Sorry for the title, I miss clicked the validation button.