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

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

    <bug>
          <bug_id>49140</bug_id>
          
          <creation_ts>2024-01-21 19:26:25 +0300</creation_ts>
          <short_desc>dblatex: multiple invalid escape sequences</short_desc>
          <delta_ts>2024-01-23 14:54:06 +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>dblatex</component>
          <version>unstable</version>
          <rep_platform>all</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="Yuri N. Sedunov">aris</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>grenka</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>240405</commentid>
    <comment_count>0</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-01-21 19:26:25 +0300</bug_when>
    <thetext>На python-3.12 dblatex стал мусорить warning&apos;ами, которые ломают тесты у gtk-doc.

/usr/lib/python3/site-packages/dbtexmf/dblatex/texcodec.py:29: SyntaxWarning: invalid escape sequence &apos;\&amp;&apos;
  l.append(&quot;\&amp;\#x%x;&quot; % ord(c))
/usr/lib/python3/site-packages/dbtexmf/dblatex/texhyphen.py:23: SyntaxWarning: invalid escape sequence &apos;\-&apos;
  self.hyphenchar = b&quot;\-&quot;
/usr/lib/python3/site-packages/dbtexmf/dblatex/texhyphen.py:35: SyntaxWarning: invalid escape sequence &apos;\H&apos;
  &quot;&quot;&quot;
/usr/lib/python3/site-packages/dbtexmf/dblatex/texhyphen.py:54: SyntaxWarning: invalid escape sequence &apos;\p&apos;
  h_sep=b&quot;\penalty0{}&quot;, h_char=b&quot;\penalty5000{}&quot;,
/usr/lib/python3/site-packages/dbtexmf/dblatex/texhyphen.py:54: SyntaxWarning: invalid escape sequence &apos;\p&apos;
  h_sep=b&quot;\penalty0{}&quot;, h_char=b&quot;\penalty5000{}&quot;,
/usr/lib/python3/site-packages/dbtexmf/dblatex/xetex/fontspec.py:198: SyntaxWarning: invalid escape sequence &apos;\s&apos;
  s += &apos;\switch%sfont{%s}&apos; % (type, font)
/usr/lib/python3/site-packages/dbtexmf/dblatex/xetex/fcmanager.py:51: SyntaxWarning: invalid escape sequence &apos;\-&apos;
  if self.family != self.name.replace(&quot;\-&quot;, &quot;-&quot;):
/usr/lib/python3/site-packages/dbtexmf/dblatex/grubber/texparser.py:34: SyntaxWarning: invalid escape sequence &apos;\*&apos;
  pattern = &quot;\\\\(?P&lt;name&gt;%s)\*?&quot;\

...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240455</commentid>
    <comment_count>1</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2024-01-23 03:29:32 +0300</bug_when>
    <thetext>gtk-doc ломает не только dblatex.

FYI: https://src.fedoraproject.org/rpms/itstool/blob/rawhide/f/0001-Fix-insufficiently-quoted-regular-expressions.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240456</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-01-23 03:46:58 +0300</bug_when>
    <thetext>dblatex-0.3.12-alt2 -&gt; sisyphus:

 Tue Jan 23 2024 Grigory Ustinov &lt;grenka@altlinux&gt; 0.3.12-alt2
 - Fixed working with python3.12 (Closes: #49140).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240480</commentid>
    <comment_count>3</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2024-01-23 14:54:06 +0300</bug_when>
    <thetext>(Ответ для Grigory Ustinov на комментарий #1)
&gt; gtk-doc ломает не только dblatex.

Да, и сам себя он тоже ломал.
За исправление dblatex и наводку на itstool -- спасибо. Теперь всё исправлено.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>