From nobody Fri Oct 30 22:21:43 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 4jGbDR2zVWz6xgjW for ; Fri, 30 Oct 2026 22:21:43 +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 4jGbDR0L4Lz4byS for ; Fri, 30 Oct 2026 22:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793398903; 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; bh=7szxA+pjOqqWfIIpyz2pUTsttI+3GyCz8BDsuqS5FY4=; b=goMZlEBAzWeYPPKgw6MjxGz2QRc8P2nxxIdx8AS1htCzoi6+CfSl/lzfeBN7RV/9mTg319 as5ZULDn3QawWFWlyDyMIYl/4Gsc9nv/ODUKzkj37Aiedarl8tSsmWNH5vPOX3rmGl5ldM pUPLMjF2qhsxtSDp9rMGBHyBJgvrHVVQvWeLKd5ksXfGyNh5xwApuwtzt2LbO9DrzpU/wY WhB0IySAaixH0mMLgML79N7X51mNlDVYGaTnGkQ/yJGd02ePzwK3T2MPU0oa6hSEpegVO9 rNoi3td+qR0prRhXuZK5UPpnbvY8wsFRGboSmvrBCgpLuuq7WWYB63Xqkq3rnQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793398903; b=sh+l5OjN9xS2weVgJiij2P73mRw4kJwjt6JW3GwvzcOVXZMZIOVYXveYBS6BLFef4ozyxd hbIXoZtbwJmECeTIylZbhhGeGc+Q7YUWlo6C7iJLai/9nK4tEKQJ9f35SyYg+Vv2diaL6A FxfjckmF70DFBVBKx+wK+yJ0M17UvZIDEVHtGVOyrokoFqUAW5LLFG+3j/5wCOJEn8qCYU 6S/UqYH5ac9AFzr9i/pUTx5U/XUJww/6bm2gu2GJv/pC2SKhfN43wbRs0KyEJtNkv1znXb 1Dg6czKJdycVi7vJfhnOfDYHs6wOFxnlP85M4ZCdSVs8ZzaCgkDlPKTW2AE7UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793398903; 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; bh=7szxA+pjOqqWfIIpyz2pUTsttI+3GyCz8BDsuqS5FY4=; b=n1qu6tS9w3qXUJG1Q1mezrzfgm+zwy6qYjXjKc8FONgcXCvxVvfXLyCHwW1f5ubdKjn8IL o5wM+qEjs1DuNvGuQKBs8jagHTuX7CnpjU6et1D3if+rO0OQ1+T53i9tGmkPv84CXyRQO+ V7sxTaYgUXx3tSEmCy92nD4OCCLhWzcm3mpw4myhjKtX/l156DSVMcYo5czC8jwwF+APWe 4Y7RqO8i6+Z30yN6GNedFNypb9UE5ji3NIj9i6DaplOJdMtPIqkf97qegRmhNZGoZlY/QN Dhl6hy+3lbUOf0t87UB+SL39dstIjYTZueVVx0MMFsws46olun4KkSDNwfwlHQ== 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 4jGbDR00q3znNC for ; Fri, 30 Oct 2026 22:21:43 +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 69UMLgLG013968 for ; Fri, 30 Oct 2026 22:21:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 69UMLgma013967 for python@FreeBSD.org; Fri, 30 Oct 2026 22:21:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 300364] devel/py-resource: Deprecate (needs devel/py-jsonform, which does not import on Python 3) Date: Fri, 30 Oct 2026 22:21:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: patrick@crandol.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: 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 Sender: owner-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=3D300364 Bug ID: 300364 Summary: devel/py-resource: Deprecate (needs devel/py-jsonform, which does not import on Python 3) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: patrick@crandol.com CC: bofh@freebsd.org, python@FreeBSD.org CC: bofh@freebsd.org, python@FreeBSD.org py-Resource 0.2.1 cannot be imported, because its required dependency devel/py-jsonform does not import on Python 3: $ python3.12 -c 'import rsrc' ImportError: cannot import name 'JsonForm' from partially initialized module 'jsonform' (most likely due to a circular import) (/usr/local/lib/python3.12/site-packages/jsonform/__init__.py) jsonform is Python 2 code: jsonform/__init__.py:6 makes an implicit relative import that becomes a circular import on Python 3 (devel/py-jsonform is proposed for deprecation in its own PR). Fixing jsonform alone would not be enough. py-Resource's own code is broken as well: the Flask adapter fails every request on Flask 2.2+ (MethodView.dispatch_request signature, request.args.iterlists), the Django adapter uses the Python 2 iterlists/iteritems, and rsrc.contrib.token needs itsdangerous.TimedJSONWebSignatureSerializer, which itsdangerous 2.1 removed. That is several separate fixes, not a minimal patch. Upstream: 0.2.1 (2017-08-25) is the last release, and github.com/RussellLuo/resource has had no commits since 2020-04-23. This proposes deprecating it; I've left EXPIRATION_DATE for you to set. The patch sets DEPRECATED=3D Depends on devel/py-jsonform, which fails to import on Py= thon 3 BROKEN=3D requires devel/py-jsonform, which fails to import= on Python 3 If you would rather keep the port, devel/py-jsonform would need fixing and keeping too, plus separate fixes for the Flask 2.2+ and Django adapters and for itsdangerous 2.1 in rsrc.contrib.token. Impact: the only consumer, devel/py-opengrok-tools, depended on it by mistake: opengrok uses the standard library `resource` module. Bug 300212 proposes removing that dependency; if that is accepted, nothing in the tree depends on py-resource. --=20 You are receiving this mail because: You are on the CC list for the bug.=