Accepting request 1037971 from devel:languages:python:django
- Fix tests problem related to jinja2 version # gh#django-compressor/django-compressor#1139 # gh#django-compressor/django-compressor@bcdd21956a84 OBS-URL: https://build.opensuse.org/request/show/1037971 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-compressor?expand=0&rev=8
This commit is contained in:
commit
14b12c1918
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 24 18:26:17 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Fix tests problem related to jinja2 version
|
||||||
|
# gh#django-compressor/django-compressor#1139
|
||||||
|
# gh#django-compressor/django-compressor@bcdd21956a84
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 4 17:45:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Thu Aug 4 17:45:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python3-%{**}}
|
|
||||||
%define mod_name django_compressor
|
%define mod_name django_compressor
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-django-compressor
|
Name: python-django-compressor
|
||||||
@ -66,6 +65,10 @@ template tag.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{mod_name}-%{version}
|
%setup -q -n %{mod_name}-%{version}
|
||||||
sed -i '1{/env python/d}' compressor/tests/precompiler.py
|
sed -i '1{/env python/d}' compressor/tests/precompiler.py
|
||||||
|
# Fix broken tests related to jijna2
|
||||||
|
# gh#django-compressor/django-compressor#1139
|
||||||
|
# gh#django-compressor/django-compressor@bcdd21956a84
|
||||||
|
sed -i '/jinja2.ext.with_/d' compressor/tests/test_offline.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user