Hello community,
here is the log from the commit of package python-django-contrib-comments for
openSUSE:Leap:15.2 checked in at 2020-02-23 16:47:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-django-contrib-comments (Old)
and
/work/SRC/openSUSE:Leap:15.2/.python-django-contrib-comments.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-contrib-comments"
Sun Feb 23 16:47:17 2020 rev:3 rq:776566 version:1.9.2
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-django-contrib-comments/python-django-contrib-comments.changes
2020-01-15 15:48:36.867431874 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-django-contrib-comments.new.26092/python-django-contrib-comments.changes
2020-02-23 16:47:18.270301377 +0100
@@ -1,0 +2,7 @@
+Tue Jan 7 09:32:42 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.9.2:
+ * Prevented deprecation warnings with Django 3.0.
+ * Updated Danish and Indonesian translations.
+
+-------------------------------------------------------------------
Old:
----
django-contrib-comments-1.9.1.tar.gz
New:
----
django-contrib-comments-1.9.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-contrib-comments.spec ++++++
--- /var/tmp/diff_new_pack.eqCHfv/_old 2020-02-23 16:47:18.878302546 +0100
+++ /var/tmp/diff_new_pack.eqCHfv/_new 2020-02-23 16:47:18.890302569 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-contrib-comments
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,27 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-django-contrib-comments
-Version: 1.9.1
+Version: 1.9.2
Release: 0
-License: BSD-3-Clause
Summary: Framework for attaching comments to Django models
-Url: https://github.com/django/django-contrib-comments
-Group: Development/Languages/Python
+License: BSD-3-Clause
+URL: https://github.com/django/django-contrib-comments
Source:
https://files.pythonhosted.org/packages/source/d/django-contrib-comments/django-contrib-comments-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
-# SECTION test requirements
-BuildRequires: %{python_module Django >= 1.11}
-# /SECTION
BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-Django >= 1.11
BuildArch: noarch
-
+# SECTION test requirements
+BuildRequires: %{python_module Django >= 1.11}
+# /SECTION
%python_subpackages
%description
++++++ django-contrib-comments-1.9.1.tar.gz ->
django-contrib-comments-1.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-contrib-comments-1.9.1/HISTORY.rst
new/django-contrib-comments-1.9.2/HISTORY.rst
--- old/django-contrib-comments-1.9.1/HISTORY.rst 2019-02-20
22:38:39.000000000 +0100
+++ new/django-contrib-comments-1.9.2/HISTORY.rst 2019-12-03
17:37:08.000000000 +0100
@@ -3,6 +3,14 @@
History
=======
+1.9.2 (2019-12-03)
+------------------
+
+* WARNING: This *is* the last version supporting Python 2.
+* Confirmed support for Django 3.0.
+* Prevented deprecation warnings with Django 3.0.
+* Updated Danish and Indonesian translations.
+
1.9.1 (2019-02-20)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-contrib-comments-1.9.1/PKG-INFO
new/django-contrib-comments-1.9.2/PKG-INFO
--- old/django-contrib-comments-1.9.1/PKG-INFO 2019-02-20 22:44:18.000000000
+0100
+++ new/django-contrib-comments-1.9.2/PKG-INFO 2019-12-03 17:39:22.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: django-contrib-comments
-Version: 1.9.1
+Version: 1.9.2
Summary: The code formerly known as django.contrib.comments.
Home-page: https://github.com/django/django-contrib-comments
Author: Django Software Foundation
@@ -30,6 +30,14 @@
History
=======
+ 1.9.2 (2019-12-03)
+ ------------------
+
+ * WARNING: This *is* the last version supporting Python 2.
+ * Confirmed support for Django 3.0.
+ * Prevented deprecation warnings with Django 3.0.
+ * Updated Danish and Indonesian translations.
+
1.9.1 (2019-02-20)
------------------
@@ -127,6 +135,7 @@
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
+Classifier: Framework :: Django :: 3.0
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
@@ -134,7 +143,5 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/abstracts.py
new/django-contrib-comments-1.9.2/django_comments/abstracts.py
--- old/django-contrib-comments-1.9.1/django_comments/abstracts.py
2018-08-04 22:25:29.000000000 +0200
+++ new/django-contrib-comments-1.9.2/django_comments/abstracts.py
2019-12-03 17:12:16.000000000 +0100
@@ -7,8 +7,8 @@
from django.db import models
from django.urls import reverse
from django.utils import timezone
-from django.utils.encoding import python_2_unicode_compatible
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
+from six import python_2_unicode_compatible
from .managers import CommentManager
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/admin.py
new/django-contrib-comments-1.9.2/django_comments/admin.py
--- old/django-contrib-comments-1.9.1/django_comments/admin.py 2016-09-29
12:04:30.000000000 +0200
+++ new/django-contrib-comments-1.9.2/django_comments/admin.py 2019-12-03
17:12:16.000000000 +0100
@@ -2,7 +2,7 @@
from django.contrib import admin
from django.contrib.auth import get_user_model
-from django.utils.translation import ugettext_lazy as _, ungettext
+from django.utils.translation import gettext_lazy as _, ngettext
from django_comments import get_model
from django_comments.views.moderation import perform_flag, perform_approve,
perform_delete
@@ -56,19 +56,19 @@
def flag_comments(self, request, queryset):
self._bulk_flag(request, queryset, perform_flag,
- lambda n: ungettext('flagged', 'flagged', n))
+ lambda n: ngettext('flagged', 'flagged', n))
flag_comments.short_description = _("Flag selected comments")
def approve_comments(self, request, queryset):
self._bulk_flag(request, queryset, perform_approve,
- lambda n: ungettext('approved', 'approved', n))
+ lambda n: ngettext('approved', 'approved', n))
approve_comments.short_description = _("Approve selected comments")
def remove_comments(self, request, queryset):
self._bulk_flag(request, queryset, perform_delete,
- lambda n: ungettext('removed', 'removed', n))
+ lambda n: ngettext('removed', 'removed', n))
remove_comments.short_description = _("Remove selected comments")
@@ -82,7 +82,7 @@
action(request, comment)
n_comments += 1
- msg = ungettext('%(count)s comment was successfully %(action)s.',
+ msg = ngettext('%(count)s comment was successfully %(action)s.',
'%(count)s comments were successfully %(action)s.',
n_comments)
self.message_user(request, msg % {'count': n_comments, 'action':
done_message(n_comments)})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/feeds.py
new/django-contrib-comments-1.9.2/django_comments/feeds.py
--- old/django-contrib-comments-1.9.1/django_comments/feeds.py 2016-04-29
20:31:30.000000000 +0200
+++ new/django-contrib-comments-1.9.2/django_comments/feeds.py 2019-12-03
17:12:16.000000000 +0100
@@ -1,6 +1,6 @@
from django.contrib.sites.shortcuts import get_current_site
from django.contrib.syndication.views import Feed
-from django.utils.translation import ugettext as _
+from django.utils.translation import gettext as _
import django_comments
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/forms.py
new/django-contrib-comments-1.9.2/django_comments/forms.py
--- old/django-contrib-comments-1.9.1/django_comments/forms.py 2017-01-06
17:51:23.000000000 +0100
+++ new/django-contrib-comments-1.9.2/django_comments/forms.py 2019-12-03
17:12:16.000000000 +0100
@@ -5,10 +5,10 @@
from django.contrib.contenttypes.models import ContentType
from django.forms.utils import ErrorDict
from django.utils.crypto import salted_hmac, constant_time_compare
-from django.utils.encoding import force_text
+from django.utils.encoding import force_str
from django.utils.text import get_text_list
from django.utils import timezone
-from django.utils.translation import pgettext_lazy, ungettext, ugettext,
ugettext_lazy as _
+from django.utils.translation import pgettext_lazy, ngettext, gettext,
gettext_lazy as _
from . import get_model
@@ -139,7 +139,7 @@
"""
return dict(
content_type=ContentType.objects.get_for_model(self.target_object),
- object_pk=force_text(self.target_object._get_pk_val()),
+ object_pk=force_str(self.target_object._get_pk_val()),
user_name=self.cleaned_data["name"],
user_email=self.cleaned_data["email"],
user_url=self.cleaned_data["url"],
@@ -180,12 +180,12 @@
getattr(settings, 'PROFANITIES_LIST', False)):
bad_words = [w for w in settings.PROFANITIES_LIST if w in
comment.lower()]
if bad_words:
- raise forms.ValidationError(ungettext(
+ raise forms.ValidationError(ngettext(
"Watch your mouth! The word %s is not allowed here.",
"Watch your mouth! The words %s are not allowed here.",
len(bad_words)) % get_text_list(
['"%s%s%s"' % (i[0], '-' * (len(i) - 2), i[-1])
- for i in bad_words], ugettext('and')))
+ for i in bad_words], gettext('and')))
return comment
Binary files
old/django-contrib-comments-1.9.1/django_comments/locale/da/LC_MESSAGES/django.mo
and
new/django-contrib-comments-1.9.2/django_comments/locale/da/LC_MESSAGES/django.mo
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/locale/da/LC_MESSAGES/django.po
new/django-contrib-comments-1.9.2/django_comments/locale/da/LC_MESSAGES/django.po
---
old/django-contrib-comments-1.9.1/django_comments/locale/da/LC_MESSAGES/django.po
2019-02-20 22:25:42.000000000 +0100
+++
new/django-contrib-comments-1.9.2/django_comments/locale/da/LC_MESSAGES/django.po
2019-12-03 17:31:08.000000000 +0100
@@ -2,14 +2,15 @@
#
# Translators:
# Translators:
+# Erik Wognsen <[email protected]>, 2019
# Jannis Leidel <[email protected]>, 2011
msgid ""
msgstr ""
"Project-Id-Version: django-contrib-comments\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-06-22 17:28+0200\n"
-"PO-Revision-Date: 2015-06-22 15:43+0000\n"
-"Last-Translator: Claude Paroz <[email protected]>\n"
+"POT-Creation-Date: 2016-02-10 09:06+0100\n"
+"PO-Revision-Date: 2019-07-05 20:02+0000\n"
+"Last-Translator: Erik Wognsen <[email protected]>\n"
"Language-Team: Danish
(http://www.transifex.com/django/django-contrib-comments/language/da/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -75,7 +76,7 @@
#: forms.py:105
msgctxt "Person name"
msgid "Name"
-msgstr ""
+msgstr "Navn"
#: forms.py:97
msgid "Email address"
@@ -202,6 +203,11 @@
msgid "comment flags"
msgstr "kommentarflag"
+#: moderation.py:253
+#, python-format
+msgid "[%(site)s] New comment posted on \"%(object)s\""
+msgstr "[%(site)s] Ny kommentar indsendt på \"%(object)s\""
+
#: templates/comments/approve.html:4
msgid "Approve a comment"
msgstr "Godkend en kommentar"
@@ -279,8 +285,8 @@
#: templates/comments/preview.html:11
msgid "Please correct the error below"
msgid_plural "Please correct the errors below"
-msgstr[0] ""
-msgstr[1] ""
+msgstr[0] "Ret venligst fejlen herunder"
+msgstr[1] "Ret venligst fejlene herunder"
#: templates/comments/preview.html:16
msgid "Post your comment"
Binary files
old/django-contrib-comments-1.9.1/django_comments/locale/id/LC_MESSAGES/django.mo
and
new/django-contrib-comments-1.9.2/django_comments/locale/id/LC_MESSAGES/django.mo
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/locale/id/LC_MESSAGES/django.po
new/django-contrib-comments-1.9.2/django_comments/locale/id/LC_MESSAGES/django.po
---
old/django-contrib-comments-1.9.1/django_comments/locale/id/LC_MESSAGES/django.po
2019-02-20 22:25:42.000000000 +0100
+++
new/django-contrib-comments-1.9.2/django_comments/locale/id/LC_MESSAGES/django.po
2019-12-03 17:31:08.000000000 +0100
@@ -5,13 +5,14 @@
# Fery Setiawan <[email protected]>, 2015-2016
# Jannis Leidel <[email protected]>, 2011
# rodin <[email protected]>, 2011
+# sage <[email protected]>, 2019
msgid ""
msgstr ""
"Project-Id-Version: django-contrib-comments\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-02-10 09:06+0100\n"
-"PO-Revision-Date: 2016-08-23 04:31+0000\n"
-"Last-Translator: Fery Setiawan <[email protected]>\n"
+"PO-Revision-Date: 2019-11-18 03:34+0000\n"
+"Last-Translator: sage <[email protected]>\n"
"Language-Team: Indonesian
(http://www.transifex.com/django/django-contrib-comments/language/id/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -77,7 +78,7 @@
#: forms.py:97
msgid "Email address"
-msgstr "Alamat email"
+msgstr "Alamat surel"
#: forms.py:98
msgid "URL"
@@ -120,7 +121,7 @@
#: models.py:56
msgid "user's email address"
-msgstr "alamat email pengguna"
+msgstr "alamat surel pengguna"
#: models.py:57
msgid "user's URL"
@@ -171,7 +172,7 @@
msgid ""
"This comment was posted by an authenticated user and thus the email is read-"
"only."
-msgstr "Komentar ini dikirim oleh seorang pengguna terautentikasi sehingga
alamat email tidak dapat diubah."
+msgstr "Komentar ini dikirim oleh seorang pengguna terautentikasi sehingga
alamat surel tidak dapat diubah."
#: models.py:160
#, python-format
@@ -202,7 +203,7 @@
#: moderation.py:253
#, python-format
msgid "[%(site)s] New comment posted on \"%(object)s\""
-msgstr "[%(site)s] Komentar baru ditempatkan pada \"%(object)s\""
+msgstr "[%(site)s] Komentar baru dikirim pada \"%(object)s\""
#: templates/comments/approve.html:4
msgid "Approve a comment"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/managers.py
new/django-contrib-comments-1.9.2/django_comments/managers.py
--- old/django-contrib-comments-1.9.1/django_comments/managers.py
2016-04-29 20:32:05.000000000 +0200
+++ new/django-contrib-comments-1.9.2/django_comments/managers.py
2019-12-03 17:12:16.000000000 +0100
@@ -1,6 +1,6 @@
from django.db import models
from django.contrib.contenttypes.models import ContentType
-from django.utils.encoding import force_text
+from django.utils.encoding import force_str
class CommentManager(models.Manager):
@@ -18,5 +18,5 @@
ct = ContentType.objects.get_for_model(model)
qs = self.get_queryset().filter(content_type=ct)
if isinstance(model, models.Model):
- qs = qs.filter(object_pk=force_text(model._get_pk_val()))
+ qs = qs.filter(object_pk=force_str(model._get_pk_val()))
return qs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/models.py
new/django-contrib-comments-1.9.2/django_comments/models.py
--- old/django-contrib-comments-1.9.1/django_comments/models.py 2016-10-02
17:18:39.000000000 +0200
+++ new/django-contrib-comments-1.9.2/django_comments/models.py 2019-12-03
17:12:16.000000000 +0100
@@ -1,8 +1,8 @@
from django.conf import settings
from django.db import models
from django.utils import timezone
-from django.utils.encoding import python_2_unicode_compatible
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
+from six import python_2_unicode_compatible
from .abstracts import (
COMMENT_MAX_LENGTH, BaseCommentAbstractModel, CommentAbstractModel,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/moderation.py
new/django-contrib-comments-1.9.2/django_comments/moderation.py
--- old/django-contrib-comments-1.9.1/django_comments/moderation.py
2017-01-18 11:45:23.000000000 +0100
+++ new/django-contrib-comments-1.9.2/django_comments/moderation.py
2019-12-03 17:12:16.000000000 +0100
@@ -62,7 +62,7 @@
from django.db.models.base import ModelBase
from django.template import loader
from django.utils import timezone
-from django.utils.translation import ugettext as _
+from django.utils.translation import gettext as _
import django_comments
from django_comments import signals
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_comments/templatetags/comments.py
new/django-contrib-comments-1.9.2/django_comments/templatetags/comments.py
--- old/django-contrib-comments-1.9.1/django_comments/templatetags/comments.py
2017-01-06 17:51:23.000000000 +0100
+++ new/django-contrib-comments-1.9.2/django_comments/templatetags/comments.py
2019-12-03 17:12:16.000000000 +0100
@@ -3,7 +3,7 @@
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from django.contrib.sites.shortcuts import get_current_site
-from django.utils.encoding import smart_text
+from django.utils.encoding import smart_str
import django_comments
@@ -85,7 +85,7 @@
qs = self.comment_model.objects.filter(
content_type=ctype,
- object_pk=smart_text(object_pk),
+ object_pk=smart_str(object_pk),
site__pk=site_id,
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_contrib_comments.egg-info/PKG-INFO
new/django-contrib-comments-1.9.2/django_contrib_comments.egg-info/PKG-INFO
--- old/django-contrib-comments-1.9.1/django_contrib_comments.egg-info/PKG-INFO
2019-02-20 22:44:17.000000000 +0100
+++ new/django-contrib-comments-1.9.2/django_contrib_comments.egg-info/PKG-INFO
2019-12-03 17:39:21.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: django-contrib-comments
-Version: 1.9.1
+Version: 1.9.2
Summary: The code formerly known as django.contrib.comments.
Home-page: https://github.com/django/django-contrib-comments
Author: Django Software Foundation
@@ -30,6 +30,14 @@
History
=======
+ 1.9.2 (2019-12-03)
+ ------------------
+
+ * WARNING: This *is* the last version supporting Python 2.
+ * Confirmed support for Django 3.0.
+ * Prevented deprecation warnings with Django 3.0.
+ * Updated Danish and Indonesian translations.
+
1.9.1 (2019-02-20)
------------------
@@ -127,6 +135,7 @@
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
+Classifier: Framework :: Django :: 3.0
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
@@ -134,7 +143,5 @@
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/django_contrib_comments.egg-info/requires.txt
new/django-contrib-comments-1.9.2/django_contrib_comments.egg-info/requires.txt
---
old/django-contrib-comments-1.9.1/django_contrib_comments.egg-info/requires.txt
2019-02-20 22:44:17.000000000 +0100
+++
new/django-contrib-comments-1.9.2/django_contrib_comments.egg-info/requires.txt
2019-12-03 17:39:21.000000000 +0100
@@ -1 +1,2 @@
Django>=1.11
+six
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-contrib-comments-1.9.1/setup.py
new/django-contrib-comments-1.9.2/setup.py
--- old/django-contrib-comments-1.9.1/setup.py 2019-02-20 22:39:12.000000000
+0100
+++ new/django-contrib-comments-1.9.2/setup.py 2019-12-03 17:17:08.000000000
+0100
@@ -10,7 +10,7 @@
setup(
name='django-contrib-comments',
- version='1.9.1',
+ version='1.9.2',
url="https://github.com/django/django-contrib-comments",
description='The code formerly known as django.contrib.comments.',
long_description=long_description,
@@ -27,6 +27,7 @@
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
+ 'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
@@ -34,13 +35,11 @@
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
- 'Programming Language :: Python :: 3.4',
- 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
test_suite='tests.runtests.main',
- install_requires=['Django>=1.11']
+ install_requires=['Django>=1.11', 'six']
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-contrib-comments-1.9.1/tests/testapp/models.py
new/django-contrib-comments-1.9.2/tests/testapp/models.py
--- old/django-contrib-comments-1.9.1/tests/testapp/models.py 2016-04-29
20:31:30.000000000 +0200
+++ new/django-contrib-comments-1.9.2/tests/testapp/models.py 2019-12-03
17:12:16.000000000 +0100
@@ -6,7 +6,7 @@
from __future__ import unicode_literals
from django.db import models
-from django.utils.encoding import python_2_unicode_compatible
+from six import python_2_unicode_compatible
@python_2_unicode_compatible