From nobody Wed Oct 12 11:18:17 2022 X-Original-To: ports-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 4MnVWY6C1vz4f5ck for ; Wed, 12 Oct 2022 11:18: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 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 4MnVWY3mrBz3pqT for ; Wed, 12 Oct 2022 11:18:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MnVWY2Qgjz1HsP for ; Wed, 12 Oct 2022 11:18: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 29CBIHdu039371 for ; Wed, 12 Oct 2022 11:18:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29CBIH7t039370 for ports-bugs@FreeBSD.org; Wed, 12 Oct 2022 11:18:17 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: ports-bugs@FreeBSD.org Subject: [Bug 266989] security/py-cryptography : does not find rust bindings Date: Wed, 12 Oct 2022 11:18:17 +0000 X-Bugzilla-Reason: AssignedTo 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: freebsd@rail.eu.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665573497; 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=UfPTCZ9RTczL5F83ODXZCFwZ9mzbifQ4v/lE5Oah5uk=; b=ishZgjgEq6Ift3TOHDEtIdRHHpGcWOAoJUnJrSF5WZamAD6apo8Hoy1BHYVpmwfBKGBbfA d8NcAHkoPrhtHqkUz4ou3DP0ZTmdngu051MUl3HirSibc2FtoQ5pEDuvYlZWfgj+GDnL3U XsvjoHeLNRcMp01BQQpfXKh9s4SsWhqgx4WZDfI1kl17BhDRjiNYV7+2xqgsGnlZ4s5VMj UTyck/LfscTOjZ73dgKKXj8+Vn9zALKtVI2TXd6fSRVOAhQxN8+tuqEonvg/Zjap8Kg4nt heyujLpWSGXD3tAxS7CTtypvBDnVz0sFrvQSRs/Xr0QOuBRbt0m9E2ZxG4TR8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665573497; a=rsa-sha256; cv=none; b=pArpGhG3lp2s8oo6Ms2UqtOnoXs3NUTwXK6o8OSADewubcUSxCSWSmSGAZx51EWfU8Qbco QievgdW4V2sT2zJEM9RpehCMJ+grdiv/HOIK23ysfmWyTNqz1wU9+HrbZxM32pCsDROMlR lW2h7dKE3yBwRN4Q4ylbba49VQeeVL/Mddkt4yzd+dQ9sCmRpyV4PPg0G3jw1vyEEQDCcS m/LbG4kFqToBWtzatJfdpJAIx/pBLKUtibD/KoU5QySw3y2vuDFk43+V0gknv/nv8FgaPM cj/Xzt0XkQqQKWm6ShTzewtq79pJHF4lbwc03AAliloc7Do2QnFlmOjbLxgMEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266989 Bug ID: 266989 Summary: security/py-cryptography : does not find rust bindings Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: freebsd@rail.eu.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Since upgrade of port (built by poudriere) my duplicity fails with error BackendException: Could not initialize backend: cannot import name 'asn1' f= rom 'cryptography.hazmat.bindings._rust' (unknown location)=20 In the poudriere log I see : /usr/local/lib/python3.9/site-packages/setuptools/command/build_py.py:153: SetuptoolsDeprecationWarning: Installing 'cryptography.hazmat.bindings._rust' as data is deprecated, please list it = in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'cryptography.hazmat.bindings._rust' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'cryptography.hazmat.bindings._rust' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecate= d). Please make sure that 'cryptography.hazmat.bindings._rust' is included = as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setupto= ols documentation page. !! which seems linked to this problem --=20 You are receiving this mail because: You are the assignee for the bug.=