Re: Help needed to test packages with Django 1.7
On Thu, 07 Aug 2014, Brian May wrote: > On 23 July 2014 15:58, Brian May wrote: > > > You are expected to do all database migrations with Django 1.6, then > > upgrade to Django 1.7 > > > > Some more thoughts. > > Are there any packages in Debian that attempt to automatically do database > migrations on upgrade? I don't think so. The few packages with south migrations were not concerned in the wheezy->jessie upgrade. > virtualenv --system-site-packages ~/old_django > . ~/old_django/bin/activate > pip install django==1.6.5 > pip install django-south > django-admin --settings=??? migrate --all > touch /etc/xyz/south_migrations_complete > deactivate > rm -rf ~/old_django > > Don't particularly like using --system-site-packages, think it will be > required to find the application however. Hopefully it will still get the > correct version of Django in this case. Can you test something like this? I would like to document something like this in NEWS.Debian of python-django so that admins are not left in the cold for their own django apps. Cheers, -- Raphaël Hertzog ◈ Debian Developer Discover the Debian Administrator's Handbook: → http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140807214213.ga11...@x230-buxy.home.ouaza.com
Django 1.7 preparations
Hi, I rebuilt all reverse deps of python-django and I tagged confirmed all the associated bugs where the package failed to build with python-django 1.7 and I sent the relevant extract of the build log... It makes a total of 31 bugs that will need some attention: https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=python-dja...@packages.debian.org;tag=django17 And 42 more that need manual evaluation of the situation. There's a good proportion of failures that look trivial (missing django.setup() call) but there might be more problems once this one is fixed... As usual your help is welcome. Cheers, -- Raphaël Hertzog ◈ Debian Developer Discover the Debian Administrator's Handbook: → http://debian-handbook.info/get/ -- To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140807214803.gb11...@x230-buxy.home.ouaza.com
Re: Django 1.7 preparations
On 8 August 2014 07:48, Raphael Hertzog wrote: > It makes a total of 31 bugs that will need some attention: > > https://bugs.debian.org/cgi-bin/pkgreport.cgi?users=python-dja...@packages.debian.org;tag=django17 django-celery - this bug is easy to work around. Waiting to see if upstream will respond before uploading a patched version to Debian. https://github.com/celery/django-celery/issues/336 djangorestframework - I am interested in this package, however don't actually use it. The maintainer doesn't appear to be responsive to bug reports, although still need to wait a bit longer before coming to a true verdict on this. Would like to see this being maintained by the Debian Python Modules Team. django-filter - Somehow I completely missed the fact this bug was reopened (#755635). Think this is a broken test only. Submitted upstream as https://github.com/alex/django-filter/issues/157. Hope I haven't missed other bugs :-). -- Brian May