tracker.debian.org: switch to Python 3 and Django 1.11
authorRaphaël Hertzog <hertzog@debian.org>
Fri, 10 Nov 2017 14:15:58 +0000 (15:15 +0100)
committerJulien Cristau <jcristau@debian.org>
Mon, 20 Nov 2017 09:38:09 +0000 (10:38 +0100)
mock and lzma are part of the standard library in Python 3 so they have
been dropped from dependencies.

This is to be deployed at the time of the upgrade to stretch.

Signed-off-by: Julien Cristau <jcristau@debian.org>
debian/changelog
debian/control

index 35c0c22..874bcce 100644 (file)
@@ -6,10 +6,13 @@ debian.org (65) UNRELEASED; urgency=medium
     + php-xml
 
   [ Raphaël Hertzog ]
-  * tracker.debian.org
+  * tracker.debian.org:
     + python-debianbts
     - python-ldap
     - python-soappy
+  * tracker.debian.org: switch to Python 3 and Django 1.11 by default for the
+    upgrade to stretch. mock and lzma are part of the standard library in
+    Python 3.
 
  -- Julien Cristau <jcristau@debian.org>  Mon, 30 Oct 2017 19:58:37 +0100
 
index 06b6060..d6cc20d 100644 (file)
@@ -655,25 +655,23 @@ Architecture: all
 Depends:
 # Runtime
        daemon,
-       libapache2-mod-wsgi,
-       python-apt,
-       python-bs4,
-       python-debian,
-       python-debianbts (>= 2.6),
-       python-django (>= 1.8),
-       python-django-jsonfield,
-       python-gpgme,
-       python-lzma,
-       python-requests (>= 2),
-       python-yaml,
-       python-pyinotify,
+       libapache2-mod-wsgi-py3,
+       python3-apt,
+       python3-bs4,
+       python3-debian,
+       python3-debianbts (>= 2.6),
+       python3-django (>= 1.11),
+       python3-django-jsonfield,
+       python3-gpgme,
+       python3-requests (>= 2),
+       python3-yaml,
+       python3-pyinotify,
        dpkg-dev,
 # Database access
-       python-psycopg2,
+       python3-psycopg2,
        postgresql-client,
 # Test suite and docs
-       python-mock,
-       python-sphinx,
+       python3-sphinx,
 Description: metapackage for tracker.debian.org
  This package depends on all the packages that are needed for tracker.debian.org.