[Python-modules-commits] [celery-haystack] 05/08: Add patch to remove unmaintained django-celery from test setup.

Michael Fladischer fladi at moszumanska.debian.org
Tue Nov 14 08:54:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch debian/master
in repository celery-haystack.

commit 70b047756fff8e244d95d98f4e632587b332504c
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Tue Nov 14 09:24:02 2017 +0100

    Add patch to remove unmaintained django-celery from test setup.
---
 debian/changelog                                   |  1 +
 .../patches/0002-remove-djcelery-from-tests.patch  | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 24 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f9a6af1..135b3a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ celery-haystack (0.10-2) UNRELEASED; urgency=medium
   [ Michael Fladischer ]
   * Run wrap-and-sort -bast to reduce diff size of future changes.
   * Depend on python(3)-django-appconf (Closes: #881070).
+  * Add patch to remove unmaintained django-celery from test setup.
 
  -- Ondřej Nový <novy at ondrej.org>  Tue, 29 Mar 2016 21:24:21 +0200
 
diff --git a/debian/patches/0002-remove-djcelery-from-tests.patch b/debian/patches/0002-remove-djcelery-from-tests.patch
new file mode 100644
index 0000000..813c564
--- /dev/null
+++ b/debian/patches/0002-remove-djcelery-from-tests.patch
@@ -0,0 +1,22 @@
+From: Michael Fladischer <FladischerMichael at fladi.at>
+Date: Tue, 14 Nov 2017 09:23:05 +0100
+Subject: remove djcelery from tests
+
+djcelery is only required for using the django result backend, or
+admin, neither of which we are using during tests
+---
+ celery_haystack/test_settings.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/celery_haystack/test_settings.py b/celery_haystack/test_settings.py
+index b14c0d7..4efc409 100644
+--- a/celery_haystack/test_settings.py
++++ b/celery_haystack/test_settings.py
+@@ -12,7 +12,6 @@ TEST_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), 'tests'))
+ 
+ INSTALLED_APPS = [
+     'haystack',
+-    'djcelery',
+     'celery_haystack',
+     'celery_haystack.tests',
+ ]
diff --git a/debian/patches/series b/debian/patches/series
index d68b539..c532171 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Add-the-recommended-minimum-MIDDLEWARE_CLASSES.patch
+0002-remove-djcelery-from-tests.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/celery-haystack.git



More information about the Python-modules-commits mailing list