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

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

    <bug>
          <bug_id>33059</bug_id>
          
          <creation_ts>2017-01-30 13:08:01 +0300</creation_ts>
          <short_desc>После обновления python-module-fastimport до 0.9.6-alt1</short_desc>
          <delta_ts>2021-09-17 14:47:53 +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>python-module-bzr-fastimport</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gleb F-Malinovskiy">glebfm</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>antohami</cc>
    
    <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>enp</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>glebfm</cc>
    
    <cc>grenka</cc>
    
    <cc>hiddenman</cc>
    
    <cc>imz</cc>
    
    <cc>lav</cc>
    
    <cc>mithraen</cc>
    
    <cc>nbr</cc>
    
    <cc>rider</cc>
    
    <cc>rt</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>solo</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>161582</commentid>
    <comment_count>0</comment_count>
    <who name="Gleb F-Malinovskiy">glebfm</who>
    <bug_when>2017-01-30 13:08:01 +0300</bug_when>
    <thetext>сломался git-bzr:
$ git bzr fetch 3.5
Updating remote 3.5
13:00:01 Calculating the revisions to include ...
13:00:01 Starting export of 16707 revisions ...
bzr: ERROR: exceptions.TypeError: cannot concatenate &apos;str&apos; and &apos;int&apos; objects

Traceback (most recent call last):
  File &quot;/usr/lib64/python2.7/site-packages/bzrlib/commands.py&quot;, line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File &quot;/usr/lib64/python2.7/site-packages/bzrlib/commands.py&quot;, line 1121, in run_bzr
    ret = run(*run_argv)
  File &quot;/usr/lib64/python2.7/site-packages/bzrlib/commands.py&quot;, line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File &quot;/usr/lib64/python2.7/site-packages/bzrlib/commands.py&quot;, line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File &quot;/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py&quot;, line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File &quot;/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py&quot;, line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File &quot;/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/cmds.py&quot;, line 720, in run
    return exporter.run()
  File &quot;/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py&quot;, line 240, in run
    self.emit_commit(revid, self.ref)
  File &quot;/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py&quot;, line 358, in emit_commit
    self.print_cmd(self._get_commit_command(ref, mark, revobj, file_cmds))
  File &quot;/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py&quot;, line 441, in _get_commit
    more_authors=more_author_info, properties=properties)
  File &quot;/usr/lib/python2.7/site-packages/fastimport/commands.py&quot;, line 168, in __init__
    self.id = b&apos;:&apos; + mark
TypeError: cannot concatenate &apos;str&apos; and &apos;int&apos; objects

bzr 2.7.0 on python 2.7.11 (Linux-4.9.5-un-def-alt1-x86_64-with-altlinux-ALT-
    Sisyphus)
arguments: [&apos;/usr/bin/bzr&apos;, &apos;fast-export&apos;, &apos;--import-
    marks=/home/gleb/git/squid/.git/bzr-git/3.5-bzr-map&apos;, &apos;--export-
    marks=/home/gleb/git/squid/.git/bzr-git/3.5-bzr-map&apos;, &apos;--git-branch=3.5&apos;,
    &apos;/home/gleb/git/squid-bzr&apos;]
plugins: bash_completion[2.7.0], changelog_merge[2.7.0],
    fastimport[0.14.0dev], grep[2.7.0], launchpad[2.7.0],
    netrc_credential_store[2.7.0], news_merge[2.7.0], po_merge[2.7.0],
    weave_fmt[2.7.0]
encoding: &apos;utf-8&apos;, fsenc: &apos;UTF-8&apos;, lang: &apos;ru_RU.UTF-8&apos;

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161603</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2017-01-30 15:57:22 +0300</bug_when>
    <thetext>Попробуйте обновить python-module-bzr-fastimport . Оно вызвало, по-моему, эту функцию с int в аргументе, который потом складывается со строкой-константой.

$ fgrep &apos;/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py&apos; /ALT/Sisyphus/{x86_64,noarch}/base/contents_index
/ALT/Sisyphus/noarch/base/contents_index:/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.py	python-module-bzr-fastimport
/ALT/Sisyphus/noarch/base/contents_index:/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.pyc	python-module-bzr-fastimport
/ALT/Sisyphus/noarch/base/contents_index:/usr/lib/python2.7/site-packages/bzrlib/plugins/fastimport/exporter.pyo	python-module-bzr-fastimport
[imz@people ~]$ rpm -qp /ALT/Sisyphus/noarch/RPMS.classic/python-module-fastimport-0.9.6-alt1.noarch.rpm --lastchange
* Wed Jan 11 2017 Igor Vlasenko &lt;viy@altlinux.ru&gt; 0.9.6-alt1
- automated PyPI update
[imz@people ~]$ rpm -qp /ALT/Sisyphus/noarch/RPMS.classic/python-module-bzr-fastimport-0.13.0-alt2.noarch.rpm --lastchange
* Thu Sep 18 2014 Alexey Shabalin &lt;shaba@altlinux.ru&gt; 0.13.0-alt2
- upstream snapshot (fixed work with python-module-fastimport-0.9.4)
[imz@people ~]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>161604</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2017-01-30 16:01:11 +0300</bug_when>
    <thetext>(In reply to comment #1)
&gt; Попробуйте обновить python-module-bzr-fastimport . Оно вызвало, по-моему, эту
&gt; функцию с int в аргументе, который потом складывается со строкой-константой.

Я имел в виду, что нужно собрать в Сизиф.

Ещё вопрос, стоит ли несовместимость отражать в конфликтах пакета python-module-fastimport.

Можно для помощи людям при точечных обновлениях (раз мы это сейчас узнали), но некрасиво в общем случае. Оно не должно знать о всех своих пользователях.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202903</commentid>
    <comment_count>3</comment_count>
    <who name="Grigory Ustinov">grenka</who>
    <bug_when>2021-09-17 14:47:53 +0300</bug_when>
    <thetext>Нет такого. Python2 EOL.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>