272 Commits

Author SHA256 Message Date
296190542e Accepting request 1326319 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1326319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=143
2026-01-12 09:16:08 +00:00
509b653a93 - Update to 5.2.10
* Fixed a bug in Django 5.2 where data exceeding max_length was
    silently truncated by QuerySet.bulk_create() on PostgreSQL
  * Fixed a bug where management command colorized help (introduced
    in Python 3.14) ignored the --no-color option and the DJANGO_COLORS
    setting
- Drop merged test_strip_tags_incomplete.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=224
2026-01-09 10:19:53 +00:00
5b160c9df9 Accepting request 1324665 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1324665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=142
2025-12-29 14:15:47 +00:00
d1f5740358 - Add test_strip_tags_incomplete.patch to fix behaviour with changes
in the Python interpreter
- Rebase test_strip_tags.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=222
2025-12-29 09:49:28 +00:00
a08c10b5c3 Accepting request 1321589 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1321589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=141
2025-12-09 11:46:45 +00:00
a1efaf50e9 - Update to 5.2.9 (bsc#1254437)
* CVE-2025-13372: Potential SQL injection in FilteredRelation column
    aliases on PostgreSQL
  * CVE-2025-64460: Potential denial-of-service vulnerability in XML
    Deserializer
  * Fixed a crash on Python 3.14+ that prevented template tag functions
    from being registered
  * Fixed more bugs and regressions, see upstream release notes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=220
2025-12-08 13:35:41 +00:00
1cb7e345a7 Accepting request 1315976 from devel:languages:python:django
Forwarded request #1315948 from mcalabkova

- Update to 5.2.8 (bsc#1252926)
    * CVE-2025-64459: Potential SQL injection via _connector keyword argument
    * Added compatibility for oracledb 3.4.0
    * Fixed a bug in Django 5.2 where QuerySet.first() and QuerySet.last()
      raised an error on querysets performing aggregation that selected all
      fields of a composite primary key.

OBS-URL: https://build.opensuse.org/request/show/1315976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=140
2025-11-07 17:20:57 +00:00
fdcf2d256d - Update to 5.2.8 (bsc#1252926)
* CVE-2025-64459: Potential SQL injection via _connector keyword argument
  * Added compatibility for oracledb 3.4.0
  * Fixed a bug in Django 5.2 where QuerySet.first() and QuerySet.last()
    raised an error on querysets performing aggregation that selected all
    fields of a composite primary key.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=218
2025-11-06 09:57:16 +00:00
17b3c221a5 Accepting request 1308583 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1308583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=139
2025-10-03 13:42:46 +00:00
be4f1447ca - Update to 5.2.7 (bsc#1250485, bsc#1250487)
* CVE-2025-59681: Potential SQL injection in QuerySet.annotate(), alias(),
    aggregate(), and extra() on MySQL and MariaDB
  * CVE-2025-59682: Potential partial directory-traversal via archive.extract()
  * Fixed a regression in Django 5.2 that reduced the color contrast of the
    label of filter_horizontal and filter_vertical widgets within a TabularInline

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=216
2025-10-02 10:47:09 +00:00
878b120faf Accepting request 1302720 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1302720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=138
2025-09-05 19:42:17 +00:00
98f379ab77 - Update to 5.2.6 (bsc#1248810)
* CVE-2025-57833: Potential SQL injection in FilteredRelation column aliases
  * Fixed a bug where using QuerySet.values() or values_list() with a ForeignObject
    composed of multiple fields returned incorrect results instead of tuples of
    the referenced fields
- Rebased test_strip_tags.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=214
2025-09-04 11:14:46 +00:00
c617be0174 Accepting request 1299114 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1299114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=137
2025-08-13 14:23:21 +00:00
9d51974b18 - Update to 5.2.5
* Fixed a regression in Django 5.2.1 that prevented the usage of UNNEST
    PostgreSQL strategy of QuerySet.bulk_create() with foreign keys
  * Fixed a crash in Django 5.2 when filtering against a composite primary key
    using a tuple containing expressions
  * Fixed a crash in Django 5.2 when validating a model that uses
    GeneratedField or constraints composed of Q and Case lookups
  * Added compatibility for docutils 0.22
  * Fixed a crash in Django 5.2 when using a ManyToManyField on a model with
    a composite primary key, by extending the fields.E347 system check
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=212
2025-08-12 15:39:39 +00:00
78db34879c Accepting request 1296919 from devel:languages:python:django
- Reinstate Requires on tzdata, a lot of packages use it.

OBS-URL: https://build.opensuse.org/request/show/1296919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=136
2025-08-03 11:36:22 +00:00
b367c16b9f - Reinstate Requires on tzdata, a lot of packages use it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=210
2025-08-01 02:09:29 +00:00
33a429e3af Accepting request 1296418 from devel:languages:python:django
- Add patch support-msgfmt-0.25.patch:
  * Support msgfmt 0.25 error messages changes. (bsc#1246966)
- Remove unneeded Requires on tzdata.

OBS-URL: https://build.opensuse.org/request/show/1296418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=135
2025-07-31 15:44:58 +00:00
c5bef52b95 - Add patch support-msgfmt-0.25.patch:
* Support msgfmt 0.25 error messages changes. (bsc#1246966)
- Remove unneeded Requires on tzdata.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=208
2025-07-30 06:04:11 +00:00
8d85f7e406 Accepting request 1294515 from devel:languages:python:django
- Add upstream test_strip_tags.patch to fix test errors with
  at-this-point future python interpreters

OBS-URL: https://build.opensuse.org/request/show/1294515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=134
2025-07-20 13:28:54 +00:00
516be982f1 Fix typo in changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=206
2025-07-19 10:39:03 +00:00
de18a0b8d5 - Add upstream test_trip_tags.patch to fix test errors with
at-this-point future python interpreters

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=205
2025-07-19 10:26:26 +00:00
48f0ae5840 Accepting request 1290998 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1290998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=133
2025-07-08 13:28:05 +00:00
d027a9fa92 - Update to 5.2.4
* Fixed a log injection possibility by migrating remaining response logging
    to django.utils.log.log_response(), which safely escapes arguments
    such as the request path to prevent unsafe log output (CVE 2025-48432).
  * Fixed a regression in Django 5.2 that caused QuerySet.bulk_update() to
    incorrectly convert None to JSON null instead of SQL NULL for JSONField
  * Fixed a regression in Django 5.2.2 where the q parameter was removed from
    the internal django.http.MediaType.params property
  * Fixed a regression in Django 5.2.2 where HttpRequest.get_preferred_type()
    incorrectly preferred more specific media types with a lower quality
  * Fixed a crash in Django 5.2 when performing an __in lookup involving a
    composite primary key and a subquery on certain backends

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=203
2025-07-07 09:04:27 +00:00
94416b615b Accepting request 1283580 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1283580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=132
2025-06-10 06:59:24 +00:00
019c08ddee - Update to 5.2.2 (bsc#1244095)
* CVE-2025-48432: Potential log injection via unescaped request path
  * Fixed a crash when using select_related against a ForeignObject
    originating from a model with a CompositePrimaryKey
  * Fixed a regression in Django 5.2 that caused a crash when no
    arguments were passed into QuerySet.union().
  * Fixed a regression in Django 5.2 that caused a crash when using OuterRef
    in PostgreSQL aggregate functions ArrayAgg, StringAgg, and JSONBAgg.
  * Fixed a bug in Django 5.2 where HttpRequest.get_preferred_type() did not
    account for media type parameters in Accept headers, reducing specificity
    in content negotiation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=201
2025-06-06 08:51:39 +00:00
2136d497be Accepting request 1276782 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1276782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=131
2025-05-13 18:12:16 +00:00
c5f3696bba - Update to 5.2.1 (bsc#1242210)
* This release was built using an upgraded setuptools, producing
    filenames compliant with PEP 491 and PEP 625 and thus addressing
    a PyPI warning about non-compliant distribution filenames. This
    change only affects the Django packaging process and does not
    impact Django’s behavior.
  * CVE-2025-32873: Denial-of-service possibility in strip_tags()
  * Fixed a data corruption possibility in file_move_safe() when
    allow_overwrite=True
  * Fixed a regression introduced when fixing CVE 2025-26699, where
    the wordwrap template filter did not preserve empty lines between
    paragraphs after wrapping text
  * Fixed many bugs and regressions in Django 5.2, see upstream changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=199
2025-05-12 08:52:11 +00:00
c1bbd7f1e2 Accepting request 1271967 from devel:languages:python:django
- Add missing runtime dependency on tzdata

OBS-URL: https://build.opensuse.org/request/show/1271967
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=130
2025-04-23 13:18:25 +00:00
81b62ad5fd - Add missing runtime dependency on tzdata
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=197
2025-04-22 15:46:56 +00:00
d0beaac527 add tzdata dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=196
2025-04-17 09:43:50 +00:00
8cea3c6a81 Accepting request 1269472 from devel:languages:python:django
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1269472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=129
2025-04-15 18:47:09 +00:00
bb643f6074 - Update to 5.2
* Django 5.2 is designated as a long-term support release. It will receive 
    security updates for at least three years after its release.
  * Django 5.2 supports Python 3.10, 3.11, 3.12, and 3.13.
  ** What’s new in Django 5.2 **
  * Automatic models import in the shell
  * Composite Primary Keys
  * Simplified override of BoundField
  * ... and many more smaller features
  ** Backwards incompatible changes in 5.2 **
  * Database backend API changes
  * Dropped support for PostgreSQL 13
  * Changed MySQL connection character set default
  * ... and more, see upstream changelog
  ** Features deprecated in 5.2 **
  * The all argument for the django.contrib.staticfiles.finders.find()
    function is deprecated in favor of the find_all argument.
  * The ordering keyword argument of the PostgreSQL specific aggregation
    functions is deprecated in favor of the order_by argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=194
2025-04-15 07:42:05 +00:00
111c0aa28e Accepting request 1267715 from devel:languages:python:django
- Update to 5.1.8
  * CVE-2025-27556: Potential denial-of-service vulnerability in 
    LoginView, LogoutView, and set_language() on Windows
  * Fixed a regression in Django 5.1.7 where the removal of the single_object 
    parameter unintentionally altered the signature and return type of 
    LogEntryManager.log_actions()
- update filelist to be compatible with newer setuptools

OBS-URL: https://build.opensuse.org/request/show/1267715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=128
2025-04-11 14:45:30 +00:00
f6f2db94ee - Update to 5.1.8
* CVE-2025-27556: Potential denial-of-service vulnerability in 
    LoginView, LogoutView, and set_language() on Windows
  * Fixed a regression in Django 5.1.7 where the removal of the single_object 
    parameter unintentionally altered the signature and return type of 
    LogEntryManager.log_actions()

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=192
2025-04-07 14:33:55 +00:00
bd9d4e8e4b - update filelist to be compatible with newer setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=191
2025-03-30 08:29:55 +00:00
86ddc9c8c4 Accepting request 1254138 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1254138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=127
2025-03-20 18:24:28 +00:00
9fb974a5c8 - Update to 5.1.7 (bsc#1239052)
* CVE-2025-26699: Potential denial-of-service vulnerability in
    django.utils.text.wrap()
  * Fixed a bug in Django 5.1 where the {% querystring %} template tag 
    returned an empty string rather than "?"
  * Fixed a bug in Django 5.1 where FileSystemStorage, with allow_overwrite 
    set to True, did not truncate the overwritten file content
  * Fixed a regression in Django 5.1 where the count and exists methods of 
    ManyToManyField related managers would always return 0 and False when 
    the intermediary model back references used to_field
  * Fixed a regression in Django 5.1 where the pre_save and post_save signals 
    for LogEntry were not sent when deleting a single object in the admin

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=189
2025-03-18 13:18:43 +00:00
4cfbeac954 Accepting request 1245111 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1245111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=126
2025-02-11 20:20:19 +00:00
a5b485aaa4 - Update to 5.1.6
* Fixed a regression in Django 5.1.5 that caused validate_ipv6_address()
    and validate_ipv46_address() to crash when handling non-string values
  * Fixed a regression in Django 5.1 where password fields, despite being
    set to required=False, were still treated as required in forms derived
    from BaseUserCreationForm

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=187
2025-02-11 14:13:37 +00:00
3cf5681960 Accepting request 1238033 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1238033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=125
2025-01-17 17:36:51 +00:00
b2d85302c5 - Update to 5.1.5 (bsc#1235856)
* CVE-2024-56374: Potential denial-of-service vulnerability in 
    IPv6 validation
  * Fixed a crash when applying migrations with references to the 
    removed Meta.index_together option

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=185
2025-01-15 12:08:37 +00:00
ed596b7283 Accepting request 1229315 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1229315
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=124
2024-12-10 22:43:01 +00:00
cec361ba85 - Update to 5.1.4 (bsc#1234231, CVE-2024-53908, bsc#1234232, CVE-2024-53907)
* CVE-2024-53907: Potential denial-of-service in django.utils.html.strip_tags()
  * CVE-2024-53908: Potential SQL injection in HasKey(lhs, rhs) on Oracle
  * Fixed a crash in createsuperuser on Python 3.13+ caused by an unhandled OSError
  * Fixed a regression in Django 5.1 where relational fields were not updated
  * Fixed a bug in Django 5.1 where DomainNameValidator accepted any input value 
    that contained a valid domain name, rather than only input values that were 
    a valid domain name
  * Fixed a regression in Django 5.1 that prevented the use of DB-IP databases with GeoIP2
  * Fixed a regression in Django 5.1 where non-ASCII fieldset names were not displayed 
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=183
2024-12-09 11:00:19 +00:00
f398fa39be Accepting request 1208607 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1208607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=123
2024-10-18 13:52:54 +00:00
828c0a3f1e - Update to 5.1.2
* Fixed a regression in Django 5.1 that caused a crash when using 
    the PostgreSQL lookup trigram_similar on output fields from Concat
  * Fixed a regression in Django 5.1 that caused a crash of JSONObject() 
    when using server-side binding with PostgreSQL 16+
  * Fixed a regression in Django 5.1 that made selected items in 
    multi-select widgets indistinguishable from non-selected items in 
    the admin dark theme

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=181
2024-10-17 10:32:45 +00:00
aa9f2197a0 Accepting request 1198700 from devel:languages:python:django
- Update to 5.1.1 (bsc#1229823, bsc#1229824)
  * CVE-2024-45230: Potential denial-of-service vulnerability in
    django.utils.html.urlize()
  * CVE-2024-45231: Potential user email enumeration via response
    status on password reset
  * Fixed a regression in Django 5.1 that caused a crash of Window()
    when passing an empty sequence to the order_by parameter, and a
    crash of Prefetch() for a sliced queryset without ordering
  * Fixed a regression in Django 5.1 where a new usable_password field
    was included in BaseUserCreationForm (and children). A new
    AdminUserCreationForm including this field was added, isolating
    the feature to the admin where it was intended
  * Adjusted the deprecation warning stacklevel in Model.save() and
    Model.asave() to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel when using
    OS_OPEN_FLAGS in FileSystemStorage to correctly point to the
    offending call site
  * Adjusted the deprecation warning stacklevel in
    FieldCacheMixin.get_cache_name() to correctly point to the
    offending call site
  * Restored, following a regression in Django 5.1, the ability to
    override the timezone and role setting behavior used within the
    init_connection_state method of the PostgreSQL backend
  * Fixed a bug in Django 5.1 where variable lookup errors were logged
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/request/show/1198700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=122
2024-09-05 13:46:17 +00:00
789323fdc2 - Update to 5.1.1 (bsc#1229823, bsc#1229824)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=179
2024-09-04 12:09:20 +00:00
8d6af13dc7 - Update to 5.1.1 (CVE-2024-45230, bsc#1229823, CVE-2024-45231, bsc#1229824)
* Fixed a regression in Django 5.1 that caused a crash of Window() when 
    passing an empty sequence to the order_by parameter, and a crash of 
    Prefetch() for a sliced queryset without ordering
  * Fixed a regression in Django 5.1 where a new usable_password field was 
    included in BaseUserCreationForm (and children).
  * Adjusted the deprecation warning stacklevel in Model.save() and 
    Model.asave() to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel when using OS_OPEN_FLAGS 
    in FileSystemStorage to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel in FieldCacheMixin.get_cache_name() 
    to correctly point to the offending call site
  * Restored, following a regression in Django 5.1, the ability to 
    override the timezone and role setting behavior used within the 
    init_connection_state method of the PostgreSQL backend
  * Fixed a bug in Django 5.1 where variable lookup errors were logged 
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=178
2024-09-04 07:53:21 +00:00
9989555d48 - Update to 5.1.1
* CVE-2024-45230: Potential denial-of-service vulnerability in
    django.utils.html.urlize()
  * CVE-2024-45231: Potential user email enumeration via response
    status on password reset
  * Fixed a regression in Django 5.1 that caused a crash of Window()
    when passing an empty sequence to the order_by parameter, and a
    crash of Prefetch() for a sliced queryset without ordering
  * Fixed a regression in Django 5.1 where a new usable_password field
    was included in BaseUserCreationForm (and children). A new
    AdminUserCreationForm including this field was added, isolating
    the feature to the admin where it was intended
  * Adjusted the deprecation warning stacklevel in Model.save() and
    Model.asave() to correctly point to the offending call site
  * Adjusted the deprecation warning stacklevel when using
    OS_OPEN_FLAGS in FileSystemStorage to correctly point to the
    offending call site
  * Adjusted the deprecation warning stacklevel in
    FieldCacheMixin.get_cache_name() to correctly point to the
    offending call site
  * Restored, following a regression in Django 5.1, the ability to
    override the timezone and role setting behavior used within the
    init_connection_state method of the PostgreSQL backend
  * Fixed a bug in Django 5.1 where variable lookup errors were logged
    when rendering admin fieldsets

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=177
2024-09-04 07:52:11 +00:00
7b2716d803 Accepting request 1192955 from devel:languages:python:django
OBS-URL: https://build.opensuse.org/request/show/1192955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Django?expand=0&rev=121
2024-08-11 14:55:29 +00:00