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 2023-01-20 17:39:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-upgrade (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-upgrade.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-upgrade"

Fri Jan 20 17:39:46 2023 rev:2 rq:1059955 version:1.12.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-upgrade/python-django-upgrade.changes  
    2022-09-01 22:12:57.848534332 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-upgrade.new.32243/python-django-upgrade.changes
   2023-01-20 17:40:02.740974379 +0100
@@ -1,0 +2,53 @@
+Fri Jan 20 12:11:48 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 1.12.0:
+  * Make ``re_path`` -> ``path`` fixer also convert ``include()``\'s with
+    unterminated regexes.
+  * Avoid rewriting ``request.META`` to ``request.headers`` in ``del``
+    statements.
+  * Add Django 1.9+ fixer to rename the legacy engine name
+    ``django.db.backends.postgresql_psycopg2`` in ``settings.DATABASES`` to
+    ``django.db.backends.postgresql``.
+  * Make detection of management commands and migration files detect both
+    forward and backward slashes as directory separators.
+- update to 1.11.0:
+  * See also `the release blog post
+    <https://adamj.eu/tech/2022/10/26/django-upgrade-mega-release/>`__.
+  * Add Django 1.7+ fixer to rewrite ``admin.site.register()`` calls into
+    ``@admin.register()`` when eligible.
+  * Add Django 3.2+ fixer to rewrite admin action function attributes to use
+    the ``@admin.action()`` decorator.
+  * Add Django 3.2+ fixer to rewrite admin display function attributes to
+    use the ``@admin.display()`` decorator.
+  * Add Django 4.1+ fixer to rewrite calls to test case methods
+    ``assertFormError()`` and ``assertFormsetError()`` from their old
+    signatures to the new ones.
+  * Add Django 2.0+ fixer to drop assignments of ``allow_tags`` attributes
+    to ``True``.
+  * Add Django 3.1+ fixer to replace ``list`` error message key with
+    ``list_invalid`` on ``ModelMultipleChoiceField``.
+  * Make ``request.headers`` fixer also rewrite accesses of the ``content-
+    length`` and ``content-type`` headers.
+  * Extend ``request.headers`` fixer to rewrite ``in`` and ``not in``
+    comparisons on ``request.META``.
+  * The ``request.headers`` fixer now uses lowercase for header lookups, as
+    per the HTTP/2 specification.
+  * Make ``on_delete`` fixer also support ``ForeignKey`` and
+    ``OneToOneField`` imported from ``django.db.models``.
+  * Make ``NullBooleanField`` fixer preserve existing ``null`` arguments.
+  * Update ``timezone.utc`` fixer to only use absolute references from
+    existing imports of the ``datetime`` module.
+  * Make Django 2.0+ URL fixer avoid a loop of adding imports that already
+    exist.
+  * Fixers that modify string literals now match existing use of double
+    quotes.
+  * Make fixers that erase lines also erase any trailing comments.
+  * Fix leaving a trailing comma when editing imports in certain cases.
+  * Expand the range of files considered settings files.
+  * Require at least one filename.
+  * Update README with info on how to run an upgrade on entire project.
+- update to 1.10.0:
+  * Add Django 3.2+ fixer to update ``requires_system_checks`` in management
+    command classes.
+
+-------------------------------------------------------------------

Old:
----
  django-upgrade-1.9.0.tar.gz

New:
----
  django-upgrade-1.12.0.tar.gz

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

Other differences:
------------------
++++++ python-django-upgrade.spec ++++++
--- /var/tmp/diff_new_pack.i9f78j/_old  2023-01-20 17:40:03.232977100 +0100
+++ /var/tmp/diff_new_pack.i9f78j/_new  2023-01-20 17:40:03.240977144 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-upgrade
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define skip_python36 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-django-upgrade
-Version:        1.9.0
+Version:        1.12.0
 Release:        0
 Summary:        Automatically upgrade your Django projects
 License:        MIT
@@ -28,18 +28,18 @@
 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 wheel}
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-tokenize-rt
-Recommends:     python-setuptools
 Requires(post):   update-alternatives
-Requires(postun):  update-alternatives
+Requires(postun):update-alternatives
+Recommends:     python-setuptools
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module tokenize-rt}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module tokenize-rt}
 # /SECTION
 %python_subpackages
 

++++++ django-upgrade-1.9.0.tar.gz -> django-upgrade-1.12.0.tar.gz ++++++
++++ 9580 lines of diff (skipped)

Reply via email to