<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>52789</bug_id>
          
          <creation_ts>2025-01-22 13:56:34 +0300</creation_ts>
          <short_desc>poetry падает с необработанным исключением при попытке использования</short_desc>
          <delta_ts>2025-01-22 16:40:21 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-poetry</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>52703</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandr Shashkin">dutyrok</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aris</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>257861</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2025-01-22 13:56:34 +0300</bug_when>
    <thetext>Версии пакетов
--------------
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 &quot;/usr/lib/python3/site-packages/cleo/application.py&quot;, line 316, in run
    exit_code = self._run(io)
                ^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/site-packages/poetry/console/application.py&quot;, line 188, in _run
    self._load_plugins(io)
  File &quot;/usr/lib/python3/site-packages/poetry/console/application.py&quot;, line 354, in _load_plugins
    manager.load_plugins()
  File &quot;/usr/lib/python3/site-packages/poetry/plugins/plugin_manager.py&quot;, line 38, in load_plugins
    self._load_plugin_entry_point(ep)
  File &quot;/usr/lib/python3/site-packages/poetry/plugins/plugin_manager.py&quot;, 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 &apos;PoetryCoreException&apos; from &apos;poetry.core.exceptions&apos; (/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: &apos;Application&apos; object has no attribute &apos;set_solution_provider_repository&apos;. Did you mean: &apos;_get_solution_provider_repository&apos;?

Ожидаемый результат
-------------------
Выводится сообщение справка.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257866</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2025-01-22 15:45:49 +0300</bug_when>
    <thetext>Проверьте 2.0.1
https://git.altlinux.org/tasks/370836/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257869</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandr Shashkin">dutyrok</who>
    <bug_when>2025-01-22 16:29:15 +0300</bug_when>
    <thetext>Скачал rpm из таска https://git.altlinux.org/tasks/370836/. Проверил. У меня работает. Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>