Fellow Reports - January 2023

98 views
Skip to first unread message

Mariusz Felisiak

unread,
Jan 20, 2023, 6:44:39 AM1/20/23
to django-d...@googlegroups.com

Week ending January 8, 2023

Released Django 4.1.5.

Added https://code.djangoproject.com/wiki/Version5.0Roadmap.

Triaged:
   https://code.djangoproject.com/ticket/34237 - FileField does not take upload_to into account when setting unique=True (invalid)
   https://code.djangoproject.com/ticket/34236 - Django logging when in production with Gunnicron (invalid)
   https://code.djangoproject.com/ticket/34238 - Support computed `GENERATED ALWAYS` columns (duplicate)
   https://code.djangoproject.com/ticket/31300 - Add function-based virtual fields. (accepted)
   https://code.djangoproject.com/ticket/34239 - Resolve load type-hinted objects in views (wontfix)
   https://code.djangoproject.com/ticket/33386 - Autocomplete on refresh with Firefox interacts badly with ModelMultipleChoiceField in forms (needsinfo)
   https://code.djangoproject.com/ticket/34240 - assertRedirects() doesn't preserve headers set in RequestFactory/Client methods. (created)
   https://code.djangoproject.com/ticket/34243 - timesince() raises TypeError with USE_TZ=True and >1 month interval. (accepted)
   https://code.djangoproject.com/ticket/34244 - Allow overriding error params in BaseValidator (wontfix)
   https://code.djangoproject.com/ticket/34241 - Django admin not showing seconds for list_display nor readonly DateTimeField (wontfix)

Reviewed/committed:
   https://github.com/django/django/pull/16411 - Fixed #34235 -- Added ManifestFilesMixin.manifest_hash attribute.
   https://github.com/django/django/pull/16415 - Fixed #33783 -- Added IsEmpty GIS database function and __isempty lookup on PostGIS.
   https://github.com/django/django/pull/16360 - Fixed #34200 -- Made the session role configurable on PostgreSQL.
   https://github.com/django/django/pull/16401 - Refs #34074 -- Used headers argument for RequestFactory and Client in docs and tests.
   https://github.com/django/django/pull/16423 - Simplified django.utils.formats.date_format()/time_format() calls.
   https://github.com/django/django/pull/16425 - Fixed #34232 -- Fixed typo in docs/intro/tutorial07.txt.
   https://github.com/django/django/pull/16424 - Simplified implementation of various date formats.
   https://github.com/django/django/pull/16429 - Fixed #34243 -- Fixed timesince() crash with timezone-aware dates and interval longer than 1 month.
   https://github.com/django/django/pull/15872 - Fixed #33865 -- Optimized LimitedStream wrapper.
   https://github.com/django/django/pull/16433 - Fixed #34220 -- Moved csrf_input_lazy, csrf_token_lazy imports to the toplevel.
   https://github.com/django/django/pull/16434 - Renamed 'requests' test package.

Authored:
   https://github.com/django/django/pull/16419 - Fixed #23842 -- Fixed flaky GeoQuerySetTest.test_make_line() test.
   https://github.com/django/django/pull/16430 - Refs #32355 -- Bumped mysqlclient requirement to >= 1.4.3.
   https://github.com/django/django/pull/16431 - Refs #32355 -- Bumped minimum supported versions of 3rd-party packages.

Week ending January 15, 2023

Triaged:
   https://code.djangoproject.com/ticket/34245 - Change User model in BaseUserCreationForm/UserChangeForm.Meta to get_user_model(). (duplicate)
   https://code.djangoproject.com/ticket/34237 - FileField does not take upload_to into account when setting unique=True (invalid)
   https://code.djangoproject.com/ticket/34247 - Cannot resolve operation dependencies (needsinfo)
   https://code.djangoproject.com/ticket/34249 - Custom RelatedManager documentation should have side tip on prefetch_related (duplicate)
   https://code.djangoproject.com/ticket/34250 - Duplicate model names in M2M relationship causes RenameModel migration failure (accepted)
   https://code.djangoproject.com/ticket/34255 - Annotation/group by with an expression on psycopg3 (accepted)
   https://code.djangoproject.com/ticket/34256 - There is a problem in the document (invalid)
   https://code.djangoproject.com/ticket/34258 - Import Error issues. (duplicate)
   https://code.djangoproject.com/ticket/34257 - ForeignKeyRawIdWidget doesn't include vForeignKeyRawIdAdminField class when custom class passed in attrs (wontfix)

Reviewed/committed:
   https://github.com/django/django/pull/16321 - Fixed #34176 -- Fixed grouping by ambiguous aliases.
   https://github.com/django/django/pull/16437 - Refs #30240 -- Fixed argument name for MySQLSHA2Mixin.as_mysql() and PostgreSQLSHAMixin.as_postgresql() methods.
   https://github.com/django/django/pull/16262 - Fixed #34110 -- Added in-memory file storage.
   https://github.com/django/django/pull/16428 - Fixed #31014 -- Added FromWKB and FromWKT GIS database functions.
   https://github.com/django/django/pull/16441 - Refs #26029 -- Added LazySettings._show_deprecation_warning() hook.
   https://github.com/django/django/pull/16442 - Fixed #26029 -- Allowed configuring custom file storage backends.
   https://github.com/django/django/pull/15610 - Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
   https://github.com/django/django/pull/16445 - Fixed #34234 -- Dropped support for PROJ 4.

Authored:
   https://github.com/django/django/pull/16439 - Corrected used JS libraries in GIS widget docs.
   https://github.com/django/django/pull/16440 - Refs #31546, Refs #34118 -- Corrected CommandTests.test_requires_system_checks_specific().
   https://github.com/django/django/pull/16443 - Refs #33879 -- Fixed plural value deprecation warnings.
   https://github.com/django/django/pull/16444 - Fixed thread termination in servers.tests.LiveServerPort on Python 3.10.9+, 3.11.1+, and 3.12+.
   https://github.com/django/django/pull/16446 - Refs #18468 -- Used obj_description() with a catalog name on PostgreSQL.
   https://github.com/django/django/pull/16447 - Fixed #34240 -- Preserved headers of requests made with django.test.Client in assertRedirects().
   https://github.com/django/django/pull/16432 - Bootstrapped Django 5.0.
   https://github.com/django/django/pull/16457 - Pre-edits for 4.1a1.

Best,
Mariusz

Mariusz Felisiak

unread,
Jan 23, 2023, 6:02:40 AM1/23/23
to Django developers (Contributions to Django itself)
Week ending January 22, 2023

Triaged:
   https://code.djangoproject.com/ticket/34260 - models.FloatField documentation doesn't mention that +inf, -inf, and NaN are invalid. (invalid)
   https://code.djangoproject.com/ticket/34261 - Use {% url model_object %} to work with get_absolute_url (wontfix)
   https://code.djangoproject.com/ticket/30129 - Allow creating models with fields values as a Subquery() with F() expressions (fixed)
   https://code.djangoproject.com/ticket/34263 - File validators for MIME type, size, and extension. (wontfix)
   https://code.djangoproject.com/ticket/34264 - Move note about session cookies to correct category (accepted)
   https://code.djangoproject.com/ticket/34265 - Add ToDate ORM function (wontfix)
   https://code.djangoproject.com/ticket/34267 - QuerySet.union() crashes with IndexError when getting cached results. (accepted)
   https://code.djangoproject.com/ticket/34268 - Internationalization does not localize functional model choices (invalid)
   https://code.djangoproject.com/ticket/34269 - Add Unnest PostgreSQL ORM function (wontfix)
   https://code.djangoproject.com/ticket/34270 - Use @functools.cache instead of @functools.lru_cache(maxsize=None) (duplicate)
   https://code.djangoproject.com/ticket/34272 - floatformat() crashes on "0.00". (accepted)
   https://code.djangoproject.com/ticket/34273 - settings.DEFAULT_FILE_STORAGE is not the same as settings.STORAGES["default"] (invalid)
   https://code.djangoproject.com/ticket/34275 - Add new Field named FieldAlias (wontfix)
   https://code.djangoproject.com/ticket/34278 - Missing ngettext call in SelectFilter2.js (accepted)

Reviewed/committed:
   https://github.com/django/django/pull/16451 - Refs #30129 -- Added test for create() with F() expression in Subquery.
   https://github.com/django/django/pull/16458 - Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
   https://github.com/django/django/pull/16465 - Fixed #34264 -- Moved release note about session cookies into error reporting section.
   https://github.com/django/django/pull/16478 - Refs #34233 -- Used aiter() and anext().
   https://github.com/django/django/pull/16481 - Refs #34233 -- Used types.NoneType.
   https://github.com/django/django/pull/16480 - Refs #34233 -- Used @functools.cache.
   https://github.com/django/django/pull/16468 - Fixed #32528 -- Replaced django.utils.topological_sort with graphlib.TopologicalSort().
   https://github.com/django/django/pull/16485 - Fixed #34272 -- Fixed floatformat crash on zero with trailing zeros to zero decimal places.
   https://github.com/django/django/pull/16449 - Fixed #34266 -- Added ClosestPoint GIS database functions.
   https://github.com/django/django/pull/16486 - Fixed #34267 -- Fixed sliced QuerySet.union() crash.
   https://github.com/django/django/pull/16477 - Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.
   https://github.com/django/django/pull/16492 - Added short description to remove_stale_contenttypes command.

Authored:
   https://github.com/django/django/pull/16460 - Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding with psycopg version 3.
   https://github.com/django/django/pull/16463 - [4.2.x] Updated source translation catalogs.
   https://github.com/django/django/pull/16467 - Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
   https://github.com/pypa/trove-classifiers/pull/128 - Add Django :: 4.2 classifier.
   https://github.com/django/django/pull/16469 - Doc'd that 4.2 is LTS.
   https://github.com/django/django/pull/16472 - Refs #32339 -- Deprecated transitional form renderers.
   https://github.com/django/django/pull/16476 - Refs #34233 -- Referenced isocalendar() results by names not indexes.
   https://github.com/django/django/pull/16475 - Refs #34233 -- Used str.removeprefix()/removesuffix().

Best,
Mariusz

Mariusz Felisiak

unread,
Jan 30, 2023, 5:40:51 AM1/30/23
to Django developers (Contributions to Django itself)
Week ending January 29, 2023

Triaged:
   https://code.djangoproject.com/ticket/34283 - Missing parameter escaping in admin filters.js (accepted)
   https://code.djangoproject.com/ticket/34282 - Optimize update_or_create when defaults is empty / False-y (wontfix)
   https://code.djangoproject.com/ticket/34277 - Add where clause in QuerySet.bulk_create() when update_conflicts=True (accepted)
   https://code.djangoproject.com/ticket/34276 - LocMemCache not working for multiple threads (invalid)
   https://code.djangoproject.com/ticket/34280 - Support create defaults for update_or_create (accepted)
   https://code.djangoproject.com/ticket/34284 - Permission to access adminsites (wontfix)
   https://code.djangoproject.com/ticket/34287 - JavaScript code blocks in the documentation have poor contrast when light theme is enabled (invalid)
   https://code.djangoproject.com/ticket/34286 - Class based views cause 404 on :view: directive. (accepted)
   https://code.djangoproject.com/ticket/34288 - Using queryset manager methods as default value breaks makemigrations (duplicate)
   https://code.djangoproject.com/ticket/34290 - X-Forwarded-Prefix support (needsinfo)
   https://code.djangoproject.com/ticket/23563 - Make `staticfiles_storage` a public API (fixed)
   https://code.djangoproject.com/ticket/34291 - Validation of UniqueConstraint with ordered expressions crashes. (accepted)
   https://code.djangoproject.com/ticket/34293 - Extra validation introduced in 30581 breaks certain constraint setups (wontfix)
   https://code.djangoproject.com/ticket/34292 - Support display function in InlineModelAdmin (invalid)
   https://code.djangoproject.com/ticket/34294 - File locking fails if argtypes redefined on Windows. (accepted)
   https://code.djangoproject.com/ticket/34296 - Formset validation does not consider UniqueConstraint with F() expressions. (duplicate)
   https://code.djangoproject.com/ticket/34297 - ValueError: invalid token in plural form: EXPRESSION when adding new language (invalid)
   https://code.djangoproject.com/ticket/34298 - drop constraint if exists (wontfix)
   https://code.djangoproject.com/ticket/34295 - Add makemigrations flag that just uses timestamp (wontfix)

Reviewed/committed:
   https://github.com/django/django/pull/16494 - Fixed #34278 -- Made translatable string plural-aware in SelectFilter2.js.
   https://github.com/django/django/pull/16493 - Fixed #34192 -- Preserved callable storage when it returns default_storage.
   https://github.com/django/django/pull/16408 - Fixed #34227 -- Fixed QuerySet.select_related() with multi-level FilteredRelation.
   https://github.com/django/django/pull/16498 - Corrected passenv value for tox 4.0.6+.
   https://github.com/django/django/pull/16503 - Fixed #34294 -- Protected django.core.files.locks against argtypes redefinition on Windows.
   https://github.com/django/django/pull/16491 - Fixed #34254 -- Fixed return value of Exists() with empty queryset.
   https://github.com/django/django/pull/16502 - Fixed #28054 -- Made runserver not return response body for HEAD requests.

Authored:
   https://github.com/django/django/pull/16501 - Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint with ordered expressions.
   https://github.com/django/django/pull/16505 - Refs #34255 -- Skipped test_group_by_nested_expression_with_params test on PostgreSQL when server-side binding cursors are used.

Best,
Mariusz
Reply all
Reply to author
Forward
0 new messages