Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-django-phonenumber-field for openSUSE:Factory checked in at 2024-11-12 19:21:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-django-phonenumber-field (Old) and /work/SRC/openSUSE:Factory/.python-django-phonenumber-field.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-phonenumber-field" Tue Nov 12 19:21:57 2024 rev:5 rq:1223463 version:8.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-django-phonenumber-field/python-django-phonenumber-field.changes 2023-10-24 20:09:44.359539475 +0200 +++ /work/SRC/openSUSE:Factory/.python-django-phonenumber-field.new.2017/python-django-phonenumber-field.changes 2024-11-12 19:22:50.975056280 +0100 @@ -1,0 +2,26 @@ +Mon Nov 11 15:34:55 UTC 2024 - Markéta Machová <mmach...@suse.com> + +- Update to 8.0.0 + Breaking Changes: + * formfields.PhoneNumberField with a region now display national phone + numbers in the national format instead of PHONENUMBER_DEFAULT_FORMAT. + * Add a DB converter for the model field, fixing values_list() of + PhoneNumberField + * RegionalPhoneNumberWidget becomes the default widget for the + formfields.PhoneNumberField. + * The formfields.PhoneNumberField no longer sets the input_type attribute + of its widget to tel. That behavior did not make sense for the existing + PhoneNumberPrefixWidget and was dropped. + * Remove PhoneNumberInternationalFallbackWidget. Use + phonenumber_field.widgets.RegionalPhoneNumberWidget instead. + * Move validation from widgets to the form fields. + Some Changes: + * Add support for Django 5.0 + * Drop support for Django 4.1 + * Drop support for Python 3.7 + * Add support for Python 3.12 + * Restore PhoneNumberPrefixWidget number input on form errors + * Set PhoneNumberInternationalFallbackWidget input_type to tel + * Evolve PhoneNumberInternationalWidget to RegionalPhoneNumberWidget + +------------------------------------------------------------------- Old: ---- django-phonenumber-field-5.1.0.tar.gz New: ---- django_phonenumber_field-8.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-django-phonenumber-field.spec ++++++ --- /var/tmp/diff_new_pack.6sp8pj/_old 2024-11-12 19:22:51.407074315 +0100 +++ /var/tmp/diff_new_pack.6sp8pj/_new 2024-11-12 19:22:51.411074481 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-django-phonenumber-field # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,29 +16,28 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-django-phonenumber-field -Version: 5.1.0 +Version: 8.0.0 Release: 0 Summary: International phone number field for django models License: MIT Group: Development/Languages/Python URL: https://github.com/stefanfoulis/django-phonenumber-field -Source: https://files.pythonhosted.org/packages/source/d/django-phonenumber-field/django-phonenumber-field-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/d/django_phonenumber_field/django_phonenumber_field-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Babel -Requires: python-Django >= 2.2 -Requires: python-phonenumbers >= 7.0.2 +Requires: python-Django >= 4.2 +Recommends: python-phonenumbers >= 7.0.2 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Babel} -BuildRequires: %{python_module Django >= 2.2} -BuildRequires: %{python_module phonenumbers} +BuildRequires: %{python_module Django >= 4.2} +BuildRequires: %{python_module django-rest-framework} +BuildRequires: %{python_module phonenumbers >= 7.0.2} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -47,13 +46,13 @@ An international phone number field for django models. %prep -%setup -q -n django-phonenumber-field-%{version} +%setup -q -n django_phonenumber_field-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check