python-django 1.3-2ubuntu1.1 is incompatible with Psycopg2 2.4.2-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-django (Ubuntu) |
Fix Released
|
Undecided
|
Dave Walker |
Bug Description
When using the default versions of python-django and python-psycopg2 that ship with Oneiric, I am unable to run any unit tests for any Django application, due to upstream issue 16250:
https:/
As discussed in the Django ticket, Django 1.3 is incompatible with Psycopg2 versions after 2.4.1 due to changes in the Psycopg2 library. The Django developers have committed a fix for this, however they have stated they will not be backporting the fix to the 1.3.x branch.
I am filing this bug against the python-django package since this seems to be a Django issue, however one resolution might be to downgrade the version of python-psycopg2 that ships with Oneiric. Alternatively, a fix for Ubuntu's shipping version of Django may need to be created. The patch from Django issue 16250 does not apply cleanly to the python-django 1.3-2ubuntu1.1 sources.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-django 1.3-2ubuntu1.1
ProcVersionSign
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sun Dec 18 00:16:15 2011
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python-django
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in python-django (Ubuntu): | |
assignee: | nobody → Dave Walker (davewalker) |
The fix for this involves two patches.
The first (attached) copies creation.py from db/backends/ postgresql to db/backends/ postgresql_ psycopg2, derived from:
https:/ /code.djangopro ject.com/ changeset/ 15980