Please upgrade Django to version 1.4, that has now been officially released. See https://www.djangoproject.com/weblog/2012/mar/23/14/ for the announcement and https://docs.djangoproject.com/en/dev/releases/1.4/ for the release notes.
Thank you for the heads-up. There's already a tracking bug regarding django-1.4 https://bugzilla.redhat.com/show_bug.cgi?id=806463 Please note, there's also a build for f18
Django-1.4-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/Django-1.4-1.fc17
Package Django-1.4-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing Django-1.4-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4897/Django-1.4-1.fc17 then log in and leave karma (feedback).
FWIW: this package does not build on RHEL 6.2 (i.e. CentOS 6.2). A clean mock build fails there with: + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/Django-1.4-1.el6.x86_64 django No translations found for django in /builddir/build/BUILDROOT/Django-1.4-1.el6.x86_64 I didn't further look at the reason for this yet (will do so within a few days, I need Django 1.4 on RHEL6 anyway), but maybe the package can be improved to build on both F17+ and RHEL6.2+.
@Jos, which SRPM did you try? Django from f17?, python-django from f18? both build ok in fedora build environment. Since django 1.2 (from epel6) and django-1.4 are incompatible in some way, we can't just upgrade djangos epel6 version from 1.2 to 1.4 (although I absolutely understand your wish to do so). E.g ReviewBoard is not compatible with django-1.4 cf. http://www.reviewboard.org/docs/releasenotes/dev/reviewboard/1.6.5/
I tried Django-1.4-1.fc17.src.rpm (downloaded from koji) and I just tried python-django-1.4-3.fc18.src.rpm, which fails at the same point.
Thanks for the info. I can confirm, they're failing, at least in a consistent way. This brings up the question, what is the difference between epel6 version of %find_lang and fedora 17(+)? Django puts its languages under /usr/lib/python and not under /usr/share... Jos, would you take a look onto the following build? I think, I got it. http://koji.fedoraproject.org/koji/taskinfo?taskID=3955054 (It is still building, but currently in checks-section)?
Yep, that works. In the meantime I found out that the find_lang in RHEL6 (rpm 4.8.x) looks for paths .../share/locale/..., while newer find_lang script from rpm 4.9.x looks for the more generic paths .../locale/..., so this was indeed the problem.
Django-1.4-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.