commit python-django-model-utils for openSUSE:Factory

2020-09-02 Thread root
Hello community,

here is the log from the commit of package python-django-model-utils for 
openSUSE:Factory checked in at 2020-09-03 01:17:52

Comparing /work/SRC/openSUSE:Factory/python-django-model-utils (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-model-utils.new.3399 (New)


Package is "python-django-model-utils"

Thu Sep  3 01:17:52 2020 rev:5 rq:831417 version:4.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-model-utils/python-django-model-utils.changes
  2020-01-07 23:54:41.340072906 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-model-utils.new.3399/python-django-model-utils.changes
2020-09-03 01:18:35.324568396 +0200
@@ -1,0 +2,5 @@
+Wed Sep  2 09:31:45 UTC 2020 - Marketa Calabkova 
+
+- Fix test execution
+
+---



Other differences:
--
++ python-django-model-utils.spec ++
--- /var/tmp/diff_new_pack.qsM4pS/_old  2020-09-03 01:18:36.196568716 +0200
+++ /var/tmp/diff_new_pack.qsM4pS/_new  2020-09-03 01:18:36.200568718 +0200
@@ -52,6 +52,7 @@
 
 %check
 # skip JoinManagerTest tests as they need proper DB (pgsql/mysql)
+export PYTHONPATH=.
 %pytest -k 'not JoinManagerTest'
 
 %files %{python_files}




commit python-django-model-utils for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package python-django-model-utils for 
openSUSE:Factory checked in at 2020-01-07 23:54:16

Comparing /work/SRC/openSUSE:Factory/python-django-model-utils (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-model-utils.new.6675 (New)


Package is "python-django-model-utils"

Tue Jan  7 23:54:16 2020 rev:4 rq:761368 version:4.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-model-utils/python-django-model-utils.changes
  2019-07-03 15:14:59.990963927 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-model-utils.new.6675/python-django-model-utils.changes
2020-01-07 23:54:41.340072906 +0100
@@ -1,0 +2,12 @@
+Tue Jan  7 09:15:17 UTC 2020 - Tomáš Chvátal 
+
+- Update to 4.0.0:
+  * Added Choices.subset.
+  * Remove hacks for previously supported Django versions. (Fixes GH-390)
+  * Dropped support for Python 2.7. (Fixes GH-393)
+  * Dropped usage of six
+  * Drop support for Django 1.11
+  * Add support for Python 3.8
+  * Add support for Django 3.0
+
+---

Old:

  django-model-utils-3.2.0.tar.gz

New:

  django-model-utils-4.0.0.tar.gz



Other differences:
--
++ python-django-model-utils.spec ++
--- /var/tmp/diff_new_pack.XqEsVG/_old  2020-01-07 23:54:41.960073228 +0100
+++ /var/tmp/diff_new_pack.XqEsVG/_new  2020-01-07 23:54:41.964073230 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-model-utils
 #
-# 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
@@ -16,8 +16,9 @@
 #
 
 
+%define skip_python2 1
 Name:   python-django-model-utils
-Version:3.2.0
+Version:4.0.0
 Release:0
 Summary:Django model mixins and utilities
 License:BSD-3-Clause
@@ -26,12 +27,12 @@
 Source: 
https://github.com/jazzband/django-model-utils/archive/%{version}.tar.gz#/django-model-utils-%{version}.tar.gz
 # PATCH-FIX-SUSE switch to sqlite from pgsql during testing
 Patch0: use-sqlite.patch
-BuildRequires:  %{python_module Django >= 1.4.2}
+BuildRequires:  %{python_module Django >= 2.0}
 BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-Requires:   python-Django >= 1.4.2
+Requires:   python-Django >= 2.0
 BuildArch:  noarch
 %python_subpackages
 

++ django-model-utils-3.2.0.tar.gz -> django-model-utils-4.0.0.tar.gz ++
 2288 lines of diff (skipped)




commit python-django-model-utils for openSUSE:Factory

2019-07-03 Thread root
Hello community,

here is the log from the commit of package python-django-model-utils for 
openSUSE:Factory checked in at 2019-07-03 15:14:58

Comparing /work/SRC/openSUSE:Factory/python-django-model-utils (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-model-utils.new.4615 (New)


Package is "python-django-model-utils"

Wed Jul  3 15:14:58 2019 rev:3 rq:713052 version:3.2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-model-utils/python-django-model-utils.changes
  2019-04-30 13:01:20.982156784 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-model-utils.new.4615/python-django-model-utils.changes
2019-07-03 15:14:59.990963927 +0200
@@ -1,0 +2,24 @@
+Tue Jul  2 12:20:16 UTC 2019 - Tomáš Chvátal 
+
+- Add patch use-sqlite.patch to use sqlite for testing and not
+  postgresql
+
+---
+Tue Jul  2 12:13:32 UTC 2019 - Tomáš Chvátal 
+
+- Update to 3.2.0:
+  * Catch AttributeError for deferred abstract fields, fixes GH-331.
+  * Update documentation to explain usage of timeframed model manager, fixes 
GH-118
+  * Honor OneToOneField.parent_link=False.
+  * Fix handling of deferred attributes on Django 1.10+, fixes GH-278
+  * Fix FieldTracker.has_changed() and FieldTracker.previous() to return 
correct responses for deferred fields.
+  * Add Simplified Chinese translations.
+  * Update AutoLastModifiedField so that at instance creation it will always 
be set equal to created to make querying easier. Fixes GH-254
+  * Support reversed for all kinds of Choices objects, fixes GH-309
+  * Fix Model instance non picklable GH-330
+  * Fix patched save in FieldTracker
+  * Upgrades test requirements (pytest, pytest-django, pytest-cov) and skips 
tox test with Python 3.5 and Django (trunk)
+  * Add UUIDModel and UUIDField support.
+- Remove upstream merged fix-deferred.patch
+
+---

Old:

  django-model-utils-3.1.2.tar.gz
  fix-deferred.patch

New:

  django-model-utils-3.2.0.tar.gz
  use-sqlite.patch



Other differences:
--
++ python-django-model-utils.spec ++
--- /var/tmp/diff_new_pack.aAstrw/_old  2019-07-03 15:15:00.950965880 +0200
+++ /var/tmp/diff_new_pack.aAstrw/_new  2019-07-03 15:15:00.954965888 +0200
@@ -17,16 +17,15 @@
 
 
 Name:   python-django-model-utils
-Version:3.1.2
+Version:3.2.0
 Release:0
 Summary:Django model mixins and utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:http://github.com/carljm/django-model-utils/
-Source: 
https://github.com/jazzband/django-model-utils/archive/3.1.2.tar.gz#/django-model-utils-%{version}.tar.gz
-# Slightly modified 
https://github.com/jazzband/django-model-utils/commit/15f9393.patch
-# to patch cleanly against 3.1.2
-Patch0: fix-deferred.patch
+Source: 
https://github.com/jazzband/django-model-utils/archive/%{version}.tar.gz#/django-model-utils-%{version}.tar.gz
+# PATCH-FIX-SUSE switch to sqlite from pgsql during testing
+Patch0: use-sqlite.patch
 BuildRequires:  %{python_module Django >= 1.4.2}
 BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module pytest-django}
@@ -51,8 +50,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-export PYTHONPATH=.
-%python_expand django-admin-%{$python_bin_suffix} test 
--settings=tests.settings
+# skip JoinManagerTest tests as they need proper DB (pgsql/mysql)
+%pytest -k 'not JoinManagerTest'
 
 %files %{python_files}
 %license LICENSE.txt

++ django-model-utils-3.1.2.tar.gz -> django-model-utils-3.2.0.tar.gz ++
 2502 lines of diff (skipped)

++ use-sqlite.patch ++
Index: django-model-utils-3.2.0/tests/settings.py
===
--- django-model-utils-3.2.0.orig/tests/settings.py
+++ django-model-utils-3.2.0/tests/settings.py
@@ -5,12 +5,8 @@ INSTALLED_APPS = (
 'tests',
 )
 DATABASES = {
-"default": {
-"ENGINE": "django.db.backends.postgresql_psycopg2",
-"NAME": os.environ.get("DJANGO_DATABASE_NAME_POSTGRES", "modelutils"),
-"USER": os.environ.get("DJANGO_DATABASE_USER_POSTGRES", 'postgres'),
-"PASSWORD": os.environ.get("DJANGO_DATABASE_PASSWORD_POSTGRES", ""),
-"HOST": os.environ.get("DJANGO_DATABASE_HOST_POSTGRES", ""),
+'default': {
+'ENGINE': 'django.db.backends.sqlite3'
 },
 }
 SECRET_KEY = 'dummy'



commit python-django-model-utils for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package python-django-model-utils for 
openSUSE:Factory checked in at 2019-04-30 13:01:20

Comparing /work/SRC/openSUSE:Factory/python-django-model-utils (Old)
 and  /work/SRC/openSUSE:Factory/.python-django-model-utils.new.5536 (New)


Package is "python-django-model-utils"

Tue Apr 30 13:01:20 2019 rev:2 rq:697482 version:3.1.2

Changes:

--- 
/work/SRC/openSUSE:Factory/python-django-model-utils/python-django-model-utils.changes
  2019-02-25 17:52:06.798728417 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-model-utils.new.5536/python-django-model-utils.changes
2019-04-30 13:01:20.982156784 +0200
@@ -1,0 +2,5 @@
+Wed Apr 24 12:37:14 UTC 2019 - Tomáš Chvátal 
+
+- Fix requires on python-Django
+
+---



Other differences:
--
++ python-django-model-utils.spec ++
--- /var/tmp/diff_new_pack.cIYiSK/_old  2019-04-30 13:01:22.278156396 +0200
+++ /var/tmp/diff_new_pack.cIYiSK/_new  2019-04-30 13:01:22.298156391 +0200
@@ -28,11 +28,11 @@
 # to patch cleanly against 3.1.2
 Patch0: fix-deferred.patch
 BuildRequires:  %{python_module Django >= 1.4.2}
+BuildRequires:  %{python_module freezegun}
 BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module freezegun}
 BuildRequires:  fdupes
-Requires:   python-django
+Requires:   python-Django >= 1.4.2
 BuildArch:  noarch
 %python_subpackages