From nobody Sun Jul 30 07:57:25 2023 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 4RDDHd4hczz4q2fx for ; Sun, 30 Jul 2023 07:57:26 +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 4RDDHT370Cz3k7h for ; Sun, 30 Jul 2023 07:57:25 +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=1690703845; 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=tP8l5dy/MEvNRvJj9eeqQtWo/Cm4+Cr1RiL9hkbAN3Q=; b=cWB6SpNRM//umGX0OBeqk0JpklRfD4bZ8iYtbfEmY0+gJ7tRENRbeKiB1bbC9DqhNi/26f 8SkE3DUpPDxNckhoa5fKDq7udIto79tpgCCxOVGWyBG/Y+DY69J+AHrrFEOr0xs6Wy1wjX w1Sjg28Fm61j8tG2o9gQK0Xgxi4UAJbhsn/Z74inoorVgP2aNvhtn+FiSyNfLa7WeHYROn TcJ4XI97Is750STKCI+KBwwc+AgVi8RpfC0mZTofyQ1gVfp4pndt557M+gkR83vGFYhSZk Xmy4oXO1ZKmaamMR4KACp+skOjp49Q1lgbwjZkEpg2oQjIdG5XcznVijUOr87Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690703845; a=rsa-sha256; cv=none; b=NijwRmkGOfn3ZlgCYrq4xEKJqUk8s251DMre6Vu1xt+Jh+ugyhSzygfCSSXwJFS9U5WAf2 rh275cZmmIsWiobPpYyhQQG132pnLXnlR0rxm/dbOxb5+1t/pIELVQUMwEe8XHAX0hw99U RQY8tsYUu0UhMoV9fMMyMEzocwbrTHwPzUvRx3CN4dU5QnuyTPvM6fo54mkhbzyOa0eKlR 8EARQJQdxHe7tNrdGtfhiGd9Bl8qy3aZWVT4Zb4C6CfrNe1+ZAxU4crTjSIbVpDu9c/vvB G3hYj8XTnumFFzUZ/X+0J5kKD5yNREVEWUF6Ehia2nzfajN0sDEExro2lB4rOQ== 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 4RDDHT10Mvz168w for ; Sun, 30 Jul 2023 07:57:25 +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 36U7vP4b034274 for ; Sun, 30 Jul 2023 07:57:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36U7vPN2034273 for ports-bugs@FreeBSD.org; Sun, 30 Jul 2023 07:57:25 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 272811] sysutils/py-ansible-core: Missing dependency on textproc/py-toml Date: Sun, 30 Jul 2023 07:57:25 +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: madpilot@FreeBSD.org 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 attachments.created 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272811 Bug ID: 272811 Summary: sysutils/py-ansible-core: Missing dependency on textproc/py-toml 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: madpilot@FreeBSD.org CC: 0mp@FreeBSD.org, python@FreeBSD.org CC: 0mp@FreeBSD.org, python@FreeBSD.org Created attachment 243700 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243700&action= =3Dedit patch v1 Hi, After recent updates to the ports tree a pkg upgrade followed by pkg autore= move deleted the py-toml port considering it an orphan, on machines where I have ansible installed. After this ansible started failing with the following error: ERROR! Unexpected Exception, this is probably a bug: module 'toml' has no attribute 'loads' the full traceback was: Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/ansible/cli/__init__.py", li= ne 659, in cli_executor exit_code =3D cli.run() File "/usr/local/lib/python3.9/site-packages/ansible/cli/adhoc.py", line = 117, in run loader, inventory, variable_manager =3D self._play_prereqs() File "/usr/local/lib/python3.9/site-packages/ansible/cli/__init__.py", li= ne 564, in _play_prereqs inventory =3D InventoryManager(loader=3Dloader, sources=3Doptions['inve= ntory'], cache=3D(not options.get('flush_cache'))) File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py= ", line 167, in __init__ self.parse_sources(cache=3Dcache) File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py= ", line 228, in parse_sources parse =3D self.parse_source(source, cache=3Dcache) File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py= ", line 279, in parse_source for plugin in self._fetch_inventory_plugins(): File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py= ", line 207, in _fetch_inventory_plugins plugin =3D inventory_loader.get(name) File "/usr/local/lib/python3.9/site-packages/ansible/plugins/loader.py", = line 855, in get return self.get_with_context(name, *args, **kwargs).object File "/usr/local/lib/python3.9/site-packages/ansible/plugins/loader.py", = line 878, in get_with_context self._module_cache[path] =3D self._load_module_source(name, path) File "/usr/local/lib/python3.9/site-packages/ansible/plugins/loader.py", = line 828, in _load_module_source spec.loader.exec_module(module) File "", line 850, in exec_module File "", line 228, in _call_with_frames_remo= ved File "/usr/local/lib/python3.9/site-packages/ansible/plugins/inventory/toml.py", line 161, in toml_loads =3D toml.loads # type: ignore[assignment] AttributeError: module 'toml' has no attribute 'loads' So it looks like toml is an actual ansible unregistered dependency that happened to be installed by some other dependency an is not being anymore. I'm attaching a very simple patch I'm using locally that fixes the issue for me. Can you commit it or approve me committing it? Thanks in advance! --=20 You are receiving this mail because: You are the assignee for the bug.=