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

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

    <bug>
          <bug_id>41042</bug_id>
          
          <creation_ts>2021-10-01 18:18:06 +0300</creation_ts>
          <short_desc>[FR] python3-module-typogrify should not depend on django and jinja2</short_desc>
          <delta_ts>2021-10-01 19:17:29 +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-typogrify</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="Ivan A. Melnikov">iv</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>203428</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2021-10-01 18:18:06 +0300</bug_when>
    <thetext>В README у python3-module-typogrify есть такой текст:

Installing Jinja or Django is only required if you
intend to use the optional template filters that are
included for those frameworks.

Я смотрел в код -- они действительно не нужны для нормальной работы.

При этом

$ rpm -qpR python3-module-typogrify-2.0.7-alt1.noarch.rpm  | fgrep -e django -e jinja
python3(django) &lt; 0
python3(django.conf) &lt; 0
python3(django.utils.encoding) &lt; 0
python3(django.utils.safestring) &lt; 0
python3(jinja2) &lt; 0
python3(jinja2.exceptions) &lt; 0

Предлагаю отровать эти зависимости. Тогда, например, гораздо меньше всего ненужного будет оказываться в сборочной среде у клиентов gi-docgen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203429</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2021-10-01 18:18:57 +0300</bug_when>
    <thetext>(In reply to Ivan A. Melnikov from comment #0)
&gt; Предлагаю отровать эти зависимости.

Например, так:

http://git.altlinux.org/people/iv/packages/?p=python3-module-typogrify.git;a=commitdiff;h=a9b57af28ce20918b29bb9386a2dc6d183befc2d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203431</commentid>
    <comment_count>2</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2021-10-01 18:55:13 +0300</bug_when>
    <thetext>Одобрю, если сможете оформить в src.rpm
$ girar-get-upload-method python3-module-typogrify
srpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203432</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2021-10-01 19:05:48 +0300</bug_when>
    <thetext>id=286272 locked=no shared=no fail_early=yes test_only=no repo=sisyphus owner=iv state=EPERM try=1 iter=1 age=0w build_time=2021-Oct-01/16:05:05
 100:srpm=python3-module-typogrify-2.0.7-alt2.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203433</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-10-01 19:13:54 +0300</bug_when>
    <thetext>python3-module-typogrify-2.0.7-alt2 -&gt; sisyphus:

 Fri Oct 01 2021 Ivan A. Melnikov &lt;iv@altlinux&gt; 2.0.7-alt2
 - get rid of django and jinja dependencies (closes: #41042)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>203435</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2021-10-01 19:17:29 +0300</bug_when>
    <thetext>Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>