Hello community,

here is the log from the commit of package python-django-filter for 
openSUSE:Factory checked in at 2019-04-11 12:17:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-filter (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-filter.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-filter"

Thu Apr 11 12:17:03 2019 rev:3 rq:692938 version:2.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-filter/python-django-filter.changes    
    2019-03-01 16:47:09.801805044 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-filter.new.27019/python-django-filter.changes
     2019-04-11 12:17:05.480929098 +0200
@@ -1,0 +2,5 @@
+Wed Apr 10 12:05:22 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- added fix_tests.patch - better compactibility with django 2.2 
+
+-------------------------------------------------------------------

New:
----
  fix_tests.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-filter.spec ++++++
--- /var/tmp/diff_new_pack.KNNiIj/_old  2019-04-11 12:17:06.512929619 +0200
+++ /var/tmp/diff_new_pack.KNNiIj/_new  2019-04-11 12:17:06.516929621 +0200
@@ -26,6 +26,7 @@
 Group:          Development/Libraries/Python
 URL:            https://github.com/carltongibson/django-filter
 Source:         
https://files.pythonhosted.org/packages/source/d/django-filter/django-filter-%{version}.tar.gz
+Patch0:         fix_tests.patch
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module django-crispy-forms}
 BuildRequires:  %{python_module djangorestframework}
@@ -44,6 +45,7 @@
 
 %prep
 %setup -q -n django-filter-%{version}
+%patch0 -p1
 
 %build
 %python_build

++++++ fix_tests.patch ++++++
>From 9f86ae2e95c93153d5bd52f4b2ada83f766a5cf3 Mon Sep 17 00:00:00 2001
From: Ryan P Kilby <[email protected]>
Date: Thu, 4 Apr 2019 09:37:50 -0700
Subject: [PATCH] Cleanup XML test runner output (#1060)

* Put xml coverage files into subdirectory

* Expect IsoDateTimeFromToRangeFilterTests to fail
---
 .gitignore              | 1 +
 tests/settings.py       | 4 ++++
 tests/test_filtering.py | 1 +
 3 files changed, 6 insertions(+)

Index: django-filter-2.1.0/tests/settings.py
===================================================================
--- django-filter-2.1.0.orig/tests/settings.py
+++ django-filter-2.1.0/tests/settings.py
@@ -36,6 +36,10 @@ TEMPLATES = [{
 STATIC_URL = '/static/'
 
 
+# XMLTestRunner output
+TEST_OUTPUT_DIR = '.xmlcoverage'
+
+
 # help verify that DEFAULTS is importable from conf.
 def FILTERS_VERBOSE_LOOKUPS():
     return DEFAULTS['VERBOSE_LOOKUPS']
Index: django-filter-2.1.0/tests/test_filtering.py
===================================================================
--- django-filter-2.1.0.orig/tests/test_filtering.py
+++ django-filter-2.1.0/tests/test_filtering.py
@@ -978,6 +978,7 @@ class DateTimeFromToRangeFilterTests(Tes
         self.assertEqual(len(results.qs), 2)
 
 
[email protected]
 class IsoDateTimeFromToRangeFilterTests(TestCase):
 
     def test_filtering(self):

Reply via email to