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 2023-02-17 16:45:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-tables2 (Old)
and /work/SRC/openSUSE:Factory/.python-django-tables2.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-tables2"
Fri Feb 17 16:45:16 2023 rev:6 rq:1066274 version:2.5.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-tables2/python-django-tables2.changes
2023-01-08 21:25:45.991328023 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-tables2.new.22824/python-django-tables2.changes
2023-02-17 16:45:28.395020848 +0100
@@ -1,0 +2,7 @@
+Thu Feb 16 21:11:41 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.5.2:
+ * Assign `request` to table before anything else in
+ `RequestConfig.configure()` (#888) fixes: #865
+
+-------------------------------------------------------------------
Old:
----
django-tables2-2.5.1.tar.gz
New:
----
django-tables2-2.5.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-tables2.spec ++++++
--- /var/tmp/diff_new_pack.X5h1Ul/_old 2023-02-17 16:45:29.047024519 +0100
+++ /var/tmp/diff_new_pack.X5h1Ul/_new 2023-02-17 16:45:29.047024519 +0100
@@ -19,7 +19,7 @@
%define skip_python2 1
%define skip_python36 1
Name: python-django-tables2
-Version: 2.5.1
+Version: 2.5.2
Release: 0
Summary: Table/data-grid framework for Django
License: BSD-2-Clause
++++++ django-tables2-2.5.1.tar.gz -> django-tables2-2.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/.github/workflows/ci.yml
new/django-tables2-2.5.2/.github/workflows/ci.yml
--- old/django-tables2-2.5.1/.github/workflows/ci.yml 2023-01-07
15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/.github/workflows/ci.yml 2023-02-07
08:47:16.000000000 +0100
@@ -4,7 +4,7 @@
black:
runs-on: ubuntu-latest
steps:
- - uses: actions/[email protected]
+ - uses: actions/[email protected]
- uses: actions/checkout@v3
- run: python -m pip install --upgrade black
- run: black --check .
@@ -12,7 +12,7 @@
flake8:
runs-on: ubuntu-latest
steps:
- - uses: actions/[email protected]
+ - uses: actions/[email protected]
- uses: actions/checkout@v3
- run: python -m pip install flake8
- run: flake8
@@ -20,7 +20,7 @@
isort:
runs-on: ubuntu-latest
steps:
- - uses: actions/[email protected]
+ - uses: actions/[email protected]
with:
python-version: 3.8
- uses: actions/checkout@v3
@@ -45,11 +45,11 @@
steps:
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/[email protected]
+ uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3
- - uses: actions/[email protected]
+ - uses: actions/[email protected]
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/CHANGELOG.md
new/django-tables2-2.5.2/CHANGELOG.md
--- old/django-tables2-2.5.1/CHANGELOG.md 2023-01-07 15:01:27.000000000
+0100
+++ new/django-tables2-2.5.2/CHANGELOG.md 2023-02-07 08:47:16.000000000
+0100
@@ -1,5 +1,8 @@
# Change log
+# 2.5.2 (2023-02-07)
+- Assign `request` to table before anything else in
`RequestConfig.configure()`
([#888](https://github.com/jieter/django-tables2/pull/888)) fixes:
[#865](https://github.com/jieter/django-tables2/issues/865)
+
# 2.5.1 (2023-01-07)
- `TableMixinBase`: implement `get_paginate_by`
([#811](https://github.com/jieter/django-tables2/pull/811)) by
[@Alirezaja1384](https://github.com/Alirezaja1384)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/django_tables2/__init__.py
new/django-tables2-2.5.2/django_tables2/__init__.py
--- old/django-tables2-2.5.1/django_tables2/__init__.py 2023-01-07
15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/django_tables2/__init__.py 2023-02-07
08:47:16.000000000 +0100
@@ -20,7 +20,7 @@
from .utils import A
from .views import MultiTableMixin, SingleTableMixin, SingleTableView
-__version__ = "2.5.1"
+__version__ = "2.5.2"
__all__ = (
"Table",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/django_tables2/config.py
new/django-tables2-2.5.2/django_tables2/config.py
--- old/django-tables2-2.5.1/django_tables2/config.py 2023-01-07
15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/django_tables2/config.py 2023-02-07
08:47:16.000000000 +0100
@@ -37,6 +37,8 @@
Arguments:
table (`~.Table`): table to be configured
"""
+ table.request = self.request
+
order_by = self.request.GET.getlist(table.prefixed_order_by_field)
if order_by:
table.order_by = order_by
@@ -64,6 +66,4 @@
except EmptyPage:
table.page =
table.paginator.page(table.paginator.num_pages)
- table.request = self.request
-
return table
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tables2-2.5.1/example/app/migrations/0001_initial.py
new/django-tables2-2.5.2/example/app/migrations/0001_initial.py
--- old/django-tables2-2.5.1/example/app/migrations/0001_initial.py
2023-01-07 15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/example/app/migrations/0001_initial.py
2023-02-07 08:47:16.000000000 +0100
@@ -6,7 +6,6 @@
class Migration(migrations.Migration):
-
initial = True
dependencies = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tables2-2.5.1/example/app/migrations/0002_auto_20180416_0959.py
new/django-tables2-2.5.2/example/app/migrations/0002_auto_20180416_0959.py
--- old/django-tables2-2.5.1/example/app/migrations/0002_auto_20180416_0959.py
2023-01-07 15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/example/app/migrations/0002_auto_20180416_0959.py
2023-02-07 08:47:16.000000000 +0100
@@ -5,7 +5,6 @@
class Migration(migrations.Migration):
-
dependencies = [("app", "0001_initial")]
operations = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tables2-2.5.1/example/app/migrations/0003_auto_20180416_1020.py
new/django-tables2-2.5.2/example/app/migrations/0003_auto_20180416_1020.py
--- old/django-tables2-2.5.1/example/app/migrations/0003_auto_20180416_1020.py
2023-01-07 15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/example/app/migrations/0003_auto_20180416_1020.py
2023-02-07 08:47:16.000000000 +0100
@@ -4,7 +4,6 @@
class Migration(migrations.Migration):
-
dependencies = [("app", "0002_auto_20180416_0959")]
operations = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tables2-2.5.1/example/app/migrations/0004_auto_fix_deprecation_warnings.py
new/django-tables2-2.5.2/example/app/migrations/0004_auto_fix_deprecation_warnings.py
---
old/django-tables2-2.5.1/example/app/migrations/0004_auto_fix_deprecation_warnings.py
2023-01-07 15:01:27.000000000 +0100
+++
new/django-tables2-2.5.2/example/app/migrations/0004_auto_fix_deprecation_warnings.py
2023-02-07 08:47:16.000000000 +0100
@@ -4,7 +4,6 @@
class Migration(migrations.Migration):
-
dependencies = [
("app", "0003_auto_20180416_1020"),
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/example/app/tables.py
new/django-tables2-2.5.2/example/app/tables.py
--- old/django-tables2-2.5.1/example/app/tables.py 2023-01-07
15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/example/app/tables.py 2023-02-07
08:47:16.000000000 +0100
@@ -73,7 +73,6 @@
class SemanticTable(tables.Table):
-
country = tables.RelatedLinkColumn()
class Meta:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tables2-2.5.1/tests/app/migrations/0001_initial.py
new/django-tables2-2.5.2/tests/app/migrations/0001_initial.py
--- old/django-tables2-2.5.1/tests/app/migrations/0001_initial.py
2023-01-07 15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/tests/app/migrations/0001_initial.py
2023-02-07 08:47:16.000000000 +0100
@@ -5,7 +5,6 @@
class Migration(migrations.Migration):
-
initial = True
dependencies = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/tests/test_core.py
new/django-tables2-2.5.2/tests/test_core.py
--- old/django-tables2-2.5.1/tests/test_core.py 2023-01-07 15:01:27.000000000
+0100
+++ new/django-tables2-2.5.2/tests/test_core.py 2023-02-07 08:47:16.000000000
+0100
@@ -618,7 +618,6 @@
self.assertEqual(list(table.as_values()), expected)
def test_render_FOO_exception(self):
-
message = "Custom render-method fails"
class Table(tables.Table):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tables2-2.5.1/tests/test_extra_columns.py
new/django-tables2-2.5.2/tests/test_extra_columns.py
--- old/django-tables2-2.5.1/tests/test_extra_columns.py 2023-01-07
15:01:27.000000000 +0100
+++ new/django-tables2-2.5.2/tests/test_extra_columns.py 2023-02-07
08:47:16.000000000 +0100
@@ -19,13 +19,6 @@
class DynamicColumnsTest(TestCase):
-
- # shim can be dropped when we drop support for python 2.7 and 3.4
- if not hasattr(TestCase, "assertRegex"):
- assertRegex = TestCase.assertRegexpMatches
- if not hasattr(TestCase, "assertNotRegex"):
- assertNotRegex = TestCase.assertNotRegexpMatches
-
def test_dynamically_adding_columns(self):
"""
When adding columns to self.base_columns, they were actually added to