Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-jinja for
openSUSE:Factory checked in at 2022-11-25 13:12:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-jinja (Old)
and /work/SRC/openSUSE:Factory/.python-django-jinja.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-jinja"
Fri Nov 25 13:12:14 2022 rev:6 rq:1037969 version:2.10.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-django-jinja/python-django-jinja.changes
2022-05-10 15:12:08.327585801 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-jinja.new.1597/python-django-jinja.changes
2022-11-25 13:22:29.375464380 +0100
@@ -1,0 +2,9 @@
+Thu Nov 24 18:02:34 UTC 2022 - Daniel Garcia <[email protected]>
+
+- Remove python_module macro definition
+- Update to 2.10.2:
+ - Fix compatibility with Jinja2 3.1 in tests (#296).
+- 2.10.1:
+ - Update links in documentation to point to new home of Jinja2 docs (#295).
+
+-------------------------------------------------------------------
Old:
----
2.10.0.tar.gz
New:
----
2.10.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-jinja.spec ++++++
--- /var/tmp/diff_new_pack.ucppU1/_old 2022-11-25 13:22:29.959467531 +0100
+++ /var/tmp/diff_new_pack.ucppU1/_new 2022-11-25 13:22:29.963467553 +0100
@@ -16,12 +16,11 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python36 1
%define modname django_jinja
%bcond_without python2
Name: python-django-jinja
-Version: 2.10.0
+Version: 2.10.2
Release: 0
Summary: Jinja2 templating language integrated in Django
License: BSD-3-Clause
++++++ 2.10.0.tar.gz -> 2.10.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-jinja-2.10.0/CHANGES.adoc
new/django-jinja-2.10.2/CHANGES.adoc
--- old/django-jinja-2.10.0/CHANGES.adoc 2021-12-10 23:19:25.000000000
+0100
+++ new/django-jinja-2.10.2/CHANGES.adoc 2022-05-13 02:11:18.000000000
+0200
@@ -1,6 +1,23 @@
Changelog
=========
+
+Version 2.10.2
+--------------
+
+_Released May 12th, 2022_
+
+- Fix compatibility with Jinja2 3.1 in tests (#296).
+
+
+Version 2.10.1
+--------------
+
+_Released May 12th, 2022_
+
+- Update links in documentation to point to new home of Jinja2 docs (#295).
+
+
Version 2.10.0
--------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-jinja-2.10.0/django_jinja/contrib/_subdomains/templatetags/subdomainurls.py
new/django-jinja-2.10.2/django_jinja/contrib/_subdomains/templatetags/subdomainurls.py
---
old/django-jinja-2.10.0/django_jinja/contrib/_subdomains/templatetags/subdomainurls.py
2021-12-10 23:19:25.000000000 +0100
+++
new/django-jinja-2.10.2/django_jinja/contrib/_subdomains/templatetags/subdomainurls.py
2022-05-13 02:11:18.000000000 +0200
@@ -1,9 +1,9 @@
from django_jinja import library
-from jinja2 import contextfunction
+from jinja2 import pass_context
from subdomains.templatetags.subdomainurls import url as subdomain_url
@library.global_function
-@contextfunction
+@pass_context
def url(context, *args, **kwargs):
return subdomain_url(context, *args, **kwargs)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-jinja-2.10.0/doc/content.adoc
new/django-jinja-2.10.2/doc/content.adoc
--- old/django-jinja-2.10.0/doc/content.adoc 2021-12-10 23:19:25.000000000
+0100
+++ new/django-jinja-2.10.2/doc/content.adoc 2022-05-13 02:11:18.000000000
+0200
@@ -1,6 +1,6 @@
= django-jinja - jinja2 backend for Django
Andrey Antukh, <[email protected]>
-2.10.0
+2.10.2
:toc: left
:!numbered:
:source-highlighter: pygments
@@ -296,7 +296,7 @@
=== Set policies
-To set
link:https://jinja.palletsprojects.com/en/3.0.x/api/#policies[environment
policies] introduced in Jinja2 2.9:
+To set
link:https://jinja.palletsprojects.com/en/latest/api/#policies[environment
policies] introduced in Jinja2 2.9:
[source, python]
----
@@ -331,7 +331,7 @@
=== Gettext Style
Jinja2 implements two styles of gettext. You can read about it here:
-http://jinja.pocoo.org/docs/dev/extensions/#newstyle-gettext.
+https://jinja.palletsprojects.com/en/latest/extensions/#new-style-gettext
You can switch to concrete style using the `newstyle_gettext` entry on
backend options:
@@ -438,7 +438,7 @@
=== i18n support
django-jinja inherits the jinja2 approach for handling translation strings.
You can read more about
-it here: http://jinja.pocoo.org/docs/dev/templates/#i18n
+it here: https://jinja.palletsprojects.com/en/latest/templates/#i18n
[source, html+jinja]
----
@@ -496,7 +496,7 @@
return name.lower()
@library.filter
[email protected]
[email protected]_context
def replace(context, value, x, y):
"""
Filter with template context. Usage: {{ 'Hello'|replace('H','M') }}
@@ -546,8 +546,7 @@
== Known Issues
-- Previously to django 1.8, some way of using i18n related functions are not
properly
- parsed with makemessages.
+- The above handler500 is broken as of django 2.2. see:
https:github.com/niwinz/django-jinja/issues/234
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-jinja-2.10.0/setup.py
new/django-jinja-2.10.2/setup.py
--- old/django-jinja-2.10.0/setup.py 2021-12-10 23:19:25.000000000 +0100
+++ new/django-jinja-2.10.2/setup.py 2022-05-13 02:11:18.000000000 +0200
@@ -4,7 +4,7 @@
setup(
name = "django-jinja",
- version = "2.10.0",
+ version = "2.10.2",
description = "Jinja2 templating language integrated in Django.",
long_description = open("README.rst").read(),
long_description_content_type='text/x-rst',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-jinja-2.10.0/testing/testapp/templatetags/sample_addons.py
new/django-jinja-2.10.2/testing/testapp/templatetags/sample_addons.py
--- old/django-jinja-2.10.0/testing/testapp/templatetags/sample_addons.py
2021-12-10 23:19:25.000000000 +0100
+++ new/django-jinja-2.10.2/testing/testapp/templatetags/sample_addons.py
2022-05-13 02:11:18.000000000 +0200
@@ -8,7 +8,7 @@
@library.filter
[email protected]
[email protected]_context
def replace(context, value, x, y):
return value.replace(x, y)