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

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

    <bug>
          <bug_id>60782</bug_id>
          
          <creation_ts>2026-10-02 15:22:15 +0300</creation_ts>
          <short_desc>Тестовые зависимости MCP попали в runtime (Requires)</short_desc>
          <delta_ts>2026-10-02 16:56:41 +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-mcp</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vladislav Glinkin">glinkinvd</reporter>
          <assigned_to name="Pavel Shilov">zerospirit</assigned_to>
          <cc>zerospirit</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>300787</commentid>
    <comment_count>0</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2026-10-02 15:22:15 +0300</bug_when>
    <thetext>Версия пакета: python3-module-mcp-2.2.0-alt1

---

Пакет python3-module-mcp объявляет python3-module-inline-snapshot и python3-module-dirty-equals как обязательные runtime-зависимости. Эти модули нужны тестам проекта, но не используются кодом MCP, поставляемым пользователям. Поэтому установка библиотеки MCP для работы приложения без запуска тестов устанавливает лишние пакеты и их транзитивные зависимости.

В актуальном spec Sisyphus обе зависимости явно записаны в Requires:
Requires: python3-module-inline-snapshot
Requires: python3-module-dirty-equals

Обоснование:
1) В pyproject.toml обе библиотеки перечислены в группе dev, а не среди runtime-зависимостей проекта: inline-snapshot и dirty-equals находятся в dependency-groups.dev.
2) В каталоге исходного кода src/ нет импортов ни inline_snapshot, ни dirty_equals.

---

Предлагаемое исправление:
Преобразовать python3-module-inline-snapshot и python3-module-dirty-equals в BuildRequires и перенести в секцию `%if_with check`.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>300811</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-10-02 16:56:41 +0300</bug_when>
    <thetext>python3-module-mcp-2.2.0-alt2 -&gt; sisyphus:

Fri Oct 02 2026 Pavel Shilov &lt;zerospirit@altlinux&gt; 2.2.0-alt2
- Dropped test-only and unused runtime dependencies (ALT #60782).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>