| Summary: | poetry падает с необработанным исключением при попытке использования | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Alexandr Shashkin <dutyrok> |
| Component: | python3-module-poetry | Assignee: | Yuri N. Sedunov <aris> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P5 | CC: | aris |
| Version: | unstable | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Bug Depends on: | 52703 | ||
| Bug Blocks: | |||
Проверьте 2.0.1 https://git.altlinux.org/tasks/370836/ Скачал rpm из таска https://git.altlinux.org/tasks/370836/. Проверил. У меня работает. Спасибо! |
Версии пакетов -------------- python3-module-poetry 1.8.5-alt1 python3-module-poetry-core 2.0.1-alt1 Шаги воспроизведения -------------------- 1) Установить poetry: apt-get install -y python3-module-poetry 2) Вызвать справку: $ poetry --help Фактический результат --------------------- Traceback (most recent call last): File "/usr/lib/python3/site-packages/cleo/application.py", line 316, in run exit_code = self._run(io) ^^^^^^^^^^^^^ File "/usr/lib/python3/site-packages/poetry/console/application.py", line 188, in _run self._load_plugins(io) File "/usr/lib/python3/site-packages/poetry/console/application.py", line 354, in _load_plugins manager.load_plugins() File "/usr/lib/python3/site-packages/poetry/plugins/plugin_manager.py", line 38, in load_plugins self._load_plugin_entry_point(ep) File "/usr/lib/python3/site-packages/poetry/plugins/plugin_manager.py", line 76, in _load_plugin_entry_point plugin = ep.load() # type: ignore[no-untyped-call] ............. from poetry.core.exceptions import PoetryCoreException ImportError: cannot import name 'PoetryCoreException' from 'poetry.core.exceptions' (/usr/lib/python3/site-packages/poetry/core/exceptions/__init__.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): ............. self.set_solution_provider_repository(self._get_solution_provider_repository()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Application' object has no attribute 'set_solution_provider_repository'. Did you mean: '_get_solution_provider_repository'? Ожидаемый результат ------------------- Выводится сообщение справка.