From nobody Sat Jun 04 10:50:53 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 46A411BE3C62 for ; Sat, 4 Jun 2022 10:50:54 +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 4LFc3x6BkGz4SHn for ; Sat, 4 Jun 2022 10:50:53 +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 B59FE1C787 for ; Sat, 4 Jun 2022 10:50:53 +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 254AoreF050084 for ; Sat, 4 Jun 2022 10:50:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 254Aor1h050083 for ports-bugs@FreeBSD.org; Sat, 4 Jun 2022 10:50:53 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 264448] sysutils/py-ansible-lint fails after upgrading py-jsonschema to 4.6.0 Date: Sat, 04 Jun 2022 10:50:53 +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 Some People X-Bugzilla-Who: freebsd-ports@andre.rikkertdekoe.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: matthew@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=1654339853; 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=qV9r+k37AUYtnkKxWs+5v8ry8GcCbpBmjMnmpjCVm0k=; b=vxlCnv75IDlK8hHz1Zgf14DSPlFRM94yaZyh/DCue7j+BhfVpl2wGHccOYbwdsr/55iT/6 q15w0tic2VrqFHgJ1DXJ6pttacRV2bGWzc4bLFeuEoYdWRZArzy2AEwCJVq2CIg4NYAq7u wDOzPVo657NLh5KRfpH/q1MbDaeCq6kY2LvmlK1Mx0XrwzN/7qBn1y2mRIqWKmcwd/u+vi oYEGrNV8esa3G3lZGhobjnTB/qprRFNGNqQ3a5/IMaHuqm1md8RYg1n7iFoQ+y/8q3hhCF F5XO+G7RfHhxhCK5tguPq+zJRe7kWL5Oh59pXNbDPLYpR0f6RkgXY2NZIj28pw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654339853; a=rsa-sha256; cv=none; b=xU6OBEmic2MXRgZhoLhBpw5+nXu7AG+neFSfz3HQwiGhIU0dsv1FGQ5120TkuMQwYq3z+F ASlmVu9tf/aJ/sFpEZfacv+It3b3f9HOOvojyI0z+B0UAmiL04q4lc/vfNxzOhepeJQE1w UGREuiP210mgWDzKlG2stAxo7NR0unxFq6yXxGge6bnbMjkY6IGw1EW9upy+HnBL55pd8Y mpke51ycjBnto/WBvC2Ngz08KDdCo/udRdpnStPzFDc6zUfadcrsyVTW9gVEhT9s7wfQt4 2czn7r94l8ETek+sK7QdHEOYsQXLTLI41vCVofeazy/MYIWinI2njrX2wjs3+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264448 Bug ID: 264448 Summary: sysutils/py-ansible-lint fails after upgrading py-jsonschema to 4.6.0 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: matthew@FreeBSD.org Reporter: freebsd-ports@andre.rikkertdekoe.nl Assignee: matthew@FreeBSD.org Flags: maintainer-feedback?(matthew@FreeBSD.org) ## ## py-ansible-lint works with py38-jsonschema-4.5.1 ## root@freebsd13:~ # ansible-lint --version ansible-lint 6.2.2 using ansible 2.12.4 root@freebsd13:~ # pkg info | grep -E ansible-lint\|jsonschema py38-ansible-lint-6.2.2 Checks playbooks for sub-optimal practices a= nd behaviour py38-jsonschema-4.5.1 JSON Schema validation for Python root@freebsd13:~ # ansible-lint dummy.yml=20 WARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument: dummy.yml WARNING Listing 1 violation(s) that are fatal syntax-check: Empty playbook, nothing to do (empty-playbook) dummy.yml:1 ERROR! Empty playbook, nothing to do Finished with 1 failure(s), 0 warning(s) on 1 files. root@freebsd13:~ # ## ## py-ansible-lint does not work with py38-jsonschema-4.6.0 ## .. =3D=3D=3D>>> Update check of installed ports complete =3D=3D=3D>>> The following actions were performed: Upgrade of py38-jsonschema-4.5.1 to py38-jsonschema-4.6.0 root@freebsd13:~ # pkg info | grep -E ansible-lint\|jsonschema py38-ansible-lint-6.2.2 Checks playbooks for sub-optimal practices a= nd behaviour py38-jsonschema-4.6.0 JSON Schema validation for Python root@freebsd13:~ # ansible-lint --version ansible-lint 6.2.2 using ansible 2.12.4 root@freebsd13:~ # ansible-lint dummy.yml=20 Traceback (most recent call last): File "/usr/local/bin/ansible-lint", line 33, in sys.exit(load_entry_point('ansible-lint=3D=3D6.2.2', 'console_scripts', 'ansible-lint')()) File "/usr/local/lib/python3.8/site-packages/ansiblelint/__main__.py", li= ne 252, in _run_cli_entrypoint sys.exit(main(sys.argv)) File "/usr/local/lib/python3.8/site-packages/ansiblelint/__main__.py", li= ne 170, in main rules =3D RulesCollection(options.rulesdirs) File "/usr/local/lib/python3.8/site-packages/ansiblelint/rules/__init__.p= y", line 354, in __init__ for rule in load_plugins(rulesdir): File "/usr/local/lib/python3.8/site-packages/ansiblelint/rules/__init__.p= y", line 319, in load_plugins spec.loader.exec_module(module) File "", line 843, in exec_module File "", line 219, in _call_with_frames_remo= ved File "/usr/local/lib/python3.8/site-packages/ansiblelint/rules/schema.py", line 10, in from jsonschema import validate File "/usr/local/lib/python3.8/site-packages/jsonschema/__init__.py", line 29, in from jsonschema.protocols import Validator File "/usr/local/lib/python3.8/site-packages/jsonschema/protocols.py", li= ne 33, in from jsonschema.validators import RefResolver File "/usr/local/lib/python3.8/site-packages/jsonschema/validators.py", l= ine 386, in meta_schema=3D_utils.load_schema("draft3"), File "/usr/local/lib/python3.8/site-packages/jsonschema/_utils.py", line = 61, in load_schema data =3D path.read_text(encoding=3D"utf-8") File "/usr/local/lib/python3.8/pathlib.py", line 1236, in read_text with self.open(mode=3D'r', encoding=3Dencoding, errors=3Derrors) as f: File "/usr/local/lib/python3.8/pathlib.py", line 1222, in open return io.open(self, mode, buffering, encoding, errors, newline, File "/usr/local/lib/python3.8/pathlib.py", line 1078, in _opener return self._accessor.open(self, flags, mode) FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/site-packages/jsonschema/schemas/draft3.json' root@freebsd13:~ # ls -l dummy.yml=20 -rw-r--r-- 1 root wheel 0 Jun 4 12:31 dummy.yml root@freebsd13:~ # --=20 You are receiving this mail because: You are the assignee for the bug.=