Skip to content

Add extra steps for Focal/Jammy to address #55#56

Open
NucciTheBoss wants to merge 1 commit into
openstack-charmers:masterfrom
NucciTheBoss:bazaar-focal-jammie-patch
Open

Add extra steps for Focal/Jammy to address #55#56
NucciTheBoss wants to merge 1 commit into
openstack-charmers:masterfrom
NucciTheBoss:bazaar-focal-jammie-patch

Conversation

@NucciTheBoss
Copy link
Copy Markdown

@NucciTheBoss NucciTheBoss commented Jun 13, 2022

What I initially tried

After I discovered that the issue was a difference in the bzr package between Ubuntu versions, I tried to build a bzr-legacy Debian package for Focal and Jammy that I could host in a PPA on Launchpad. However, I got hung up because many of the build dependencies are no longer available in the Ubuntu package archives (joys of working with older software). debmake worked nicely for me, but debuild refused to make the package due to the missing dependencies.

Solution

I decided to use pyenv to install Python 3.10.4 and 2.7.15 side-by-side, install paramiko and pycrypto into 2.7.15, download the Bazaar source code from Launchpad, and then install Bazaar manually.

Next steps/future work

Current solution is rather ugly (lots of steps involved), so in the future I would like to trim it down a bit. Unfortunately, without setting up a whole dedicated legacy PPA to GNU Bazaar (not Breezy), we probably will not be able to build a Debian package to provide Bazaar.

To circumvent this issue without needing pyenv or a legacy Debian package, we will need to deal with these two problem children in py3-clients-requirements.txt to avoid the AttributeError mentioned in #55:

bzr+lp:codetree#egg=python-codetree  # <= Problem child 1

# disabled because of a bug because of which whitelisted states aren't taken
# into account when waiting for the model to become ready:
# bzr+lp:mojo#egg=mojo
bzr+lp:~ost-maintainers/mojo/py3#egg=mojo  # <= Problem child 2

@NucciTheBoss NucciTheBoss changed the title Add extra steps for Focal/Jammie to address #55 Add extra steps for Focal/Jammy to address #55 Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant