Hello community,

here is the log from the commit of package python-django-guardian for 
openSUSE:Leap:15.2 checked in at 2020-02-23 16:47:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-django-guardian (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-django-guardian.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-guardian"

Sun Feb 23 16:47:24 2020 rev:13 rq:776574 version:2.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/python-django-guardian/python-django-guardian.changes
  2020-01-15 15:48:38.395432745 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-django-guardian.new.26092/python-django-guardian.changes
       2020-02-23 16:47:25.090314494 +0100
@@ -1,0 +2,9 @@
+Mon Sep 16 09:27:12 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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.jwhrhW/_old  2020-02-23 16:47:25.502315287 +0100
+++ /var/tmp/diff_new_pack.jwhrhW/_new  2020-02-23 16:47:25.514315310 +0100
@@ -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)


Reply via email to