165 Commits

Author SHA256 Message Date
e3535b927b Accepting request 1330887 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.2.11
  * CVE-2025-13473: Username enumeration through timing difference
    in mod_wsgi authentication handler (bsc#1257401)
  * CVE-2025-14550: Potential denial-of-service vulnerability via
    repeated headers when using ASGI (bsc#1257403)
  * CVE-2026-1207: Potential SQL injection via raster lookups on
    PostGIS (bsc#1257405)
  * CVE-2026-1285: Potential denial-of-service vulnerability in
    django.utils.text.Truncator HTML methods (bsc#1257406)
  * CVE-2026-1287: Potential SQL injection in column aliases via
    control characters (bsc#1257407)
  * CVE-2026-1312: Potential SQL injection via QuerySet.order_by
    and FilteredRelation (bsc#1257408)

OBS-URL: https://build.opensuse.org/request/show/1330887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=226
2026-02-04 09:40:05 +00:00
e3bb02787c Accepting request 1326313 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1326313
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
b9e2a57598 Accepting request 1324662 from home:mcalabkova:branches:devel:languages:python:C
- 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/request/show/1324662
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
271fb72743 Accepting request 1321577 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1321577
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
76abeb5196 Accepting request 1315948 from home:mcalabkova:branches:devel:languages:python:django
- 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/1315948
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
af8743f627 Accepting request 1308563 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1308563
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
10db7ca9ba Accepting request 1302719 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1302719
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
6544325d4d Accepting request 1299046 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1299046
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
bc7ec78837 - 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
e6b698152d - 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
36009a2c4e 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
9fd21c68c8 Accepting request 1294490 from home:mcalabkova:branches:devel:languages:python:Factory
- Add upstream test_trip_tags.patch to fix test errors with
  at-this-point future python interpreters

OBS-URL: https://build.opensuse.org/request/show/1294490
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
dd9fdde65b Accepting request 1290240 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1290240
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
78064dc5d5 Accepting request 1283359 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1283359
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
2e58847883 Accepting request 1276780 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1276780
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
bc901503ad - 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
f151a3c797 Accepting request 1269461 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1269461
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
12fd0a5c12 Accepting request 1267711 from home:mcalabkova:branches: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()

OBS-URL: https://build.opensuse.org/request/show/1267711
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
79071578aa - 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
34c7f06b3c Accepting request 1254130 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1254130
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
11ca90c769 Accepting request 1245099 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1245099
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
31211500a9 Accepting request 1237996 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1237996
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
4b21501c66 Accepting request 1229256 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1229256
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
a9323c63eb Accepting request 1208605 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1208605
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
dafc696f6b - 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
ebd59fdf8f Accepting request 1198650 from home:mcalabkova:branches:devel:languages:python:django
- 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/request/show/1198650
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
5d6567866e Accepting request 1198652 from home:aplanas:branches:devel:languages:python:django
- 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/request/show/1198652
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
457ae52508 Accepting request 1192949 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.1
  * Supports Python >= 3.10.
  * Easier guardrails for authentication: the new and shiny 
    LoginRequiredMiddleware, when added to MIDDLEWARE, enforces 
    authentication for all views by default.
  * A more inclusive framework: Django 5.1 includes several accessibility 
    enhancements, such as improved screen reader support in the admin 
    interface, more semantic HTML elements, and better association of 
    help text and labels with form fieldsets.
  * The second oldest ticket fixed in this release provides the long awaited 
    querystring template tag, which greatly simplifies the handling of query 
    strings when building URLs in templates.
  * For a detailed list of changes see https://docs.djangoproject.com/en/5.1/releases/5.1/
- Refreshed python-Django.keyring

OBS-URL: https://build.opensuse.org/request/show/1192949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=175
2024-08-09 14:04:24 +00:00
0e66e59a61 add bugzilla entries for the CVEs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=174
2024-08-08 10:33:49 +00:00
3036718655 Accepting request 1192057 from home:aplanas:branches:devel:languages:python:django
- Update to 5.0.8
  * CVE-2024-41989: Memory exhaustion in
    django.utils.numberformat.floatformat()
  * CVE-2024-41990: Potential denial-of-service vulnerability in
    django.utils.html.urlize()
  * CVE-2024-41991: Potential denial-of-service vulnerability in
    django.utils.html.urlize() and AdminURLFieldWidget
  * CVE-2024-42005: Potential SQL injection in QuerySet.values() and
    values_list()
  * Added missing validation for
    UniqueConstraint(nulls_distinct=False) when using *expressions
  * Fixed a regression in Django 5.0 where ModelAdmin.action_checkbox
    could break the admin changelist HTML page when rendering a model
    instance with a __html__ method
  * Fixed a crash when creating a model with a Field.db_default and a
    Meta.constraints constraint composed of __endswith, __startswith,
    or __contains lookups
  * Fixed a regression in Django 5.0.7 that caused a crash in
    LocaleMiddleware when processing a language code over 500
    characters
  * Fixed a bug in Django 5.0 that caused a system check crash when
    ModelAdmin.date_hierarchy was a GeneratedField with an
    output_field of DateField or DateTimeField
  * Fixed a bug in Django 5.0 which caused constraint validation to
    either crash or incorrectly raise validation errors for
    constraints referring to fields using Field.db_default
  * Fixed a crash in Django 5.0 when saving a model containing a
    FileField with a db_default set

OBS-URL: https://build.opensuse.org/request/show/1192057
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=172
2024-08-07 06:25:06 +00:00
339afff384 Accepting request 1187821 from home:mcalabkova:branches:devel:languages:python
- This release also fixes several security issues:
  * bsc#1227590 (CVE-2024-38875)
  * bsc#1227593 (CVE-2024-39329)
  * bsc#1227594 (CVE-2024-39330)
  * bsc#1227595 (CVE-2024-39614)

OBS-URL: https://build.opensuse.org/request/show/1187821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=169
2024-07-17 14:12:33 +00:00
1354207c29 Accepting request 1186489 from home:mcalabkova:branches:devel:languages:python:django
- Update to 5.0.7
  * Supports Python >= 3.10.
  * Facet counts are now shown for applied filters in the admin changelist 
    when toggled on via the UI. This behavior can be changed via the new 
    ModelAdmin.show_facets attribute.
  * Django 5.0 introduces the concept of a field group, and field group 
    templates. This simplifies rendering of the related elements of a 
    Django form field such as its label, widget, help text, and errors.
  * The new Field.db_default parameter sets a database-computed default value.
  * The new GeneratedField allows creation of database generated columns. 
    This field can be used on all supported database backends to create 
    a field that is always computed from other fields.
  * More options for declaring field choices
  * Few backwards-incompatible changes in the database backend API,
    django.contrib.gis and django.contrib.sitemaps
  * Dropped support for MySQL < 8.0.11
  * Using create_defaults__exact may now be required with QuerySet.update_or_create()
  * Migrating existing UUIDField on MariaDB 10.7+
- Drop no-longer-needed patches:
  * dirty-hack-remove-assert.patch
  * sanitize_address.patch

OBS-URL: https://build.opensuse.org/request/show/1186489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=167
2024-07-10 05:58:27 +00:00
44754bf2e2 Accepting request 1172647 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.13
  + Django 4.2.13 fixes a packaging error in 4.2.12.
- Update to 4.2.12
  + Django 4.2.12 fixes a compatibility issue with Python 3.11.9+ and 3.12.3+.
  + Fixed a crash in Django 4.2 when validating email max line lengths
    with content decoded using the surrogateescape error handling
    scheme
- Drop fix-safemimetext-set_payload.patch, already merged upstream

OBS-URL: https://build.opensuse.org/request/show/1172647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=165
2024-05-08 07:44:45 +00:00
5c24bf8efa Accepting request 1168719 from home:dgarcia:branches:devel:languages:python:Factory
- Add fix-safemimetext-set_payload.patch, to support python 3.11.9+
  (gh#django/django@b231bcd19e57, bsc#1222880)

OBS-URL: https://build.opensuse.org/request/show/1168719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=163
2024-04-18 06:46:26 +00:00
e8d68eddd1 Accepting request 1154851 from home:aplanas:branches:devel:languages:python:django
-  Update to 4.2.11 (CVE-2024-27351, bsc#1220358)
  * CVE-2024-27351: Potential regular expression denial-of-service in
    django.utils.text.Truncator.words()
  * Fixed a regression in Django 4.2.10 where intcomma template filter
    could return a leading comma for string representation of floats
- Remove python3122.patch, already upstream

OBS-URL: https://build.opensuse.org/request/show/1154851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=161
2024-03-04 15:20:16 +00:00
6c6e0c9c92 - Add python3122.patch to fix tests with python 3.12.2
gh#django/django#17843
- Update to 4.2.10 (bsc#1219683, CVE-2024-24680):
  - Django 4.2.10 fixes a security issue with severity "moderate" in
    4.2.9.
    CVE-2024-24680: Potential denial-of-service in intcomma template
    filter The intcomma template filter was subject to a potential
    denial-of-service attack when used with very long strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=158
2024-02-09 10:55:29 +00:00
ec2a2d4281 Accepting request 1137053 from home:alarrosa:branches:devel:languages:python:django
Add bugzilla reference

  + CVE-2023-31047: Potential bypass of validation when uploading
    multiple files using one form field (bsc#1210866)

OBS-URL: https://build.opensuse.org/request/show/1137053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=156
2024-01-05 17:21:59 +00:00
5db55c8861 Accepting request 1136760 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.9:
  * Fixed a regression in Django 4.2.8 where admin fields on the same
    line could overflow the page and become non-interactive

OBS-URL: https://build.opensuse.org/request/show/1136760
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=155
2024-01-04 10:14:17 +00:00
78acb5017d Accepting request 1130704 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.8
  * Fixed a regression in Django 4.2 that caused makemigrations
    --check to stop displaying pending migrations
  * Fixed a regression in Django 4.2 that caused a crash of
    QuerySet.aggregate() with aggregates referencing other aggregates
    or window functions through conditional expressions
  * Fixed a regression in Django 4.2 that caused a crash when
    annotating a QuerySet with a Window expressions composed of a
    partition_by clause mixing field types and aggregation expressions
  * Fixed a regression in Django 4.2 where the admin’s change list
    page had misaligned pagination links and inputs when using
    list_editable
  * Fixed a regression in Django 4.2 where checkboxes in the admin
    would be centered on narrower screen widths
  * Fixed a regression in Django 4.2 that caused a crash of querysets
    with aggregations on MariaDB when the ONLY_FULL_GROUP_BY SQL mode
    was enabled
  * Fixed a regression in Django 4.2 where the admin’s read-only
    password widget and some help texts were incorrectly aligned at
    tablet widths
  * Fixed a regression in Django 4.2 that caused a migration crash on
    SQLite when altering unsupported Meta.db_table_comment

OBS-URL: https://build.opensuse.org/request/show/1130704
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=153
2023-12-04 10:38:51 +00:00
f70b6a88a7 Accepting request 1129117 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- add dirty-hack-remove-assert.patch from fedora to fix
  minor test failure with python 3.12

- Update to 4.2.5 (CVE-2023-41164)
- Update minimal dependency versions.
  + Fixed a long standing bug in the __len lookup for ArrayField
    constraints on expressions and database functions.
    customization.
  read the egg-info and fail if they are not fulfilled.
  + New decorators for the admin site
  * CVE-2020-24584: Permission escalation in intermediate-level directories of the file
  * Fixed a data loss possibility in the select_for_update(). When using related fields
  * Fixed a regression in Django 3.1 that caused permission errors in CommonPasswordValidator
 * Added compatibility for cx_Oracle 8
 * many other bugfixes
- Update to 3.0.5
 * Fixed a regression in Django 2.0 where combining Q objects with __in lookups
     with FileExistsError if concurrent saves try to create the same directory
  * Made admin’s RelatedFieldWidgetWrapper use the wrapped widget’s
    value_omitted_from_data() method (#27905)
  * Fixed ClearableFileInput’s “Clear” checkbox on model form fields where the
    model field has a default
  * Fixed RequestDataTooBig and TooManyFieldsSent exceptions crashing rather than
  * Fixed a crash on Oracle and PostgreSQL when subtracting DurationField or
    IntegerField from DateField
  * Fixed query expression date subtraction accuracy on PostgreSQL for differences
  * Fixed a GDALException raised by GDALClose on GDAL >= 2.0
  * Quoted the Oracle test user’s password in queries to fix the “ORA-00922: missing
    or invalid option” error when the password starts with a number or
  with SLE-12 which provides PIL instead of Pillow.

OBS-URL: https://build.opensuse.org/request/show/1129117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=151
2023-11-27 12:51:15 +00:00
9daf66e2d5 Accepting request 1121555 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.7
  * Fixed a regression in Django 4.2 that caused a crash of
    QuerySet.aggregate() with aggregates referencing expressions
    containing subqueries
  * Restored, following a regression in Django 4.2, creating
    varchar/text_pattern_ops indexes on CharField and TextField with
    deterministic collations on PostgreSQL

OBS-URL: https://build.opensuse.org/request/show/1121555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=149
2023-11-01 19:30:35 +00:00
bd89a6aadb - Update to 4.2.6 (bsc#1215978, CVE-2023-43665)
* CVE-2023-43665: Denial-of-service possibility in
    django.utils.text.Truncator
    The input processed by Truncator, when operating in HTML mode, has
    been limited to the first five million characters in order to
    avoid potential performance and memory issues.
  * Fixed a regression in Django 4.2.5 where overriding the deprecated
    DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings in tests
    caused the main STORAGES to mutate (#34821).
  * Fixed a regression in Django 4.2 that caused unnecessary casting
    of string based fields (CharField, EmailField, TextField,
    CICharField, CIEmailField, and CITextField) used with the __isnull
    lookup on PostgreSQL. As a consequence, indexes using an __isnull
    expression or condition created before Django 4.2 wouldn’t be used
    by the query planner, leading to a performance regression
    (#34840).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=147
2023-10-16 08:50:29 +00:00
1e02396fd8 Accepting request 1108899 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.5 (CVE-2023-41164) 
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused an incorrect
      validation of CheckConstraints on __isnull lookups against
      JSONField
    * Fixed a bug in Django 4.2 where the deprecated
      DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings were not
      synced with STORAGES
    * Fixed a regression in Django 4.2.2 that caused an unnecessary
      selection of a non-nullable ManyToManyField without a natural
      key during serialization
    * Fixed a regression in Django 4.2 that caused a crash of a
      queryset when filtering against deeply nested OuterRef()
      annotations

OBS-URL: https://build.opensuse.org/request/show/1108899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=145
2023-09-04 14:23:01 +00:00
fd7a9a1b04 Accepting request 1101901 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.4
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.aggregate() with aggregates referencing window
      functions
    * Fixed a regression in Django 4.2 that caused a crash when
      grouping by a reference in a subquery
    * Fixed a regression in Django 4.2 that caused aggregation over
      query that uses explicit grouping by multi-valued annotations to
      group against the wrong columns

OBS-URL: https://build.opensuse.org/request/show/1101901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=143
2023-08-02 07:50:24 +00:00
5be7305f2a Accepting request 1099276 from home:mcalabkova:branches:devel:languages:python:django
- Add upstream sanitize_address.patch
  * fixes build with yet another CPython upstream fix (bsc#1210638)

OBS-URL: https://build.opensuse.org/request/show/1099276
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=141
2023-07-18 13:27:33 +00:00
febfed4b26 Accepting request 1097909 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.3 (bsc#1212742, CVE-2023-36053)
  + CVE-2023-36053: Potential regular expression denial of service
    vulnerability in EmailValidator/URLValidator
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused incorrect alignment
      of timezone warnings for DateField and TimeField in the admin
    * Fixed a regression in Django 4.2 that caused incorrect
      highlighting of rows in the admin changelist view when
      ModelAdmin.list_editable contained a BooleanField

OBS-URL: https://build.opensuse.org/request/show/1097909
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=139
2023-07-10 10:10:57 +00:00
ef6556ff23 Accepting request 1092045 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092045
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=137
2023-06-11 07:55:46 +00:00
a7891abdca Accepting request 1091039 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.2
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused an unnecessary
      DBMS_LOB.SUBSTR() wrapping in the __isnull and __exact=None
      lookups for TextField()/BinaryField() on Oracle
    * Restored, following a regression in Django 4.2, get_prep_value()
      call in JSONField subclasses
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.defer() when passing a ManyToManyField or
      GenericForeignKey reference. While doing so is a no-op, it was
      allowed in older version
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.only() when passing a reverse OneToOneField reference
    * Fixed a bug in Django 4.2 where makemigrations --update didn’t
      respect the --name option
    * Fixed a performance regression in Django 4.2 when compiling
      queries without ordering
    * Fixed a regression in Django 4.2 where nonexistent stylesheet
      was linked on a “Congratulations!” page
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.aggregate() with expressions referencing other
      aggregates
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.aggregate() with aggregates referencing subqueries
    * Fixed a regression in Django 4.2 that caused a crash of
      querysets on SQLite when filtering on DecimalField against
      values outside of the defined range
    * Fixed a regression in Django 4.2 that caused a serialization
      crash on a ManyToManyField without a natural key when its
      Manager’s base QuerySet used select_related()

OBS-URL: https://build.opensuse.org/request/show/1091039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=135
2023-06-06 10:33:13 +00:00
7e51f05705 Accepting request 1084538 from home:aplanas:branches:devel:languages:python:django
- Update to 4.2.1
  + CVE-2023-31047: Potential bypass of validation when uploading multiple files using one form field
  + Bugfixes
    * Fixed a regression in Django 4.2 that caused a crash of
      QuerySet.defer() when deferring fields by attribute names
    * Fixed a regression in Django 4.2 that caused a crash of
      SearchVector function with % characters
    * Fixed a regression in Django 4.2 that caused aggregation over
      query that uses explicit grouping to group against the wrong
      columns
    * Reallowed, following a regression in Django 4.2, setting the
      "cursor_factory" option in OPTIONS on PostgreSQL
    * Enforced UTF-8 client encoding on PostgreSQL, following a
      regression in Django 4.2
    * Fixed a regression in Django 4.2 where i18n_patterns() didn’t
      respect the prefix_default_language argument when a fallback
      language of the default language was used
    * Fixed a regression in Django 4.2 where translated URLs of the
      default language from i18n_patterns() with
      prefix_default_language set to False raised 404 errors for a
      request with a different language
    * Fixed a regression in Django 4.2 where creating copies and deep
      copies of HttpRequest, HttpResponse, and their subclasses didn’t
      always work correctly
    * Fixed a regression in Django 4.2 where timesince and timeuntil
      template filters returned incorrect results for a datetime with
      a non-UTC timezone when a time difference is less than 1 day
    * Fixed a regression in Django 4.2 that caused a crash of
      SearchHeadline function with psycopg 3
    * Fixed a regression in Django 4.2 that caused incorrect
      ClearableFileInput margins in the admin
    * Fixed a regression in Django 4.2 where breadcrumbs didn’t appear
      on admin site app index views
    * Made squashing migrations reduce AddIndex, RemoveIndex,
      RenameIndex, and CreateModel operations which allows removing a
      deprecated Meta.index_together option from historical migrations
      and use Meta.indexes instead

OBS-URL: https://build.opensuse.org/request/show/1084538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=133
2023-05-04 07:11:45 +00:00
3c4c0867cd Accepting request 1077655 from home:david.anes:branches:devel:languages:python:django
- Update minimal dependency versions.

OBS-URL: https://build.opensuse.org/request/show/1077655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=131
2023-04-10 07:08:59 +00:00