From nobody Tue May 02 11:53:52 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 4Q9dlP0w0zz48vMN for ; Tue, 2 May 2023 11:53:53 +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 4Q9dlN6vTVz3s3j for ; Tue, 2 May 2023 11:53:52 +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=1683028433; 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=NtZskem/e/FxoolX6qQUMZzSrviKssj+2NPnrkwbXwA=; b=J84otyMKAbZRdH20QXGvSRz+FXm2sUtD4R3ADf+ILFDQ0MEQ5SoZVn9kf3+eaFgvANsa+G C81J948L3GYtJG2O4oqxvzA3sB0Z8Si+GtSrRwdCUQAxKtnoq6Ib4OCnS9M94Af6c+aMTq COJSImH9kSpxao0hubdYugWDdm14EAsJzYGgm3jfJ14KJRbSzTnN3prLKa19dLXXcYjKVO GLGuWbmpRdV8sFM+GitYj5GzAkLhI27ysHuP1O7Shw9BTfFly4K3y1M09rqoiH7PGGfztZ WajHEgFDfHgkJb5kbyiqzp4QCovZikyQ+b2FpZ29Y826K3a7oGvdi8rqm9MtZg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683028433; a=rsa-sha256; cv=none; b=OK4inUmOBpd33J+HCp1oA4K1tUx/ro5WWmFVYg9cRkeu4wvuDfTxzAVG9ZYoZqk2bdE/mi S1LXlpJrYw2Ck4an8LN7SKvLCVrl633+/D8KR2Cw5FRyYBg5hn/NwLTmjH07oWRMdAFIxX 5RZ/QZzlc6yD2FY9whRNilVuFgcn7HvXWQx/+J9pe0NZfojp8HtuB5dJul4GoVMuMlfn+f Mu9p2BsrOL/8ehl0lb91MuWRZ5KBT+4rVFx9ZAK+pWuPpdXmF2W6x+t59lgFG975S/aWBT XM3YtqbD0T1s17yGY9nEdqWcFzZIG7BOEbd04wY0/gm8mrhC21rFDevqX7/PEw== 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 4Q9dlN60K7zn2J for ; Tue, 2 May 2023 11:53:52 +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 342Brqrj033088 for ; Tue, 2 May 2023 11:53:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 342Brq04033086 for ports-bugs@FreeBSD.org; Tue, 2 May 2023 11:53:52 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 271198] sysutils/ansible: probably missing py-toml dependency Date: Tue, 02 May 2023 11:53:52 +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: mikael@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 0mp@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271198 Bug ID: 271198 Summary: sysutils/ansible: probably missing py-toml dependency Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: 0mp@FreeBSD.org Reporter: mikael@FreeBSD.org Flags: maintainer-feedback?(0mp@FreeBSD.org) Assignee: 0mp@FreeBSD.org I'm hitting the following issue: AttributeError: module 'toml' has no attribute 'loads' full backtrace: ansible-playbook [core 2.14.3] config file =3D /usr/local/etc/ansible/ansible.cfg configured module search path =3D ['/home/toto/.ansible/plugins/modules', '/usr/local/share/py39-ansible/plugins/modules'] ansible python module location =3D /usr/local/lib/python3.9/site-packages/ansible ansible collection location =3D /home/toto/.ansible/collections:/usr/local/share/py39-ansible/collections executable location =3D /usr/local/bin/ansible-playbook python version =3D 3.9.16 (main, Feb 28 2023, 01:31:45) [Clang 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdc (/usr/local/bin/python3.9) jinja version =3D 3.1.2 libyaml =3D True Using /usr/local/etc/ansible/ansible.cfg as config file 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 647, in cli_executor exit_code =3D cli.run() File "/usr/local/lib/python3.9/site-packages/ansible/cli/playbook.py", li= ne 124, in run loader, inventory, variable_manager =3D self._play_prereqs() File "/usr/local/lib/python3.9/site-packages/ansible/cli/__init__.py", li= ne 552, 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 853, in get return self.get_with_context(name, *args, **kwargs).object File "/usr/local/lib/python3.9/site-packages/ansible/plugins/loader.py", = line 876, 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 826, 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' Exit 250 Installing textproc/py-toml fixes the issue. --=20 You are receiving this mail because: You are the assignee for the bug.=