Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-tables2 for
openSUSE:Factory checked in at 2022-05-12 23:00:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-tables2 (Old)
and /work/SRC/openSUSE:Factory/.python-django-tables2.new.1538 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-tables2"
Thu May 12 23:00:45 2022 rev:4 rq:976563 version:2.4.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-tables2/python-django-tables2.changes
2021-12-26 13:30:49.234972516 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-tables2.new.1538/python-django-tables2.changes
2022-05-12 23:01:16.468870442 +0200
@@ -1,0 +2,8 @@
+Thu May 12 07:27:41 UTC 2022 - [email protected]
+
+- do not require python-mock for build
+- added patches
+ fix https://github.com/jieter/django-tables2/issues/843
+ + python-django-tables2-no-mock.patch
+
+-------------------------------------------------------------------
New:
----
python-django-tables2-no-mock.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-tables2.spec ++++++
--- /var/tmp/diff_new_pack.hu7CMZ/_old 2022-05-12 23:01:16.992871146 +0200
+++ /var/tmp/diff_new_pack.hu7CMZ/_new 2022-05-12 23:01:16.996871151 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-tables2
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
License: BSD-2-Clause
URL: https://github.com/jieter/django-tables2/
Source:
https://github.com/jieter/django-tables2/archive/v%{version}.tar.gz#/django-tables2-%{version}.tar.gz
+# https://github.com/jieter/django-tables2/issues/843
+Patch0: python-django-tables2-no-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -37,7 +39,6 @@
BuildRequires: %{python_module Django >= 2.2}
BuildRequires: %{python_module django-filter >= 2.3.0}
BuildRequires: %{python_module fudge}
-BuildRequires: %{python_module mock}
BuildRequires: %{python_module psycopg2}
BuildRequires: %{python_module tablib}
# /SECTION
@@ -50,6 +51,7 @@
%prep
%setup -q -n django-tables2-%{version}
+%patch0 -p1
%build
%python_build
++++++ python-django-tables2-no-mock.patch ++++++
diff -upr django-tables2-2.4.1.orig/tests/test_models.py
django-tables2-2.4.1/tests/test_models.py
--- django-tables2-2.4.1.orig/tests/test_models.py 2022-05-12
09:08:59.126006528 +0200
+++ django-tables2-2.4.1/tests/test_models.py 2022-05-12 09:08:59.138006605
+0200
@@ -1,6 +1,6 @@
from collections import defaultdict
-import mock
+from unittest import mock
from django.contrib.contenttypes.models import ContentType
from django.db import models
from django.db.models.functions import Length