From nobody Tue Dec 01 10:12:19 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 4jdxX31JC8z71pP4 for ; Tue, 01 Dec 2026 10:12:19 +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 4jdxX30Hrlz3DQ3 for ; Tue, 01 Dec 2026 10:12:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1796119939; 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=JLN+ziYsQ5pQje0QFII8RYfx1YE50awdKCAuWC4nOiI=; b=srzEm3LDNg4rAYTL9fAUNC8P5BhX//eSqJdLZEIGfoM7KH0C64KrMNrcquZjzc4uV1xHpI 6NGdCi+vVwQRnUehA24bcOJAXDLEP3PE54xMgbRbHwlRpjr5hvFi6+qNoYPnCBjW7N7uIc HpSCH4beA+cTkMguE+Pesxw/A5LyO/jSYCJKescwBSlNtrwBHrbNuvExQxpFD842mPynB2 hiSGfaSfhyczybrKLUT5byXKeSiKAM6pQ2nl3mqn3NX3aFvAqsaXtk0RxRJG+xvLGQojwg uTV8qQ3ZWk2X4syrqmygoyraGQ+o5C0ojmNBMrQ1Vw8574Ymb5imV4AQ5gvsjg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1796119939; b=Mz65OulkY06F14uX6EzuIIcUS6iSTx+PJc40QVNegjvtD4wEwLO5vfnHAECuFbLA5Glwkx KCEY5ikvAEodXxqMfmeEhBZBEKCAF0y2bAEw29R+YTtFyftlmbMrfgwt0GmbL8HrTkwGlI 5SM6T32U/UFcGQpg8OkFyqxfrTSwXfGfCsHQMpuiyYZD/ezEQ+ptAtl4NUICaVI6uNEDg4 r7AaRD5GPtbO1UY8G2PdNZGod/H8GanzEaLbfWaISQlCacQ2lxCYfjQVedQ2ybmzDsqWF3 6fXBFqCE6gSJg3f4K6A4vBMZysikoXyfTwleTQmxEDDKVZEbBJS4qk/xu36AsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1796119939; 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=JLN+ziYsQ5pQje0QFII8RYfx1YE50awdKCAuWC4nOiI=; b=J9Dro/sxEn+fCwRDUf6iWc7PNI0OSschk8U3YuKG3t++b1Q72RCTawqRGodkIq/7fEVl1e aycJjhikVTWry6SfacS1UGhGeH00xPt6ODtpfUYGQKAtxLzpQv2XM2QCUaf6RBdL8iFkTB TvvfTGli2dD3NVKG7W6hufAvnFNwoHuKYzQHkgu16JNRkPHjrdT2tTeXbB03J4efwfR6tc 2IalkA6go6avBID/DQvVTRHJdrYORX9uW1hXZzljXEYc2QGZaQZp6qd51aqJgkAoeKCrKf K18LmKZh6AJrNPZhhkl6Kcr7obq+aoWFOgxapo6BGrSOKxwPJ8WdPMu8TlDrQA== 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 4jdxX2753gzlmf for ; Tue, 01 Dec 2026 10:12:18 +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 6B1ACIMG068995 for ; Tue, 1 Dec 2026 10:12:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6B1ACIwT068994 for python@FreeBSD.org; Tue, 1 Dec 2026 10:12:18 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:12:19 +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 #3 from commit-hook@FreeBSD.org --- A commit in branch 2026Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D62fff813767f9e95cf759460ee3affc= 286e23f65 commit 62fff813767f9e95cf759460ee3affc286e23f65 Author: Pattems AuthorDate: 2026-12-01 10:04:53 +0000 Commit: Kai Knoblich CommitDate: 2026-12-01 10:10:59 +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 (cherry picked from commit 1c4d5aeabf8003916ef1c578bcf7dc8e371ed4f6) 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.=