ticket system, ppa assigner: setup.py dependency versions don't match charm

Bug #1283747 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Evan
Ubuntu CI Services
Fix Released
High
Evan

Bug Description

The ticket system's setup.py lists the following dependencies:

requires = [
    'Django==1.5',
    'South==0.7.5',
    'django-tastypie==0.9.15',
    'mock==1.0.1',
    'model_mommy==1.2',
    'lazr.enum>=1.1.2',
    'PyYAML==3.10',
]

However, the following system package versions are installed for the deployed instance:

python-django 1.3.1-4ubuntu1.8
python-django-south 0.7.3-1ubuntu1
python-mock 0.7.2-1
model_mommy is not installed.
python-lazr.enum 1.1.2-0ubuntu4
python-yaml 3.10-2

This breaks in at least one place (django.utils.log.RequireDebugFalse is not available in Django 1.3):

http://paste.ubuntu.com/6982231/

ValueError: Unable to configure filter 'require_debug_false': Cannot resolve 'django.utils.log.RequireDebugFalse': No module named RequireDebugFalse

2014-02-23 10:50:05 ERROR juju.worker.uniter uniter.go:480 hook failed: exit status 1

You can grab the following with dget.

python-django 1.5.4-1ubuntu1~ctools0 is available in the cloud archive:
https://launchpad.net/~ubuntu-cloud-archive/+archive/cloud-tools-staging/+files/python-django_1.5.4-1ubuntu1~ctools0.dsc

python-tastypie 0.9.15-1~ubuntu12.04.1 is available in precise-backports:
https://launchpad.net/ubuntu/+archive/primary/+files/django-tastypie_0.9.15-1~ubuntu12.04.1.dsc

python-mock 1.0.1-1~cloud0 is available in the grizzly staging cloud archive:
https://launchpad.net/~ubuntu-cloud-archive/+archive/grizzly-staging/+files/python-mock_1.0.1-1~cloud0.dsc

I cannot find any packaged version of model-mommy.

Tags: airline

Related branches

Evan (ev)
tags: added: airline
Changed in ubuntu-ci-services-itself:
importance: Undecided → High
description: updated
Evan (ev)
description: updated
Revision history for this message
Evan (ev) wrote :

I've created some recipes to build precise, saucy, and raring versions of these and put them in our PPA:
https://code.launchpad.net/~canonical-ci-engineering/+recipes

Revision history for this message
Andy Doan (doanac) wrote :

minus the model-mommy issue, I think this is a dup of:

 https://bugs.launchpad.net/ubuntu-ci-services-itself/+bug/1283595

Revision history for this message
Chris Johnston (cjohnston) wrote : Re: [Bug 1283747] Re: ticket system: setup.py dependency versions don't match charm

I don't think we should need model_mommy on the production instances do we?
It's purely for tests.

Evan (ev)
summary: - ticket system: setup.py dependency versions don't match charm
+ ticket system, ppa assigner: setup.py dependency versions don't match
+ charm
Evan (ev)
Changed in ubuntu-ci-services-itself:
assignee: nobody → Evan Dandrea (ev)
Changed in ubuntu-ci-services-itself:
status: New → Fix Committed
Changed in ubuntu-ci-services-itself:
status: Fix Committed → Fix Released
Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Evan Dandrea (ev)
importance: Undecided → High
status: New → Fix Released
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.