Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-timezone-field for 
openSUSE:Factory checked in at 2022-10-12 18:24:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-timezone-field (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-timezone-field.new.2275 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-timezone-field"

Wed Oct 12 18:24:21 2022 rev:3 rq:1009740 version:5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-timezone-field/python-django-timezone-field.changes
        2021-06-01 10:35:37.740625829 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-timezone-field.new.2275/python-django-timezone-field.changes
      2022-10-12 18:25:47.929830459 +0200
@@ -1,0 +2,20 @@
+Tue Oct 11 08:03:59 UTC 2022 - John Vandenberg <jay...@gmail.com>
+
+- Update to v5.0
+  * Add support for zoneinfo objects
+  * Add support for django 4.0
+  * Remove timezone_field.utils.add_gmt_offset_to_choices,
+    display_GMT_offset kwarg (use choices_display instead)
+  * Drop support for django 3.0, 3.1
+  * Drop support for python 3.5, 3.6
+- from v4.2.3
+  * Fix sdist installs
+  * Officially support python 3.10
+- from v4.2.1
+  * Reinstate TimeZoneField.default_choices (#76)
+- from v4.2
+  * Officially support django 3.2, python 3.9
+  * Fix bug with field deconstruction
+  * Housekeeping: use poetry, github actions, pytest
+
+-------------------------------------------------------------------

Old:
----
  django-timezone-field-4.1.2.tar.gz

New:
----
  django-timezone-field-5.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-timezone-field.spec ++++++
--- /var/tmp/diff_new_pack.pXqzu3/_old  2022-10-12 18:25:48.365831549 +0200
+++ /var/tmp/diff_new_pack.pXqzu3/_new  2022-10-12 18:25:48.369831559 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-timezone-field
 #
-# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,22 +19,28 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-django-timezone-field
-Version:        4.1.2
+Version:        5.0
 Release:        0
 Summary:        Django app providing database and form fields for pytz 
timezone objects
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 URL:            https://github.com/mfogel/django-timezone-field/
 Source:         
https://github.com/mfogel/django-timezone-field/archive/%{version}.tar.gz#/django-timezone-field-%{version}.tar.gz
-BuildRequires:  %{python_module djangorestframework}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module poetry}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-Django >= 1.8
+Requires:       python-Django >= 2.2
 Requires:       python-pytz
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module Django >= 1.8}
+BuildRequires:  %{python_module Django >= 2.2}
+BuildRequires:  %{python_module djangorestframework}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest-django}
+BuildRequires:  %{python_module pytest-lazy-fixture}
 BuildRequires:  %{python_module pytz}
 # /SECTION
 %python_subpackages
@@ -44,22 +50,25 @@
 
 %prep
 %setup -q -n django-timezone-field-%{version}
+sed -Ei 's/_(TZChoicesDisplayModel|ZIChoicesDisplayModel)/\1/g' 
tests/test_choices_display_option.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+export PYTHONPATH=${PWD}
 export DJANGO_SETTINGS_MODULE=tests.settings
 export TEST_DB_ENGINE=sqlite
-%python_exec -m django test -v2 tests
+%pytest
 
 %files %{python_files}
 %license LICENSE.txt
-%doc README.rst
-%{python_sitelib}/*
+%doc README.md
+%{python_sitelib}/timezone_field
+%{python_sitelib}/django[-_]timezone[-_]field*/
 
 %changelog

++++++ django-timezone-field-4.1.2.tar.gz -> django-timezone-field-5.0.tar.gz 
++++++
++++ 4097 lines of diff (skipped)

Reply via email to