juju deployer should include bzr as a dependency

Bug #1428197 reported by Matt Bruzek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Triaged
Low
Unassigned

Bug Description

I was trying to install and use juju deployer in a virtualenv, and found that the pip install juju-deployer does not include bzr which appears to be a dependency.

Here is the error message I got:
$ juju deployer -c specs/develop.yaml
Traceback (most recent call last):
  File "/tmp/venv/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.4.3', 'console_scripts', 'juju-deployer')()
  File "/tmp/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/tmp/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/tmp/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/tmp/venv/local/lib/python2.7/site-packages/deployer/cli.py", line 17, in <module>
    from deployer.config import ConfigStack
  File "/tmp/venv/local/lib/python2.7/site-packages/deployer/config.py", line 11, in <module>
    from .deployment import Deployment
  File "/tmp/venv/local/lib/python2.7/site-packages/deployer/deployment.py", line 8, in <module>
    from .charm import Charm
  File "/tmp/venv/local/lib/python2.7/site-packages/deployer/charm.py", line 6, in <module>
    from .vcs import Git, Bzr
  File "/tmp/venv/local/lib/python2.7/site-packages/deployer/vcs.py", line 4, in <module>
    from bzrlib.workingtree import WorkingTree
ImportError: No module named bzrlib.workingtree
ERROR subprocess encountered error code 1

After running 'pip install bzr' the previous command works. Please update the dependencies for juju-deployer to include bzr.

Tags: bzr juju
Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 1428197] [NEW] juju deployer should include bzr as a dependency

fair enough, to resolve just pip install bzr

On Wed, Mar 4, 2015 at 11:14 AM, Matt Bruzek <email address hidden>
wrote:

> Public bug reported:
>
> I was trying to install and use juju deployer in a virtualenv, and found
> that the pip install juju-deployer does not include bzr which appears to
> be a dependency.
>
> Here is the error message I got:
> $ juju deployer -c specs/develop.yaml
> Traceback (most recent call last):
> File "/tmp/venv/bin/juju-deployer", line 9, in <module>
> load_entry_point('juju-deployer==0.4.3', 'console_scripts',
> 'juju-deployer')()
> File "/tmp/venv/local/lib/python2.7/site-packages/pkg_resources.py",
> line 356, in load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/tmp/venv/local/lib/python2.7/site-packages/pkg_resources.py",
> line 2476, in load_entry_point
> return ep.load()
> File "/tmp/venv/local/lib/python2.7/site-packages/pkg_resources.py",
> line 2190, in load
> ['__name__'])
> File "/tmp/venv/local/lib/python2.7/site-packages/deployer/cli.py", line
> 17, in <module>
> from deployer.config import ConfigStack
> File "/tmp/venv/local/lib/python2.7/site-packages/deployer/config.py",
> line 11, in <module>
> from .deployment import Deployment
> File
> "/tmp/venv/local/lib/python2.7/site-packages/deployer/deployment.py", line
> 8, in <module>
> from .charm import Charm
> File "/tmp/venv/local/lib/python2.7/site-packages/deployer/charm.py",
> line 6, in <module>
> from .vcs import Git, Bzr
> File "/tmp/venv/local/lib/python2.7/site-packages/deployer/vcs.py", line
> 4, in <module>
> from bzrlib.workingtree import WorkingTree
> ImportError: No module named bzrlib.workingtree
> ERROR subprocess encountered error code 1
>
> After running 'pip install bzr' the previous command works. Please
> update the dependencies for juju-deployer to include bzr.
>
> ** Affects: juju-deployer
> Importance: Undecided
> Status: New
>
>
> ** Tags: bzr juju
>
> --
> You received this bug notification because you are subscribed to juju-
> deployer.
> Matching subscriptions: deployer
> https://bugs.launchpad.net/bugs/1428197
>
> Title:
> juju deployer should include bzr as a dependency
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-deployer/+bug/1428197/+subscriptions
>

Changed in juju-deployer:
status: New → Triaged
importance: Undecided → Low
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.