From nobody Fri Jun 16 23:55:05 2023 X-Original-To: bugs@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 4Qjbcn3VMMz4fFR0 for ; Fri, 16 Jun 2023 23:55:05 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qjbcn0TT4z40Ld for ; Fri, 16 Jun 2023 23:55:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686959705; 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=Y+1ShKWYXwyNJ49GZh/SY3UbaORNhBJQHWdbpmnG/Sw=; b=VyEnBPQLqovlKLAkzAHuC5OPUl6et+4gDCwsznNXEVzX8BZ+TuTY9vQLtbo3TbbxwSnmo5 fE0+09ujJb2mcFn4zPqp5KOp+ebOfQWIjnUU4HUCz5GWjvFrJ3DF4gFxQFh5KI0AT3lTLr H4nWagrxazbQUpwNsB96tN6zaxgVhEN8jMfrWGi2nP17P+r7tRtE21HVHUi7Qjghnt2dTr c9MHS2Rqz3Rq4fMkOVGkM1iH+Q4cIS/3Qjm+46r2hvT4yLRXQ7mOcKsnFcXHUGcD1FtutG kqDDorWammA5LavyGTmB+yEiysKMzwisuKOfHS2urzA6nMC22AeIcXBhg28ZKw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686959705; a=rsa-sha256; cv=none; b=r6a5Pc1rO9HvKKdJuiyj1TucyPk8gJ06TKv7ZD2ToB3jOKmpQ3Ob4MmlPcmR5amNixnf+l ph7ryrWMUGybbb/ZHP9Wmkx2+1X7zmk+RNIQ5zZNMy65RkDvw2VnZFrro44qXmu6ChyCsz vlLOQEcruCz+cTA2pGcght/rt+bp5Xv2W3VI59Cdhvcd5/A0rqeeFB6+0tdV+x2q1uq51D WF8EwnHuANdbyQ+V4wmMLOD0nyFt+XBmCxM5NUPhdeUK361oagK+XkOK0TVw1Nk9JjCQV2 o4ntQdpymIbLGmEMzIzMGtfg6joXyj3WqogiV3Fcae/B3TMZXaISFDVjJ8RdhA== 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 4Qjbcm6ZMPznqC for ; Fri, 16 Jun 2023 23:55:04 +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 35GNt4jS061513 for ; Fri, 16 Jun 2023 23:55:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35GNt49b061512 for bugs@FreeBSD.org; Fri, 16 Jun 2023 23:55:04 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: bugs@FreeBSD.org Subject: [Bug 269777] sysutils/py-ansible-core: checksum errors Date: Fri, 16 Jun 2023 23:55:05 +0000 X-Bugzilla-Reason: AssignedTo 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 Some People X-Bugzilla-Who: vishwin@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269777 --- Comment #6 from Charlie Li --- Checksums for Python bytecode are dubious at best considering their non-deterministic characteristics. There is absolutely no guarantee that bytecode compiled during one run will match another bytecode compile run, on the same original Python source, at the byte-for-byte level (which is what = our checksums operate on), even though they are more likely than not functional= ly equivalent. This is a known problem in CPython land that not only does not = have any easy answers, but also not a priority to tackle. This is principally why bytecode should be compiled *after* install (not during package) and only if the user wants them. imo CPython bytecode architecture is one of the most boneheaded decisions I= 've ever seen, particularly when interacting with distro (in their parlance) package systems, that *need* to operate on a byte-for-byte level. --=20 You are receiving this mail because: You are the assignee for the bug.=