1
0
forked from pool/python-Django
Commit Graph

126 Commits

Author SHA256 Message Date
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
bc6d5ae53b Accepting request 890806 from home:bnavigator:branches:devel:languages:python:django
- Keep rpm runtime requirements in sync. Downstream packages often
  read the egg-info and fail if they are not fulfilled.

OBS-URL: https://build.opensuse.org/request/show/890806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=81
2021-05-06 08:56:41 +00:00
215700684a Accepting request 890638 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.1 (CVE-2021-31542)
  + CVE-2021-31542: Potential directory-traversal via uploaded files
  + Corrected detection of GDAL 3.2 on Windows
  + Fixed a bug in Django 3.2 where subclasses of BigAutoField and
    SmallAutoField were not allowed for the DEFAULT_AUTO_FIELD setting
  + Fixed a regression in Django 3.2 that caused a crash of
    QuerySet.values()/values_list() after QuerySet.union(),
    intersection(), and difference() when it was ordered by an
    unannotated field
  + Restored, following a regression in Django 3.2, displaying an
    exception message on the technical 404 debug page
  + Fixed a bug in Django 3.2 where a system check would crash on a
    reverse one-to-one relationships in CheckConstraint.check or
    UniqueConstraint.condition
  + Fixed a regression in Django 3.2 that caused a crash of
    ModelAdmin.search_fields when searching against phrases with
    unbalanced quotes
  + Fixed a bug in Django 3.2 where variable lookup errors were logged
    rendering the sitemap template if alternates were not defined
  + Fixed a regression in Django 3.2 that caused a crash when
    combining Q() objects which contains boolean expressions
  + Fixed a regression in Django 3.2 that caused a crash of
    QuerySet.update() on a queryset ordered by inherited or joined
    fields on MySQL and MariaDB
  + Fixed a regression in Django 3.2 that caused a crash when decoding
    a cookie value, used by
    django.contrib.messages.storage.cookie.CookieStorage, in the
    pre-Django 3.2 format
  + Fixed a regression in Django 3.2 that stopped the shift-key
    modifier selecting multiple rows in the admin changelist
  + Fixed a bug in Django 3.2 where a system check would crash on the
    STATICFILES_DIRS setting with a list of 2-tuples of (prefix, path)
  + Fixed a long standing bug involving queryset bitwise combination
    when used with subqueries that began manifesting in Django 3.2,
    due to a separate fix using Exists to exclude() multi-valued
    relationships
  + Fixed a bug in Django 3.2 where variable lookup errors were logged
    when rendering some admin templates
  + Fixed a bug in Django 3.2 where an admin changelist would crash
    when deleting objects filtered against multi-valued relationships
  + Fixed a regression in Django 3.2 where the calling process
    environment would not be passed to the dbshell command on PostgreSQL
  + Fixed a performance regression in Django 3.2 when building complex
    filters with subqueries

OBS-URL: https://build.opensuse.org/request/show/890638
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=80
2021-05-05 09:20:33 +00:00
74ea9e2062 Accepting request 883369 from home:aplanas:branches:devel:languages:python:django
- Update to 3.2.0
  + Automatic ~django.apps.AppConfig discovery
  + Customizing type of auto-created primary keys
  + Functional indexes
  + pymemcache support
  + New decorators for the admin site  
  + For a complete description of new features check:
    https://github.com/django/django/blob/main/docs/releases/3.2.txt
- Update PYTHOPATH to include the local tests
- Drop i18n_test.patch, i18n_test_extraction.patch,
  test_clear_site_cache-sort.patch

OBS-URL: https://build.opensuse.org/request/show/883369
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=78
2021-04-24 07:12:22 +00:00
92c2e14db0 Accepting request 872036 from home:bnavigator:branches:devel:languages:python:django
- Don't install python36-numpy for testing. It is no longer
  available. (The tests or portions of tests requiring numpy
  are skipped automatically in this case.)
- Let the singlespec macro do its job to set the primary provider
  for python3-django and python3-South on the primary flavor only.
- Fix mtime of cache file by recompiling.

OBS-URL: https://build.opensuse.org/request/show/872036
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=76
2021-02-15 12:40:03 +00:00
a5f8f1daf0 - Update to 3.1.4
* Fixed setting the Content-Length HTTP header in AsyncRequestFactory
 * Fixed passing extra HTTP headers to AsyncRequestFactory request methods
 * Fixed crash of key transforms for JSONField on PostgreSQL when usingi
     on a Subquery() annotation
 * Fixed a regression in Django 3.1 that caused the incorrect grouping
     by a Q object annotation
 * Fixed a regression in Django 3.1 that caused suppressing connection errors
     when JSONField is used on SQLite
 * Fixed a crash on SQLite, when QuerySet.values()/values_list() contained
     key transforms for JSONField returning non-string primitive values

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=74
2020-12-09 12:32:02 +00:00
fb993450a7 - Update to 3.1.3
* Fixed a regression in Django 3.1.2 that caused the incorrect height of the admin
   changelist search bar
 * Fixed a regression in Django 3.1.2 that caused the incorrect width of the
   admin changelist search bar on a filtered page
 * Fixed displaying Unicode characters in forms.JSONField and read-only
   models.JSONField values in the admin
 * Fixed a regression in Django 3.1 that caused a crash of ArrayAgg and StringAgg
   with ordering on key transforms for JSONField
 * Fixed a regression in Django 3.1 that caused a crash of __in lookup when using
   key transforms for JSONField in the lookup value
 * Fixed a regression in Django 3.1 that caused a crash of ExpressionWrapper with
   key transforms for JSONField
 * Fixed a regression in Django 3.1 that caused a migrations crash on PostgreSQL
   when adding an ExclusionConstraint with key transforms for JSONField in expressions
 * Fixed a regression in Django 3.1 where ProtectedError.protected_objects
   and RestrictedError.restricted_objects attributes returned iterators instead
   of set of objects
 * Fixed a regression in Django 3.1.2 that caused incorrect form input layout
   on small screens in the admin change form view
 * Fixed a regression in Django 3.1 that invalidated pre-Django 3.1 password reset tokens
 * Added support for asgiref 3.3
 * Fixed a regression in Django 3.1 that caused incorrect textarea layout
   on medium-sized screens in the admin change form view with the sidebar open
 * Fixed a regression in Django 3.0.7 that didn’t use Subquery() aliases
   in the GROUP BY clause
 * Fixed a bug in Django 3.1 where FileField instances with a callable storage were
   not correctly deconstructed
 * Fixed a regression in Django 3.1 where the QuerySet.ordered attribute returned
   incorrectly True for GROUP BY queries (e.g. .annotate().values()) on models with

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-Django?expand=0&rev=72
2020-11-02 15:18:09 +00:00