From nobody Tue Dec 01 10:07:17 2026 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jdxQF4SrKz71npc for ; Tue, 01 Dec 2026 10:07:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jdxQF3cyCz3CGS for ; Tue, 01 Dec 2026 10:07:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1796119637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h7GjmHzHOxMuKyUZ2T173iiuCjgQK0DeVkvEzN/HFlM=; b=p/atqXgCW2GduqxdLcBmFHa6NJHmGEhCBJZH8d4szshD7YmWeM/L7/PAOB5YFYWlF10+qX tCPvhdva6LAjnwciqlfrWE+FjE7uRU42Wt4Vgd/aZ6Vq+8PR9sBk4M/k8h6OQ+RhukjRyp dduZ7CriB11Bx12HlCDK6qsTq7AV/itmnGu7E2P2kyESMtBJb/Wc0bAlYweuveuNcUA/SQ UO5fFMMdcV8xUk4Yq0P2qofvYplpAnHj6EnW6fvwFiypQm3jmqumRyiBhJLK2gxogRscvr R2yM4UJSEqtGTIPP/snn7NgL9KliXbVgGlNJeSiQFDga1e4h+cBJfyI2ia0gfQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1796119637; b=rQmScsEqp6KQWfJIjnoDfzMP90L8UdYvgk3GaDDpyze0FznQXV+u93By0M1brfLvPhvQbd B1ACmJ2JqIND6Oe1lsh+pf/QXNyQ8T/mP35sccI+U2XjwH0zr4tdDxBMrSMrNebHveu43s htvQpPgzcJHy4L6HL1l+5waBJEnIDFfLfJPytlpixJorMZuUovHrFlvHIlR7lfs0j1zZXS JoiS89TQwJxt3XKdh7LqwAlkU0rE5xCCRvg4lWpFV3XvZPQjsVwavo4sEHRQdgbIi+Bkbp V/ZavrdVNTumdq2H6x/x3S6O3WpB3bgA66+lQU/BA7n+z/zGzGAmc6iqJEODVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1796119637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h7GjmHzHOxMuKyUZ2T173iiuCjgQK0DeVkvEzN/HFlM=; b=Us7eYm3ZL5cmsPGEFYfyDwQy52s09CjAed6Mz7FaSFHTJVx0IS/fuoj5ObH/Z9F2k0VFqW /+EJTOmDobIXnob7kngFCWREoIKnlWN7xUJHAweMnWMeqM3joePgQb5HbqfbsKXe6QEl63 x23+cTp70+J7CUcB1gYshPr6IJ8qAEKg6rsVigRKJeuIEJ85S2y4+u++JF9G7GHslsDR0h aicoEp2uIAbE4564HgsxxCshW9utK4NWmCy9x3wMiZvKI9xAVaMv/aAaf3LkpDCTEwzz0n /6PuL0H3bFfPqQCVOwrRLB2Mz690B7J+gXDeLoDRYUJoU0KaBnFluxK8iK/khA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4jdxQF2vXPzlZc for ; Tue, 01 Dec 2026 10:07:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 6B1A7HXI051791 for ; Tue, 1 Dec 2026 10:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6B1A7H1k051790 for python@FreeBSD.org; Tue, 1 Dec 2026 10:07:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 300115] www/py-django-bitfield: Update to 2.4.0 Date: Tue, 01 Dec 2026 10:07:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kai@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Archive: https://lists.freebsd.org/archives/freebsd-python X-BeenThere: freebsd-python@freebsd.org List-Id: FreeBSD-specific Python issues List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D300115 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D1c4d5aeabf8003916ef1c578bcf7dc8= e371ed4f6 commit 1c4d5aeabf8003916ef1c578bcf7dc8e371ed4f6 Author: Pattems AuthorDate: 2026-12-01 10:04:53 +0000 Commit: Kai Knoblich CommitDate: 2026-12-01 10:04:53 +0000 www/py-django-bitfield: Update to 2.4.0 * bitfield/types.py registers its PostgreSQL adapters through Database.extensions, which only psycopg2 has. Django's postgresql backend uses psycopg 3 when it is installed, so "import bitfield" fails with AttributeError: module 'psycopg' has no attribute 'extensions'. Keep the psycopg2 path and register int dumpers for Bit and BitHandler with psycopg 3 otherwise; 2.4.0 still has the psycopg2-only code. * Since Django 5.0 FieldListFilter.used_parameters holds lists, so the admin changelist fails with TypeError in BitHandler as soon as the bitfield filter is used. Take the last value, as Django's own filters do; 2.4.0 has the same code. * Switch to the PEP517 build framework to make the port future-proof. While here, add concurrent to USE_PYTHON, expand pkg-descr and switch to the more preferred DISTVERSION. PR: 300115 MFH: 2026Q4 With hat python Co-Authored-By: Kai Knoblich www/py-django-bitfield/Makefile | 11 ++++--- www/py-django-bitfield/distinfo | 6 ++-- .../files/patch-bitfield_admin.py (new) | 21 ++++++++++++ .../files/patch-bitfield_types.py (new) | 38 ++++++++++++++++++= ++++ www/py-django-bitfield/pkg-descr | 8 ++++- 5 files changed, 75 insertions(+), 9 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=