Hi all, ansible-lint requires a very recent version of python-jsonschema. Unfortunately, I get an error when building 4.10.0 or later:
[ 60s] file /home/abuild/rpmbuild/BUILD/jsonschema-4.10.0/jsonschema/tests/_helpers.py, line 21 [ 60s] def test_suite_bug(issue): [ 60s] E fixture 'issue' not found [ 60s] > available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory [ 60s] > use 'pytest --fixtures [testpath]' for help on them.
https://build.opensuse.org/project/monitor/home:ojkastl_buildservice:Branch_...
Unfortunately "issue" is a bad keyword for an internet search, as it comes up with lots of GitHub issues for pytest... :-) This issue looks familiar, unfortunately bug reporter and upstream seem to have some history and thus there is no solution:
Does anyone have a hint for me? Am I missing a BuildRequires or just a newer version of pytest? I am not familiar enough with the internals of python testing to judge if there is another way to do that. Any help is highly appreciated. Kind Regards, Johannes -- Johannes Kastl Linux Consultant & Trainer Tel.: +49 (0) 151 2372 5802 Mail: kastl@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg http://www.b1-systems.de GF: Ralph Dehner Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537