bzr-git/Dulwich version number confusion

Jelmer Vernooij jelmer at samba.org
Sun Mar 28 22:23:48 BST 2010


On Sun, 2010-03-28 at 09:40 +0100, Russel Winder wrote:
> I just pulled Dulwich from:
> 
>    bzr+ssh://bazaar.launchpad.net/~vcs-imports/dulwich/trunk
> 
> and installed in with:
> 
>     sudo make clean ; make ; sudo make install ; sudo make clean
> 
> then changed the permissions in the installed location as distutils gets
> it wrong (due to a non-standard umask I have), and ensured it worked by
> running:   
> 
>     python -c "import dulwich"
> 
> and ensuring no error message.  I pulled bzr-git from:
> 
>    bzr+ssh://bazaar.launchpad.net/~bzr/bzr-git/trunk
> 
> However when I try and pull from a Git repository to a Bazaar branch --
> it is Postr from the Gnome repository:
> 
>         |> bzr pull
>         Unable to load plugin 'loggerhead'. It requested API version (2, 1, 0) of module <module 'bzrlib' from '/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/__init__.pyc'> but the minimum exported version is (2, 2, 0), and the maximum is (2, 2, 0)
>         Using saved parent location: git://git.gnome.org/postr
>         bzr: ERROR: Unsupported protocol for url "git://git.gnome.org/postr": Unable to import library "dulwich": bzr-git: Dulwich is too old; at least 0.5.1 is required
> 
> The loggerhead message is understood and not a problem for us here.  The
> issue seems to be that bzr-git is demanding a version of Dulwich that
> Dulwich doesn't provide.  Also:
> 
>         |> dulwich --version
>         No such subcommand: --version
> 
> So there appears to be no way of checking for the version of Dulwich
> actually used as opposed to the one I think is being used.
Dulwich is a Python module. python -c 'import dulwich; print
dulwich.__version__' should tell you. Or if you've installed it through
dpkg, dpkg should be able to tell you.

Anyway, I've fixed the compatibility in bzr-git with older versions of
dulwich now.


Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100328/ad90978c/attachment.pgp 


More information about the bazaar mailing list