Incompatible with python-debian/lucid

Bug #724043 reported by Max Bowsher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr-builddeb
Fix Released
Medium
Max Bowsher

Bug Description

Based on failures in the ~bzr daily ppa for lucid and karmic, it looks like trunk has broken compat with python-debian 0.1.14. (I'm guessing wildly based on the nature of the test failures)

We need to decide whether we want to fix it. If we don't, we can drop all the conditional debian_bundle imports.

Related branches

Revision history for this message
Max Bowsher (maxb) wrote :

Examples of the interesting tracebacks:

  File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/util.py", line 671, in guess_build_type
    version_native = (not version.debian_revision)
AttributeError: 'Version' object has no attribute 'debian_revision'

  File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/tests/test_upstream.py", line 390, in test_new_tagged_release
    _upstream_branch_version(self.revhistory, {"somerevid": [u"1.3"]}, "bla", "1.2", self.get_suffix))
  File "/usr/lib/pymodules/python2.6/bzrlib/tests/__init__.py", line 1218, in assertEqual
    if a == b:
  File "/usr/lib/pymodules/python2.6/debian_bundle/debian_support.py", line 81, in __cmp__
    return apt_pkg.VersionCompare(self.__asString, other.__asString)
AttributeError: 'str' object has no attribute '_Version__asString'

Revision history for this message
James Westby (james-w) wrote : Re: [Bug 724043] Re: Incompatible with python-debian/lucid

On Sat, 26 Feb 2011 19:13:16 -0000, Max Bowsher <email address hidden> wrote:
> Examples of the interesting tracebacks:
>
> File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/util.py", line 671, in guess_build_type
> version_native = (not version.debian_revision)
> AttributeError: 'Version' object has no attribute 'debian_revision'

That's odd. I'm pretty sure that debian_revision has always been an
attribute.

> File "/build/buildd/bzr-builddeb-2.6+bzr526.527~lucid1/tests/test_upstream.py", line 390, in test_new_tagged_release
> _upstream_branch_version(self.revhistory, {"somerevid": [u"1.3"]}, "bla", "1.2", self.get_suffix))
> File "/usr/lib/pymodules/python2.6/bzrlib/tests/__init__.py", line 1218, in assertEqual
> if a == b:
> File "/usr/lib/pymodules/python2.6/debian_bundle/debian_support.py", line 81, in __cmp__
> return apt_pkg.VersionCompare(self.__asString, other.__asString)
> AttributeError: 'str' object has no attribute '_Version__asString'

That looks more clear cut. It's probably missing a ".upstream_version"
on a somewhere.

Thanks,

James

Max Bowsher (maxb)
Changed in bzr-builddeb:
assignee: nobody → Max Bowsher (maxb)
status: New → In Progress
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
importance: Undecided → Medium
Max Bowsher (maxb)
Changed in bzr-builddeb:
status: In Progress → Fix Committed
Max Bowsher (maxb)
Changed in bzr-builddeb:
milestone: none → 2.7
Jelmer Vernooij (jelmer)
Changed in bzr-builddeb:
status: Fix Committed → Triaged
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.