pythoncompatibilitybazaar

Is there a way to make a Python 2.7 script that utilizes the bzrlib toolbox Python 3 compatable? Since bzrlib is not supported in Python 3


I know the general idea of how to make a Python 2.7 script compatible with Python 3, but how would I go about making it compatible when it uses the imported bzrlib toolbox modules that are not supported by Python 3?

I am importing:

from bzrlib.branch import Branch


Solution

  • There is a fork of Bazaar project with an API that is mostly backwards compatible and that works with Python 3 called Breezy. See https://code.launchpad.net/brz and https://www.breezy-vcs.org/.

    It supports all Bazaar file formats and network protocols.

    Protocol documentation is available at https://www.breezy-vcs.org/developers/api/