Hello community, here is the log from the commit of package python-django-guardian for openSUSE:Factory checked in at 2019-09-17 13:37:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-guardian (Old) and /work/SRC/openSUSE:Factory/.python-django-guardian.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-guardian" Tue Sep 17 13:37:33 2019 rev:15 rq:731218 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-guardian/python-django-guardian.changes 2019-05-06 21:17:27.993106313 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-guardian.new.7948/python-django-guardian.changes 2019-09-17 13:37:36.513840951 +0200 @@ -1,0 +2,9 @@ +Mon Sep 16 09:27:12 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 2.1.0: + * Drop support for Python 2.7 & 3.4 and Django 1.11 & 2.0 + * Upgrade to use `django.urls.path` in routing + * Auto pre-fetching permission via `GUARDIAN_AUTO_PREFETCH` + * Add tests for missing migrations + +------------------------------------------------------------------- Old: ---- django-guardian-1.5.1.tar.gz New: ---- django-guardian-2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-guardian.spec ++++++ --- /var/tmp/diff_new_pack.QThZUs/_old 2019-09-17 13:37:38.485840636 +0200 +++ /var/tmp/diff_new_pack.QThZUs/_new 2019-09-17 13:37:38.489840636 +0200 @@ -17,15 +17,16 @@ %define pypi_package_name django-guardian +%define skip_python2 1 Name: python-%{pypi_package_name} -Version: 1.5.1 +Version: 2.1.0 Release: 0 -Url: http://github.com/lukaszb/django-guardian Summary: Implementation of per object permissions for Django License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/d/django-guardian/django-guardian-%{version}.tar.gz -BuildRequires: %{python_module Django >= 1.8} +URL: https://github.com/lukaszb/django-guardian +Source: https://files.pythonhosted.org/packages/source/d/django-guardian/django-guardian-%{version}.tar.gz +BuildRequires: %{python_module Django >= 2.0} BuildRequires: %{python_module django-environ} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest-django} @@ -33,7 +34,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Django >= 1.8 +Requires: python-Django >= 2.0 BuildArch: noarch %python_subpackages @@ -53,9 +54,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# mv's avoid pytest's compiled file conflict detection. -rm -rf build/ _build*/ -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python setup.py test +%pytest %files %{python_files} %doc CHANGES README.rst ++++++ django-guardian-1.5.1.tar.gz -> django-guardian-2.1.0.tar.gz ++++++ ++++ 2392 lines of diff (skipped)