1
0
forked from pool/python-Django
Commit Graph

133 Commits

Author SHA256 Message Date
1bea54f3d7 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
fffaea1120 - Fix python3122.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=159
2024-02-09 11:23:34 +00:00
5cd5359fe9 - 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
c93b729a7d 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
d349f9a71e 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
947b4638e3 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
f5462fb0ba 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
511a9bdfa8 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
7fe88e78a2 - 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
b9976f23dd 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
e8b7c32d59 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
fe8cfebe06 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
8a22c0bac2 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
75163a6907 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
62fb97b70f 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
6ae26379e9 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
737dd2a5ab 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
3a4a71f932 Accepting request 1077154 from home:david.anes:branches:devel:languages:python:django
- Update to 4.2:
  This is just a summary. Full release notes are available at
  https://docs.djangoproject.com/en/4.2/releases/4.2/
  + Psycopg 3 support
  + Comments on columns and tables
  + Mitigation for the BREACH attack
  + In-memory file storage
  + Custom file storages
  + For backwards incompatible changes in 4.2 see
  https://docs.djangoproject.com/en/4.2/releases/4.2/#backwards-incompatible-changes-in-4-2
- Update of keyring file

OBS-URL: https://build.opensuse.org/request/show/1077154
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=129
2023-04-04 12:57:04 +00:00
ce36eaf1af Accepting request 1065702 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.7:
  + CVE-2023-24580: Potential denial-of-service vulnerability in file
    uploads (bsc#1208082)
  + Fixed a bug in Django 4.1 that caused a crash of model validation
    on ValidationError with no code

OBS-URL: https://build.opensuse.org/request/show/1065702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=127
2023-02-14 10:19:37 +00:00
5b99a6375d Accepting request 1062447 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.6:
  + CVE-2023-23969: Potential denial-of-service via Accept-Language
    headers Bugfixes
  + Fixed a bug in Django 4.1 that caused a crash of model validation
    on UniqueConstraint with ordered expressions

OBS-URL: https://build.opensuse.org/request/show/1062447
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=125
2023-02-01 13:06:51 +00:00
d185374299 Accepting request 1046292 from home:david.anes:branches:devel:languages:python:django
- Update to 4.1.5:
  + Fixed a long standing bug in the __len lookup for ArrayField 
    that caused a crash of model validation on Meta.constraints.
- Update keyring file.

OBS-URL: https://build.opensuse.org/request/show/1046292
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=123
2023-01-03 10:05:02 +00:00
b5ae892e09 - Recommends python-pymemcache instead of the deprecated
python-python-memcached. This is the module used in Django since 3.2
  https://docs.djangoproject.com/en/3.2/releases/3.2/#pymemcache-support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=121
2022-12-21 09:48:13 +00:00
5c0c0bef77 Accepting request 1040693 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.4
  + Fixed a regression in Django 4.1 that caused an unnecessary table
    rebuild when adding a ManyToManyField on SQLite
  + Fixed a bug in Django 4.1 that caused a crash of the sitemap index
    view with an empty Sitemap.items() and a callable lastmod
  + Fixed a bug in Django 4.1 that caused a crash using acreate(),
    aget_or_create(), and aupdate_or_create() asynchronous methods of
    related managers
  + Fixed a bug in Django 4.1 that caused a crash of
    QuerySet.bulk_create() with "pk" in unique_fields
  + Fixed a bug in Django 4.1 that caused a crash of
    QuerySet.bulk_create() on fields with db_column

OBS-URL: https://build.opensuse.org/request/show/1040693
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=119
2022-12-06 14:24:13 +00:00
acfcaf8280 Accepting request 1032928 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.3
  + Fixed a bug in Django 4.1 that caused non-Python files created by
    startproject and startapp management commands from custom
    templates to be incorrectly formatted using the black command

OBS-URL: https://build.opensuse.org/request/show/1032928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=117
2022-11-02 16:27:34 +00:00
115233053a Accepting request 1007838 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.2 (bsc#1203793, CVE-2022-41323)
  + Fixed a regression in Django 4.1 that caused a migration crash on
    PostgreSQL when adding a model with ExclusionConstraint
  + Fixed a regression in Django 4.1 that caused aggregation over a
    queryset that contained an Exists annotation to crash due to too
    many selected columns
  + Fixed a bug in Django 4.1 that caused an incorrect validation of
    CheckConstraint on NULL values
  + Fixed a regression in Django 4.1 that caused a
    QuerySet.values()/values_list() crash on ArrayAgg() and JSONBAgg()
  + Fixed a bug in Django 4.1 that caused
    ModelAdmin.autocomplete_fields to be incorrectly selected after
    adding/changing related instances via popups
  + Fixed a regression in Django 4.1 where the app registry was not
    populated when running parallel tests with the multiprocessing
    start method spawn
  + Fixed a regression in Django 4.1 where the --debug-mode argument
    to test did not work when running parallel tests with the
    multiprocessing start method spawn
  + Fixed a regression in Django 4.1 that didn’t alter a sequence type
    when altering type of pre-Django 4.1 serial columns on PostgreSQL
  + Fixed a regression in Django 4.1 that caused a crash for View
    subclasses with asynchronous handlers when handling non-allowed
    HTTP methods
  + Reverted caching related managers for ForeignKey, ManyToManyField,
    and GenericRelation that caused the incorrect refreshing of
    related objects
  + Relaxed the system check added in Django 4.1 for the same name
    used for multiple template tag modules to a warning

OBS-URL: https://build.opensuse.org/request/show/1007838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=115
2022-10-04 09:20:20 +00:00
ed6feca154 Accepting request 1001261 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1.1
  + Reallowed, following a regression in Django 4.1, using GeoIP2()
    when GEOS is not installed
  + Fixed a regression in Django 4.1 that caused a crash of admin’s
    autocomplete widgets when translations are deactivated
  + Fixed a regression in Django 4.1 that caused a crash of the test
    management command when running in parallel and multiprocessing
    start method is spawn
  + Fixed a regression in Django 4.1 that caused an incorrect
    redirection to the admin changelist view when using "Save and
    continue editing" and "Save and add another" options
  + Fixed a regression in Django 4.1 that caused a crash of Window
    expressions with ArrayAgg
  + Fixed a regression in Django 4.1 that caused a migration crash on
    SQLite 3.35.5+ when removing an indexed field
  + Fixed a bug in Django 4.1 that caused a crash of model validation
    on UniqueConstraint() with field names in expressions
  + Fixed a bug in Django 4.1 that caused an incorrect validation of
    CheckConstraint() with range fields on PostgreSQL
  + Fixed a regression in Django 4.1 that caused an incorrect
    migration when adding AutoField, BigAutoField, or SmallAutoField
    on PostgreSQL
  + Fixed a regression in Django 4.1 that caused a migration crash on
    PostgreSQL when altering AutoField, BigAutoField, or
    SmallAutoField to OneToOneField
  + Fixed a migration crash on ManyToManyField fields with through
    referencing models in different apps
  + Fixed a regression in Django 4.1 that caused an incorrect
    migration when renaming a model with ManyToManyField and db_table
  + Reallowed, following a regression in Django 4.1, creating reverse

OBS-URL: https://build.opensuse.org/request/show/1001261
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=113
2022-09-05 12:15:01 +00:00
a6880f636c Accepting request 992598 from home:aplanas:branches:devel:languages:python:django
- Add 0001-Fixed-33887-Added-version-in-asserted-test-URL.patch to fix
  test

OBS-URL: https://build.opensuse.org/request/show/992598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=111
2022-08-03 14:27:47 +00:00
42e85b2195 Accepting request 992592 from home:aplanas:branches:devel:languages:python:django
- Update to 4.1:
  This is just a summary. Full release notes are available at
  https://docs.djangoproject.com/en/4.1/releases/4.1/
  + Django 4.1 supports Python 3.8, 3.9, and 3.10
  + Asynchronous handlers for class-based views
  + Asynchronous ORM interface
  + Validation of Constraints
  + Form rendering accessibility
  + CSRF_COOKIE_MASKED setting
- Drop fix_test_custom_fields_SQLite.patch (already merged)

OBS-URL: https://build.opensuse.org/request/show/992592
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=110
2022-08-03 14:14:04 +00:00
96cbf5f82b Accepting request 992580 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.7 (CVE-2022-36359, bsc#1201923):
  + Django 4.0.7 fixes a security issue with severity “high” in 4.0.6.

OBS-URL: https://build.opensuse.org/request/show/992580
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=109
2022-08-03 13:03:05 +00:00
de00d83afe Accepting request 986794 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.6
  + CVE-2022-34265: Potential SQL injection via Trunc(kind) and
    Extract(lookup_name) arguments

OBS-URL: https://build.opensuse.org/request/show/986794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=107
2022-07-05 08:25:30 +00:00
088042555c Accepting request 980458 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.5
  + Fixed a bug in Django 4.0 where not all OPTIONS were passed to a
    Redis client
  + Fixed a bug in Django 4.0 that caused a crash of QuerySet.filter()
    on IsNull() expressions
  + Fixed a bug in Django 4.0 where a hidden quick filter toolbar in
    the admin’s navigation sidebar was focusable

OBS-URL: https://build.opensuse.org/request/show/980458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=105
2022-06-02 07:48:26 +00:00
85fe9c8ae4 Accepting request 977871 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.4
  + CVE-2022-28346: Potential SQL injection in "QuerySet.annotate()",
    "aggregate()", and "extra()"
  + CVE-2022-28347: Potential SQL injection via
    "QuerySet.explain(**options)" on PostgreSQL

OBS-URL: https://build.opensuse.org/request/show/977871
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=103
2022-05-18 06:46:00 +00:00
4c26df157f Accepting request 958255 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.3
  + Prevented, following a regression in Django 4.0.1, makemigrations
    from generating infinite migrations for a model with
    ManyToManyField to a lowercased swappable model such as
    'auth.user'
  + Fixed a regression in Django 4.0 that caused a crash when
    rendering invalid inlines with readonly_fields in the admin

OBS-URL: https://build.opensuse.org/request/show/958255
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=102
2022-03-01 11:24:38 +00:00
804b177c74 Accepting request 950390 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.2 (CVE-2022-22818, bsc#1195086) (CVE-2022-23833, bsc#1195088)
  + CVE-2022-22818: Possible XSS via {% debug %} template tag
  + CVE-2022-23833: Denial-of-service possibility in file uploads
  + Fixed a bug in Django 4.0 where
    TestCase.captureOnCommitCallbacks() could execute callbacks
    multiple times
  + Fixed a regression in Django 4.0 where help_text was HTML-escaped
    in automatically-generated forms
  + Fixed a regression in Django 4.0 that caused displaying an
    incorrect name for class-based views on the technical 404 debug
    page
  + Fixed a regression in Django 4.0 that caused an incorrect repr of
    ResolverMatch for class-based views
  + Fixed a regression in Django 4.0 that caused a crash of
    makemigrations on models without Meta.order_with_respect_to but
    with a field named _order
  + Fixed a regression in Django 4.0 that caused incorrect
    ModelAdmin.radio_fields layout in the admin
  + Fixed a duplicate operation regression in Django 4.0 that caused a
    migration crash when altering a primary key type for a concrete
    parent model referenced by a foreign key
  + Fixed a bug in Django 4.0 that caused a crash of
    QuerySet.aggregate() after annotate() on an aggregate function
    with a default
  + Fixed a regression in Django 4.0 that caused a crash of
    makemigrations when renaming a field of a renamed model

OBS-URL: https://build.opensuse.org/request/show/950390
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=101
2022-02-01 10:48:28 +00:00
cc14e0cce5 - Add fix_test_custom_fields_SQLite.patch fixing issues with
modern SQLite (gh#django/django#15168).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=100
2022-01-12 14:16:45 +00:00
d4f3e90ca0 Accepting request 945252 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0.1 (CVE-2021-45115, CVE-2021-45452, bsc#1194117)
  + CVE-2021-45115: Denial-of-service possibility in
    UserAttributeSimilarityValidator
  + CVE-2021-45452: Potential directory-traversal via Storage.save()
  + Fixed a regression in Django 4.0 that caused a crash of
    assertFormsetError() on a formset named form
  + Fixed a bug in Django 4.0 that caused a crash on booleans with the
    RedisCache backend
  + Relaxed the check added in Django 4.0 to reallow use of a
    duck-typed HttpRequest in
    django.views.decorators.cache.cache_control() and never_cache()
    decorators
  + Fixed a regression in Django 4.0 that caused creating bogus
    migrations for models that reference swappable models such as
    auth.User
  + Fixed a long standing bug in Geometry Collections and Polygon that
    caused a crash on some platforms (reported on macOS based on the
    ARM64 architecture)

OBS-URL: https://build.opensuse.org/request/show/945252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=99
2022-01-10 09:56:14 +00:00
9950c4c6e7 Accepting request 942768 from home:bnavigator:branches:devel:languages:python:django
- Fix u-a scriptlet dependency.
- Remove python36 conditional on numpy dep.

OBS-URL: https://build.opensuse.org/request/show/942768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=98
2021-12-28 11:56:59 +00:00
John Vandenberg
36c1e640e9 Accepting request 942286 from home:jayvdb:branches:devel:languages:python:django
- Avoid dependency on backports.zoneinfo except on Python 3.8

OBS-URL: https://build.opensuse.org/request/show/942286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=97
2021-12-24 23:29:23 +00:00
f5dc5666e4 - Clean up PYTHONPATH to make test_extra_tests_build_suite pass.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=96
2021-12-20 10:37:24 +00:00
acc0eb98b6 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=95
2021-12-19 00:03:34 +00:00
9565589087 Accepting request 936296 from home:aplanas:branches:devel:languages:python:django
- Update to 4.0
  + https://docs.djangoproject.com/en/4.0/releases/4.0/

OBS-URL: https://build.opensuse.org/request/show/936296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=94
2021-12-18 23:53:16 +00:00
72466787f4 Accepting request 928778 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.9
  + Fixed a bug in Django 3.2 that caused a migration crash on SQLite
    when altering a field with a functional index

OBS-URL: https://build.opensuse.org/request/show/928778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=93
2021-11-02 13:09:16 +00:00
bccc7af30c Accepting request 923266 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.8
  + Fixed a bug in Django 3.2 that caused incorrect links on read-only
    fields in the admin
  + Fixed a regression in Django 3.2 that caused incorrect selection
    of items across all pages when actions were placed both on the top
    and bottom of the admin change-list view
- Drop failing_test_subparser_invalid_option.patch, as is already in
  the upstream code.

OBS-URL: https://build.opensuse.org/request/show/923266
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=92
2021-10-05 14:47:49 +00:00
4e559eca14 - Add failing_test_subparser_invalid_option.patch fixing
https://code.djangoproject.com/ticket/33082

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=91
2021-09-09 15:45:45 +00:00
8d144531fc Accepting request 915460 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.7
  + Fixed a regression in Django 3.2 that caused the incorrect offset
    extraction from fixed offset timezones

OBS-URL: https://build.opensuse.org/request/show/915460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=90
2021-09-01 11:09:32 +00:00
4c84f2f3cc Accepting request 912366 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.6
  + Fixed a regression in Django 3.2 that caused a crash validating
    "NaN" input with a forms.DecimalField when additional constraints,
    e.g. max_value, were specified
  + Fixed a bug in Django 3.2 where a system check would crash on a
    model with a reverse many-to-many relation inherited from a parent
    class

OBS-URL: https://build.opensuse.org/request/show/912366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=89
2021-08-16 08:46:29 +00:00
3040922dbc Accepting request 903353 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.5 (CVE-2021-35042, bsc#1187785)
  + Fixed a regression in Django 3.2 that caused a crash of
    QuerySet.values_list(..., named=True) after prefetch_related()
  + Fixed a bug in Django 3.2 that caused a migration crash on MySQL
    8.0.13+ when altering BinaryField, JSONField, or TextField to
    non-nullable
  + Fixed a regression in Django 3.2 that caused a migration crash on
    MySQL 8.0.13+ when adding nullable BinaryField, JSONField, or
    TextField with a default value
  + Fixed a bug in Django 3.2 where a system check would crash on a
    model with an invalid app_label

OBS-URL: https://build.opensuse.org/request/show/903353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=88
2021-07-02 08:14:22 +00:00
713157e5df Accepting request 896895 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.4 (CVE-2021-33203, CVE-2021-33571)
  + CVE-2021-33203: Potential directory traversal via admindocs
  + CVE-2021-33571: Possible indeterminate SSRF, RFI, and LFI attacks
    since validators accepted leading zeros in IPv4 addresses
  + Fixed a bug in Django 3.2 where a final catch-all view in the
    admin didn’t respect the server-provided value of SCRIPT_NAME when
    redirecting unauthenticated users to the login page
  + Fixed a bug in Django 3.2 where a system check would crash on an
    abstract model
  + Prevented unnecessary initialization of unused caches following a
    regression in Django 3.2
  + Fixed a crash in Django 3.2 that could occur when running mod_wsgi
    with the recommended settings while the Windows colorama library
    was installed
  + Fixed a bug in Django 3.2 that would trigger the auto-reloader for
    template changes when directory paths were specified with strings
  + Fixed a regression in Django 3.2 that caused a crash of
    auto-reloader with AttributeError, e.g. inside a Conda environment
  + Fixed a regression in Django 3.2 that caused a loss of precision
    for operations with DecimalField on MySQL

OBS-URL: https://build.opensuse.org/request/show/896895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=86
2021-06-03 15:42:35 +00:00
8a94c91b8a Accepting request 893567 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.3
  + Prepared for mysqlclient > 2.0.3 support
  + Fixed a regression in Django 3.2 that caused the incorrect
    filtering of querysets combined with the | operator
  + Fixed a regression in Django 3.2.1 where saving FileField would
    raise a SuspiciousFileOperation even when a custom upload_to
    returns a valid file path

OBS-URL: https://build.opensuse.org/request/show/893567
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=84
2021-05-17 07:56:44 +00:00
8622f84af6 Accepting request 890932 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.2 (CVE-2021-32052)

OBS-URL: https://build.opensuse.org/request/show/890932
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=82
2021-05-07 08:11:13 +00:00