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 2026-03-30 18:32:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-tables2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-tables2.new.1999 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-tables2"

Mon Mar 30 18:32:01 2026 rev:12 rq:1343439 version:2.8.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-tables2/python-django-tables2.changes  
    2025-01-21 21:12:02.270829755 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-tables2.new.1999/python-django-tables2.changes
    2026-03-30 18:35:30.001595528 +0200
@@ -1,0 +2,21 @@
+Sun Mar 29 13:53:27 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.8.0:
+  * Pass `request` to the template rendered in TemplateColumn
+    (#1014) Fixes: #1008
+  * Do not generate error when table data model is subclass of
+    table model (#1015) Fixes #1010 by @sjoerdjob
+  * Update supported Python and Django versions (#1011) by @dyve
+  * Supported Django versions: 4.1, 5.1, 5.2, 6.0
+  * Supported Python versions: 3.10, 3.11, 3.12, 3.13, 3.14
+  * Correct packaging mistakes:
+  * Add python_requires to setup.py (#982) Fixes: #980
+  * Add TimeColumn to built-in columns (#937) by @philipphanemann
+  * Add support to pass args/kwargs to callables from Accessor
+    (#940), fixes: #939
+  * Drop support for Django 3.2, 4.1 and python 3.8
+  * Add support for Django 5.1 and python 3.12
+  * Explicitly set `Column.accessor` when binding a column to
+    allow column methods like `order_by` to use its value
+
+-------------------------------------------------------------------

Old:
----
  django-tables2-2.7.0.tar.gz

New:
----
  django-tables2-2.8.0.tar.gz

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

Other differences:
------------------
++++++ python-django-tables2.spec ++++++
--- /var/tmp/diff_new_pack.xshTKg/_old  2026-03-30 18:35:30.881632320 +0200
+++ /var/tmp/diff_new_pack.xshTKg/_new  2026-03-30 18:35:30.889632655 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-tables2
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-django-tables2
-Version:        2.7.0
+Version:        2.8.0
 Release:        0
 Summary:        Table/data-grid framework for Django
 License:        BSD-2-Clause
@@ -26,8 +26,8 @@
 Source:         
https://github.com/jieter/django-tables2/archive/v%{version}.tar.gz#/django-tables2-%{version}.tar.gz
 # PATCH-FEATURE-OPENSUSE python-django-tables2-tests-noxls.patch -- Disable 
XLS export tests
 Patch0:         python-django-tables2-tests-noxls.patch
+BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -35,10 +35,10 @@
 Suggests:       python-tablib
 BuildArch:      noarch
 # SECTION test requirements, see requirements/common.pip
-BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module Django >= 4.2}
 BuildRequires:  %{python_module PyYAML}
-BuildRequires:  %{python_module django-filter >= 2.3.0}
+BuildRequires:  %{python_module base >= 3.9}
+BuildRequires:  %{python_module django-filter >= 25.1}
 BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module openpyxl}
 BuildRequires:  %{python_module psycopg2}

++++++ django-tables2-2.7.0.tar.gz -> django-tables2-2.8.0.tar.gz ++++++
++++ 3041 lines of diff (skipped)

++++++ python-django-tables2-tests-noxls.patch ++++++
--- /var/tmp/diff_new_pack.xshTKg/_old  2026-03-30 18:35:31.229646869 +0200
+++ /var/tmp/diff_new_pack.xshTKg/_new  2026-03-30 18:35:31.241647371 +0200
@@ -1,7 +1,8 @@
-diff -ur django-tables2-2.7.0.orig/tests/test_export.py 
django-tables2-2.7.0/tests/test_export.py
---- django-tables2-2.7.0.orig/tests/test_export.py     2025-01-20 
22:02:07.563751814 +0100
-+++ django-tables2-2.7.0/tests/test_export.py  2025-01-20 22:06:11.512640850 
+0100
-@@ -24,6 +24,10 @@
+Index: python-django-tables2/tests/test_export.py
+===================================================================
+--- python-django-tables2.orig/tests/test_export.py
++++ python-django-tables2/tests/test_export.py
+@@ -24,6 +24,10 @@ try:
  except ImproperlyConfigured:
      TableExport = None
  
@@ -12,7 +13,7 @@
  
  NAMES = [("Yildiz", "van der Kuil"), ("Lindi", "Hakvoort"), ("Gerardo", 
"Castelein")]
  NAMES_LIST_OF_DICTS = [
-@@ -255,6 +259,7 @@
+@@ -253,6 +257,7 @@ class AdvancedExportViewTest(TestCase):
          Occupation.objects.create(name="Timmerman", boolean=True, 
region=vlaanderen)
          Occupation.objects.create(name="Ecoloog", boolean=False, 
region=vlaanderen)
  
@@ -20,15 +21,15 @@
      def test_should_work_with_foreign_keys(self):
          response = OccupationView.as_view()(build_request("/?_export=xls"))
          data = response.content
-@@ -263,6 +268,7 @@
+@@ -261,6 +266,7 @@ class AdvancedExportViewTest(TestCase):
          self.assertTrue(data.find(b"Ecoloog"))
          self.assertTrue(data.find(b"Timmerman"))
  
 +    @skipIf(xlwt is None, "tablib[xls] (xlwt) is required to run this export 
test")
      def test_datetime_xls(self):
          """Verify datatime objects can be exported to xls."""
- 
-@@ -375,8 +381,9 @@
+         utc = pytz.timezone("UTC")
+@@ -371,8 +377,9 @@ class UnicodeExportViewTest(TestCase):
          self.assertEqual(response.getvalue().decode("utf8"), expected_csv)
  
          # smoke tests, hard to test this binary format for string containment
@@ -40,7 +41,7 @@
  
          response = OccupationView.as_view()(build_request("/?_export=xlsx"))
          self.assertGreater(len(response.content), len(expected_csv))
-@@ -391,6 +398,7 @@
+@@ -387,6 +394,7 @@ class UnicodeExportViewTest(TestCase):
          response = exporter.response()
          self.assertEqual(response.getvalue().decode("utf8"), unicode_header + 
"\r\n")
  

Reply via email to