latest python3 additions seem to break with trusty python-six
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
Critical
|
Stuart Bishop |
Bug Description
ubuntu@sixtest:~$ lsb_release -r
Release: 14.04
ubuntu@sixtest:~$ apt-cache policy python-six
python-six:
Installed: 1.5.2-1
Candidate: 1.5.2-1
Version table:
*** 1.5.2-1 0
500 http://
100 /var/lib/
ubuntu@sixtest:~$ python -c "import six; from six.moves import UserDict"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: cannot import name UserDict
I noticed this when trying a charm-helpers sync:
2014-11-22 21:07:42 INFO install Traceback (most recent call last):
2014-11-22 21:07:42 INFO install File "/var/lib/
2014-11-22 21:07:42 INFO install import rabbit_utils as rabbit
2014-11-22 21:07:42 INFO install File "/var/lib/
2014-11-22 21:07:42 INFO install from lib.utils import render_template
2014-11-22 21:07:42 INFO install File "/var/lib/
2014-11-22 21:07:42 INFO install from charmhelpers.fetch import (
2014-11-22 21:07:42 INFO install File "/var/lib/
2014-11-22 21:07:42 INFO install from charmhelpers.
2014-11-22 21:07:42 INFO install File "/var/lib/
2014-11-22 21:07:42 INFO install from .hookenv import log
2014-11-22 21:07:42 INFO install File "/var/lib/
2014-11-22 21:07:42 INFO install from six.moves import UserDict
2014-11-22 21:07:42 INFO install ImportError: cannot import name UserDict
2014-11-22 21:07:42 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
Related branches
- Tim Van Steenburgh: Approve
- Jorge Niedbalski (community): Approve
- Jorge Niedbalski: Pending requested
-
Diff: 3281 lines (+625/-393)62 files modified.bzrignore (+2/-0)
Makefile (+30/-7)
charmhelpers/__init__.py (+22/-0)
charmhelpers/cli/__init__.py (+3/-2)
charmhelpers/contrib/amulet/deployment.py (+3/-3)
charmhelpers/contrib/amulet/utils.py (+6/-4)
charmhelpers/contrib/charmhelpers/__init__.py (+26/-19)
charmhelpers/contrib/hahelpers/cluster.py (+4/-3)
charmhelpers/contrib/network/ip.py (+2/-2)
charmhelpers/contrib/openstack/amulet/deployment.py (+2/-1)
charmhelpers/contrib/openstack/amulet/utils.py (+3/-1)
charmhelpers/contrib/openstack/context.py (+14/-13)
charmhelpers/contrib/openstack/neutron.py (+2/-2)
charmhelpers/contrib/openstack/templates/haproxy.cfg (+2/-2)
charmhelpers/contrib/openstack/templating.py (+5/-5)
charmhelpers/contrib/openstack/utils.py (+8/-7)
charmhelpers/contrib/peerstorage/__init__.py (+4/-3)
charmhelpers/contrib/python/packages.py (+1/-1)
charmhelpers/contrib/ssl/__init__.py (+1/-1)
charmhelpers/contrib/storage/linux/ceph.py (+9/-6)
charmhelpers/contrib/storage/linux/loopback.py (+4/-4)
charmhelpers/contrib/storage/linux/lvm.py (+1/-0)
charmhelpers/contrib/storage/linux/utils.py (+3/-2)
charmhelpers/contrib/templating/contexts.py (+5/-3)
charmhelpers/core/fstab.py (+10/-8)
charmhelpers/core/hookenv.py (+20/-12)
charmhelpers/core/host.py (+22/-17)
charmhelpers/core/services/helpers.py (+9/-5)
charmhelpers/core/templating.py (+2/-1)
charmhelpers/fetch/__init__.py (+13/-11)
charmhelpers/fetch/archiveurl.py (+53/-16)
charmhelpers/fetch/bzrurl.py (+5/-1)
charmhelpers/fetch/giturl.py (+6/-2)
test_requirements.txt (+17/-18)
tests/cli/test_cmdline.py (+7/-7)
tests/cli/test_function_signature_analysis.py (+2/-2)
tests/contrib/charmhelpers/test_charmhelpers.py (+6/-6)
tests/contrib/hahelpers/test_cluster_utils.py (+2/-2)
tests/contrib/network/test_ip.py (+11/-10)
tests/contrib/openstack/test_neutron_utils.py (+2/-2)
tests/contrib/openstack/test_openstack_utils.py (+33/-24)
tests/contrib/openstack/test_os_contexts.py (+28/-27)
tests/contrib/openstack/test_os_templating.py (+9/-3)
tests/contrib/storage/test_linux_ceph.py (+8/-8)
tests/contrib/storage/test_linux_storage_lvm.py (+2/-2)
tests/contrib/storage/test_linux_storage_utils.py (+8/-8)
tests/contrib/templating/test_contexts.py (+9/-6)
tests/contrib/unison/test_unison.py (+2/-2)
tests/core/test_fstab.py (+1/-1)
tests/core/test_hookenv.py (+34/-32)
tests/core/test_host.py (+19/-20)
tests/core/test_services.py (+4/-4)
tests/core/test_sysctl.py (+10/-3)
tests/fetch/test_archiveurl.py (+12/-5)
tests/fetch/test_bzrurl.py (+25/-8)
tests/fetch/test_fetch.py (+13/-3)
tests/fetch/test_giturl.py (+24/-8)
tests/helpers.py (+15/-6)
tests/payload/test_archive.py (+1/-1)
tests/payload/test_execd.py (+1/-1)
tests/tools/test_charm_helper_sync.py (+13/-6)
tools/charm_helpers_sync/charm_helpers_sync.py (+5/-4)
Changed in charm-helpers: | |
status: | New → In Progress |
assignee: | nobody → Stuart Bishop (stub) |
Changed in charm-helpers: | |
status: | Fix Committed → Fix Released |
Looks like this was broken by the following rev:
revno: 257 [merge]
committer: Stuart Bishop <email address hidden>
branch nick: trunk
timestamp: Sat 2014-11-22 02:33:42 +0700
message:
[stub, r=tvansteenburgh] Python 3 support