Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-upgrade for
openSUSE:Factory checked in at 2026-03-23 17:11:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-upgrade (Old)
and /work/SRC/openSUSE:Factory/.python-django-upgrade.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-upgrade"
Mon Mar 23 17:11:36 2026 rev:13 rq:1341702 version:1.30.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-upgrade/python-django-upgrade.changes
2024-12-06 14:25:41.334735827 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-upgrade.new.8177/python-django-upgrade.changes
2026-03-23 17:11:56.030094203 +0100
@@ -1,0 +2,94 @@
+Sat Mar 21 14:32:10 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.30.0:
+ * Support parsing Django versions without a minor part from
+ pyproject.toml. For example, django>=6 will be parsed as for
+ Django 6.0+. PR #625.
+ * Drop Python 3.9 support.
+ * Remove the AppConfig rewriting behaviour of
+ :ref:`default_auto_field <default_auto_field>`. It was unsafe
+ for projects setting DEFAULT_AUTO_FIELD to a field other than
+ BigAutoField, triggering regressive migrations for primary
+ keys in affected apps. PR #606.
+ * Add Django 6.0+ fixer :ref:`mail_api_kwargs
+ <mail_api_kwargs>` to rewrite positional arguments to keyword
+ arguments for some django.core.mail APIs. PR #600.
+ * Add Django 6.0+ fixer :ref:`default_auto_field
+ <default_auto_field>` to remove now-redundant auto field
+ specifications. The fixer removes the DEFAULT_AUTO_FIELD
+ setting and AppConfig.default_auto_field attribute when they
+ are set to the new default of django.db.models.BigAutoField.
+ Thanks to q0w in PR #591.
+ * Add Django 6.0+ fixer :ref:`stringagg <stringagg>` to rewrite
+ StringAgg imports from django.contrib.postgres.aggregates to
+ django.db.models. This fixer replaces the compatibility
+ import rewrite added in 1.27.0, and now correctly wraps the
+ delimiter argument in Value() when it is a string literal. PR
+ #596.
+ * Add Django 6.0+ fixer :ref:`settings_admins_managers
+ <settings_admins_managers>` to rewrite the ADMINS and
+ MANAGERS settings to drop the previously-unused name parts of
+ the tuples. PR #601.
+ * Support Python 3.14.
+ * Support Django 6.0 as a target version.
+ * Add Django 6.0+ fixer
+ :ref:`settings_forms_urlfield_assume_https
+ <settings_forms_urlfield_assume_https>` to remove the
+ transitional setting FORMS_URLFIELD_ASSUME_HTTPS. PR #585.
+ * Add Django 6.0+ compatibility import rewrite of StringAgg
+ from django.contrib.postgres.aggregates to django.db.models.
+ PR #586.
+ * Improve :ref:`the django_urls fixer <django_urls>` slightly:
+ Regular expression URLs with a . are now converted to path()
+ syntax. Thanks to Iteron-dev for the report in Issue #567.
+ Invalid group names are no longer converted to path() syntax.
+ PR #584.
+ * Regular expression URLs with a . are now converted to path()
+ syntax. Thanks to Iteron-dev for the report in Issue #567.
+ * Invalid group names are no longer converted to path() syntax.
+ * Add --check option that only reports which files would be
+ changed. Thanks to berzi in PR #581.
+ * Improve stdin handling: exit with code 0 even when changes
+ were made for stdin, and print all other output to stderr. PR
+ #583.
+ * Fix the request_headers fixer for non-string in comparisons
+ like 1 in request.META (unlikely in real code). PR #579.
+ * Add support for class-based settings files in the use_l10n
+ fixer.
+ * Parse target Django version from pyproject.toml. Now, if you
+ don’t specify a version with :option:`--target-version`,
+ django-upgrade will try to parse your minimum-supported
+ target Django version from project.dependencies in
+ pyproject.toml. It supports several common formats, like
+ django>=5.2,<6.0. PR #543.
+ * Add Django 5.2+ fixer :ref:`postgres_aggregate_order_by
+ <postgres_aggregate_order_by>` to rewrite PostgreSQL
+ aggregate functions using the old argument name ordering to
+ the new name order_by. Issue #538.
+ * Add Django 5.2+ fixer :ref:`staticfiles_find_all
+ <staticfiles_find_all>` to rewrite calls to the staticfiles
+ find() function using the old argument name all to the new
+ name find_all. Issue #539.
+ * Restore Django 5.0+ fixer :ref:`model_field_choices
+ <model_field_choices>`, with a restriction to only apply when
+ the enumeration type is defined in the same file. Thanks to
+ Thibaut Decombe for initially contributing it in PR #369.
+ * Add Django 2.0+ compatibility import rewrite of
+ django.http.cookie.SimpleCookie to http.cookies.SimpleCookie.
+ Thanks to Thibaut Decombe in PR #537.
+ * Fix :ref:`django_urls <django_urls>` fixer bug that failed
+ for indented path strings. This bug was introduced in 1.23.0.
+ Thanks to Michal Čihař for the report in Issue #528.
+ * Support Django 5.2 in :option:`--target-version`.
+ * Extend versioned block fixer to support comparisons with
+ single-item tuples, like django.VERSION >= (4,). Thanks to
+ Thibaut Decombe in PR #517.
+ * Fix :ref:`versioned_test_skip_decorators
+ <versioned_test_skip_decorators>` fixer to remove all
+ indentation tokens from the decorator line. Thanks to Thibaut
+ Decombe in PR #518.
+ * Fix :ref:`django_urls <django_urls>` fixer handling of
+ implicitly concatenated strings. Thanks to Gunther Waidacher
+ for the report in Issue #524.
+
+-------------------------------------------------------------------
Old:
----
django-upgrade-1.22.2.tar.gz
New:
----
django-upgrade-1.30.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-upgrade.spec ++++++
--- /var/tmp/diff_new_pack.FOlymk/_old 2026-03-23 17:11:56.538115363 +0100
+++ /var/tmp/diff_new_pack.FOlymk/_new 2026-03-23 17:11:56.538115363 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-upgrade
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-django-upgrade
-Version: 1.22.2
+Version: 1.30.0
Release: 0
Summary: Automatically upgrade your Django projects
License: MIT
Group: Development/Languages/Python
URL: https://github.com/adamchainz/django-upgrade
Source:
https://github.com/adamchainz/django-upgrade/archive/refs/tags/%{version}.tar.gz#/django-upgrade-%{version}.tar.gz
-BuildRequires: %{python_module base >= 3.8}
+BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
++++++ django-upgrade-1.22.2.tar.gz -> django-upgrade-1.30.0.tar.gz ++++++
++++ 11683 lines of diff (skipped)