yaml / pyyaml

Canonical source repository for PyYAML
MIT License
2.47k stars 507 forks source link

Fix builds with Cython 3 #731

Closed ahesford closed 11 months ago

ahesford commented 11 months ago

This is a de minimis fix for building with Cython 3. Recent Cython<3 releases provided Cython.Distutils.build_ext as an alias to Cython.Distutils.old_build_ext.old_build_ext; Cython 3 drops this alias and instead uses a wholly new Cython.Distutils.build_ext that does not provide the cython_sources function used in setup.py.

Explicitly importing old_build_ext preserves the existing behavior for recent Cython<3 and uses the correct behavior for Cython 3. Should the import fail (e.g., because the version of Cython available predates the availability of old_build_ext), the import falls back to just Cython.Distutils.build_ext.

This PR supersedes #729 and should be preferred for reasons discussed in my comments there.

SoftwareApe commented 11 months ago

Thank you for providing a proper fix for the cython issue. Can this be applied to 5.4.1 as well? We desperately need a proper fix there, since we can't switch our OS to use 6.0.1

ahesford commented 11 months ago

The patch applies cleanly to the 5.4.1 tag.

shuyangwu-dd commented 11 months ago

Hi @ahesford @SoftwareApe do we have timeline when would this fix be merged? Thanks!

praysml commented 11 months ago

Hi, we also need this fix as our docker image get broken and we can't use 6.0.1, is there any timeline when it will be merged?

SoftwareApe commented 11 months ago

@shuyangwu-dd @praysml we're in the same boat as you. I don't think either @ahesford or I are pyyaml maintainers. We're just hoping it's soon.

praysml commented 11 months ago

@ingydotnet @nitzmahone @perlpunk Hello, anyone from the maintainers can help?

Uzume commented 11 months ago

I find it interesting this PR basically revives the behavioral fix of #602.

I look forward to a new PR with this fix in it for a 5.x branch (fixing #724 and replacing #726) as well as this PR incorporating a reversion of #702 so that it will apply cleanly here on 6.x.

ahesford commented 11 months ago

I didn't see the prior attempt because it's a 1.5-year-old WIP that also hard requires Cython 3 when it shouldn't.

Uzume commented 11 months ago

I didn't see the prior attempt because it's a 1.5-year-old WIP that also hard requires Cython 3 when it shouldn't.

@ahesford: That is exactly why I made that comment. After reading issue #601 and its PRs #602, #702, #729 and this one as well as issue #724 and the duplicate issues #723 and #728 and the #702 backport PR #726, I thought a little overview might be useful here.

willofferfit commented 11 months ago

This PR fixed the issue for me in v5.4.1. It would be nice to get this merged officially and have a v5.4.1.post1 released

Uzume commented 11 months ago

@willofferfit: The issue seems to be a reluctance to touch 5.x branch releases, see https://github.com/yaml/pyyaml/pull/726#issuecomment-1640397938.

nitzmahone commented 11 months ago

As I've mentioned several other places: getting a functional vaniilla Cython3 PEP517 build working on any branch from the past several years isn't the hard part, it's rebuilding all the existing wheels on 5.4.x- if we released this change without that, the majority of folks that use the wheels will suddenly break. The biggest (known) problem there is the Windows Python 2.x wheels, since Microsoft has killed off the downloads of the necessary SDK bits and related VS versions, as well as the Windows GHA runner versions that had (most) of those bits preinstalled. It took me a lot of screwing around to get all that stuff working properly a few years ago (eg, not loading multiple CRT versions and heaps in older Pythons that weren't built against the Universal CRT), and I'm not interested in doing it again. It's all possible if one spends enough time on it, but I'd much rather spend the limited time I have to donate to this project making it work better for the future instead of patching up long-dead releases for projects unwilling/unable to make the one-line code change to work with >=6.0.

SoftwareApe commented 11 months ago

long-dead releases for projects unwilling/unable to make the one-line code change to work with >=6.0

I'd argue Ubuntu 22.04 has a big enough install base not to consider 5.x long dead. And the problem with Python is not our unwillingness to change our code, but our inability to fix everybody's code.

ahesford commented 11 months ago

I don't give a hoot about PyYAML 5.4.x, but it would be good to fix the build of stuff on master and all currently supported release branches in a way that can use Cython 3 but doesn't require it. Pending a complete rethinking of the installation process, this is the simplest solution.

nitzmahone commented 11 months ago

@SoftwareApe if you can resurrect a GHA wheel build environment that will rebuild every 5.4.x native wheel we have now and prove that they function (including dumping all the Windows DLL loads under the old Pythons to ensure we haven't introduced multiple CRTs/heaps), I'm happy to ship them. But I'm not willing to sign up to do that work a second time. I don't see what Ubuntu 22.04 has to do with the discussion- there are any number of trivial ways that distro packagers can continue to ship PyYAML 5.4 until the heat death of the universe that don't require any support from us.

nitzmahone commented 11 months ago

@ahesford master on this project is ... I don't even know what- maybe @ingydotnet can explain. I guess it's supposed to track the last release from the newest release branch... It seems to just be an attractive nuisance, because the only time things get merged there directly is by mistake.

Beyond our (very limited) extension test suites, we don't really know if Cython3 breaks anything else, so until we're ready to do the proper packaging rewrite and stop supporting < 3 (or 3 supports a Python version/feature we need that <3 does not), I'd rather not increase the expected compatibility to basically everything.

I can merge the contents of the 6.0.1 tag to master if it makes anyone feel better.

ahesford commented 11 months ago

This matter has already taken more attention than I intended to give it. In general, I abhor upper bound restrictions on dependencies unless they convey specifically known breaks in compatibility. Using them as a way to signify "we've tested up to this version" causes all sorts of headaches for people trying to make packages coexist. This is particularly true for distribution packagers like me.

I'll spare you my usual rant about how the Python packaging ecosystem fosters these kinds of versioning headaches (on both ends). Do what makes sense for your project, and I'll carry a patch for Void if we choose to bump Cython earlier than you wish to support it.

nitzmahone commented 11 months ago

@ahesford oh yes, I'm painfully aware of the Python-ecosystem-wide issues :wink: and as I mentioned on other threads, we're going to have this problem x1000 when setuptools starts killing off ancient deprecated build properties still used by tons of older Python projects with uncapped setuptools build deps (including this one). Every Python project that doesn't cap its setuptools will eventually be incapable of building without some sort of assistance, and they're starting to kill that stuff off in a couple months.

Uzume commented 11 months ago

It is a sad world where it is more painful to deploy fixes than develop them and that is what holds them back. But I do agree with @nitzmahone that setuptools will soon break everything that uses anything beyond the forward supported APIs.

It seems to me though that a 5.5 release that supports 5.x API/semantics but only supports Python 3.10+ (jettisoning Python 2 support and wheels, etc.) would be a fair middle ground.

SoftwareApe commented 11 months ago

It seems to me though that a 5.5 release that supports 5.x API/semantics but only supports Python 3.10+ (jettisoning Python 2 support and wheels, etc.) would be a fair middle ground.

If that's possible we'd be quite happy, since we're on 3.10 anyway.

timothybonci commented 11 months ago

I can merge the contents of the 6.0.1 tag to master if it makes anyone feel better.

Yes, that would actually be desirable, if it's easy to do.

nitzmahone commented 11 months ago

(cross-posting my comment from the Cython issue):

I don't think we want to move the discussion back to Cython- this is all on us at this point to just redo PyYAML's build from a clean sheet of paper. That's been exactly the plan all along, but due to the sheer number of "knobs" provided by the old distutils mechanism to affect the build that had no way to be passed through (eg preprocessor defines, include dirs, linker directives, "just give me pure Python"), plus all the "organically-grown" logic that's crept in over the years (much of which is incomplete or plain broken today) we've been kinda stuck.

Now that pip and setuptools have (somewhat recently) agreed on passing through options via config_settings, it's "only" a matter of completely obliterating most of setup.py and coming up with the right set of knobs that can be expressed via config_settings to do everything that's needed, and rewriting it to (hopefully) just call Cythonize directly without the need to subclass anything. I've poked at it a couple times, and it still kinda sucks from a UX perspective, but not nearly as much as doing it all via envvars (which is what we've been doing since adding PEP517 support a few years back).

The other thing that keeps me in "analysis paralysis" mode on this project is that some folks are poking at a libfyaml extension, which would be awesome to integrate, but that probably needs to be accounted for in the build design as well. The current distutils stuff sorta supports dynamic selection/build of multiple extensions (though it's been just libyaml for so long that in reality it's probably busted anyway). Doing libfyaml support as a separate top-level package or a namespace package causes all sorts of cross-pollination problems with OS packaged libs and stuff, so IMO if we're going to do that, it really needs to happen all in the main package build, with the extensions being embedded as proper subpackages.

Uzume commented 11 months ago

@nitzmahone: I totally agree and I was just researching the best ways to accomplish such. To that end I posted https://github.com/cython/cython/issues/4568#issuecomment-1660788127 asking them to help improve the documentation for build-time only dependency usage of Cython.Build.build_ext (vs. Cython.Build.cythonize).

asavah commented 9 months ago

Thank you for this simple solution. It's a shame that https://github.com/yaml/pyyaml/pull/702 was a preferred "fix". Given the importance of this project it truly needs better management.

dimpase commented 9 months ago

As I've mentioned several other places: getting a functional vaniilla Cython3 PEP517 build working on any branch from the past several years isn't the hard part, it's rebuilding all the existing wheels on 5.4.x- if we released this change without that, the majority of folks that use the wheels will suddenly break.

Have you given promises to never release an incompatible version? Then you'd stay on version 5.4.x- forever...

kloczek commented 3 months ago

Just tested this PR. On top of it it needs to be added

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,3 @@
 [build-system]
-requires = ["setuptools", "wheel", "Cython<3.0"]
+requires = ["setuptools", "wheel", "Cython"]
 build-backend = "setuptools.build_meta"

With that patch I was able to build pyyaml however looks like pytest is failing

Here is pytest output: ```console + PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-pyyaml-6.0.1-15.fc36.x86_64/usr/lib64/python3.9/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-pyyaml-6.0.1-15.fc36.x86_64/usr/lib/python3.9/site-packages + /usr/bin/pytest -ra -m 'not network' ==================================================================================== test session starts ==================================================================================== platform linux -- Python 3.9.18, pytest-8.1.1, pluggy-1.4.0 rootdir: /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1 configfile: pyproject.toml collected 109 items tests/lib/test_canonical.py EEE [ 2%] tests/lib/test_constructor.py EE [ 4%] tests/lib/test_dump_load.py ... [ 7%] tests/lib/test_emitter.py EEEE [ 11%] tests/lib/test_errors.py EEEEE [ 15%] tests/lib/test_input_output.py EEEEE [ 20%] tests/lib/test_mark.py E [ 21%] tests/lib/test_multi_constructor.py E [ 22%] tests/lib/test_reader.py E [ 22%] tests/lib/test_recursive.py E [ 23%] tests/lib/test_representer.py E [ 24%] tests/lib/test_resolver.py EEE [ 27%] tests/lib/test_schema.py E [ 28%] tests/lib/test_sort_keys.py E [ 29%] tests/lib/test_structure.py EEEEE [ 33%] tests/lib/test_tokens.py EE [ 35%] tests/lib/test_yaml.py ...EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 69%] tests/lib/test_yaml_ext.py .FEEE.FFFFFFFFFFFFFFFFFFFFFFFFFFF [100%] ========================================================================================== ERRORS =========================================================================================== _________________________________________________________________________ ERROR at setup of test_canonical_scanner __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py, line 3 def test_canonical_scanner(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py:3 __________________________________________________________________________ ERROR at setup of test_canonical_parser __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py, line 14 def test_canonical_parser(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py:14 __________________________________________________________________________ ERROR at setup of test_canonical_error ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py, line 25 def test_canonical_error(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py:25 _________________________________________________________________________ ERROR at setup of test_constructor_types __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py, line 254 def test_constructor_types(data_filename, code_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py:254 ______________________________________________________________________ ERROR at setup of test_subclass_blacklist_types ______________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py, line 285 def test_subclass_blacklist_types(data_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py:285 __________________________________________________________________________ ERROR at setup of test_emitter_on_data ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 16 def test_emitter_on_data(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:16 ________________________________________________________________________ ERROR at setup of test_emitter_on_canonical ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 28 def test_emitter_on_canonical(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:28 ___________________________________________________________________________ ERROR at setup of test_emitter_styles ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 41 def test_emitter_styles(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:41 ___________________________________________________________________________ ERROR at setup of test_emitter_events ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 90 def test_emitter_events(events_filename, verbose=False): E fixture 'events_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:90 ____________________________________________________________________________ ERROR at setup of test_loader_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 3 def test_loader_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:3 ________________________________________________________________________ ERROR at setup of test_loader_error_string _________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 15 def test_loader_error_string(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:15 ________________________________________________________________________ ERROR at setup of test_loader_error_single _________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 27 def test_loader_error_single(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:27 ___________________________________________________________________________ ERROR at setup of test_emitter_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 39 def test_emitter_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:39 ____________________________________________________________________________ ERROR at setup of test_dumper_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 52 def test_dumper_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:52 ___________________________________________________________________________ ERROR at setup of test_unicode_input ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 4 def test_unicode_input(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:4 ________________________________________________________________________ ERROR at setup of test_unicode_input_errors ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 25 def test_unicode_input_errors(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:25 ___________________________________________________________________________ ERROR at setup of test_unicode_output ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 50 def test_unicode_output(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:50 ____________________________________________________________________________ ERROR at setup of test_file_output _____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 86 def test_file_output(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:86 __________________________________________________________________________ ERROR at setup of test_unicode_transfer __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 115 def test_unicode_transfer(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:115 _______________________________________________________________________________ ERROR at setup of test_marks ________________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_mark.py, line 3 def test_marks(marks_filename, verbose=False): E fixture 'marks_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_mark.py:3 _________________________________________________________________________ ERROR at setup of test_multi_constructor __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_multi_constructor.py, line 31 def test_multi_constructor(input_filename, code_filename, verbose=False): E fixture 'input_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_multi_constructor.py:31 ____________________________________________________________________________ ERROR at setup of test_stream_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_reader.py, line 14 def test_stream_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_reader.py:14 _____________________________________________________________________________ ERROR at setup of test_recursive ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_recursive.py, line 24 def test_recursive(recursive_filename, verbose=False): E fixture 'recursive_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_recursive.py:24 _________________________________________________________________________ ERROR at setup of test_representer_types __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_representer.py, line 5 def test_representer_types(code_filename, verbose=False): E fixture 'code_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_representer.py:5 _________________________________________________________________________ ERROR at setup of test_implicit_resolver __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py, line 4 def test_implicit_resolver(data_filename, detect_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py:4 ________________________________________________________________________ ERROR at setup of test_path_resolver_loader ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py, line 60 def test_path_resolver_loader(data_filename, path_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py:60 ________________________________________________________________________ ERROR at setup of test_path_resolver_dumper ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py, line 77 def test_path_resolver_dumper(data_filename, path_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py:77 _________________________________________________________________________ ERROR at setup of test_implicit_resolver __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_schema.py, line 53 def test_implicit_resolver(data_filename, skip_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_schema.py:53 _____________________________________________________________________________ ERROR at setup of test_sort_keys ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_sort_keys.py, line 5 def test_sort_keys(input_filename, sorted_filename, verbose=False): E fixture 'input_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_sort_keys.py:5 _____________________________________________________________________________ ERROR at setup of test_structure ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 34 def test_structure(data_filename, structure_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:34 _______________________________________________________________________________ ERROR at setup of test_parser _______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 73 def test_parser(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:73 ________________________________________________________________________ ERROR at setup of test_parser_on_canonical _________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 91 def test_parser_on_canonical(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:91 ______________________________________________________________________________ ERROR at setup of test_composer ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 123 def test_composer(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:123 ____________________________________________________________________________ ERROR at setup of test_constructor _____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 175 def test_constructor(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:175 _______________________________________________________________________________ ERROR at setup of test_tokens _______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py, line 44 def test_tokens(data_filename, tokens_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py:44 ______________________________________________________________________________ ERROR at setup of test_scanner _______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py, line 63 def test_scanner(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py:63 _______________________________________________________________________________ ERROR at setup of test_marks ________________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_mark.py, line 3 def test_marks(marks_filename, verbose=False): E fixture 'marks_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_mark.py:3 ____________________________________________________________________________ ERROR at setup of test_stream_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_reader.py, line 14 def test_stream_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_reader.py:14 _________________________________________________________________________ ERROR at setup of test_canonical_scanner __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py, line 3 def test_canonical_scanner(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py:3 __________________________________________________________________________ ERROR at setup of test_canonical_parser __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py, line 14 def test_canonical_parser(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py:14 __________________________________________________________________________ ERROR at setup of test_canonical_error ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py, line 25 def test_canonical_error(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_canonical.py:25 _______________________________________________________________________________ ERROR at setup of test_tokens _______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py, line 44 def test_tokens(data_filename, tokens_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py:44 ______________________________________________________________________________ ERROR at setup of test_scanner _______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py, line 63 def test_scanner(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_tokens.py:63 _____________________________________________________________________________ ERROR at setup of test_structure ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 34 def test_structure(data_filename, structure_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:34 _______________________________________________________________________________ ERROR at setup of test_parser _______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 73 def test_parser(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:73 ________________________________________________________________________ ERROR at setup of test_parser_on_canonical _________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 91 def test_parser_on_canonical(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:91 ______________________________________________________________________________ ERROR at setup of test_composer ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py, line 123 def test_composer(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_structure.py:123 ____________________________________________________________________________ ERROR at setup of test_loader_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 3 def test_loader_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:3 ________________________________________________________________________ ERROR at setup of test_loader_error_string _________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 15 def test_loader_error_string(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:15 ________________________________________________________________________ ERROR at setup of test_loader_error_single _________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 27 def test_loader_error_single(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:27 ___________________________________________________________________________ ERROR at setup of test_emitter_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 39 def test_emitter_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:39 ____________________________________________________________________________ ERROR at setup of test_dumper_error ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py, line 52 def test_dumper_error(error_filename, verbose=False): E fixture 'error_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_errors.py:52 _________________________________________________________________________ ERROR at setup of test_implicit_resolver __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_schema.py, line 53 def test_implicit_resolver(data_filename, skip_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_schema.py:53 ________________________________________________________________________ ERROR at setup of test_path_resolver_loader ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py, line 60 def test_path_resolver_loader(data_filename, path_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py:60 ________________________________________________________________________ ERROR at setup of test_path_resolver_dumper ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py, line 77 def test_path_resolver_dumper(data_filename, path_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_resolver.py:77 _________________________________________________________________________ ERROR at setup of test_constructor_types __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py, line 254 def test_constructor_types(data_filename, code_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py:254 ______________________________________________________________________ ERROR at setup of test_subclass_blacklist_types ______________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py, line 285 def test_subclass_blacklist_types(data_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_constructor.py:285 __________________________________________________________________________ ERROR at setup of test_emitter_on_data ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 16 def test_emitter_on_data(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:16 ________________________________________________________________________ ERROR at setup of test_emitter_on_canonical ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 28 def test_emitter_on_canonical(canonical_filename, verbose=False): E fixture 'canonical_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:28 ___________________________________________________________________________ ERROR at setup of test_emitter_styles ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 41 def test_emitter_styles(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:41 ___________________________________________________________________________ ERROR at setup of test_emitter_events ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py, line 90 def test_emitter_events(events_filename, verbose=False): E fixture 'events_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_emitter.py:90 _________________________________________________________________________ ERROR at setup of test_representer_types __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_representer.py, line 5 def test_representer_types(code_filename, verbose=False): E fixture 'code_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_representer.py:5 _____________________________________________________________________________ ERROR at setup of test_recursive ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_recursive.py, line 24 def test_recursive(recursive_filename, verbose=False): E fixture 'recursive_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_recursive.py:24 ___________________________________________________________________________ ERROR at setup of test_unicode_input ____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 4 def test_unicode_input(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:4 ________________________________________________________________________ ERROR at setup of test_unicode_input_errors ________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 25 def test_unicode_input_errors(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:25 ___________________________________________________________________________ ERROR at setup of test_unicode_output ___________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 50 def test_unicode_output(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:50 ____________________________________________________________________________ ERROR at setup of test_file_output _____________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 86 def test_file_output(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:86 __________________________________________________________________________ ERROR at setup of test_unicode_transfer __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py, line 115 def test_unicode_transfer(unicode_filename, verbose=False): E fixture 'unicode_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_input_output.py:115 _____________________________________________________________________________ ERROR at setup of test_sort_keys ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_sort_keys.py, line 5 def test_sort_keys(input_filename, sorted_filename, verbose=False): E fixture 'input_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_sort_keys.py:5 _________________________________________________________________________ ERROR at setup of test_multi_constructor __________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_multi_constructor.py, line 31 def test_multi_constructor(input_filename, code_filename, verbose=False): E fixture 'input_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_multi_constructor.py:31 _____________________________________________________________________________ ERROR at setup of test_c_scanner ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_yaml_ext.py, line 155 def test_c_scanner(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_yaml_ext.py:155 ______________________________________________________________________________ ERROR at setup of test_c_parser ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_yaml_ext.py, line 188 def test_c_parser(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_yaml_ext.py:188 _____________________________________________________________________________ ERROR at setup of test_c_emitter ______________________________________________________________________________ file /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_yaml_ext.py, line 233 def test_c_emitter(data_filename, canonical_filename, verbose=False): E fixture 'data_filename' not found > 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 > use 'pytest --fixtures [testpath]' for help on them. /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_yaml_ext.py:233 ========================================================================================= FAILURES ========================================================================================== ________________________________________________________________________________ test_deprecate_yaml_module _________________________________________________________________________________ def test_deprecate_yaml_module(): import _yaml assert _yaml.__package__ == '' > assert isinstance(_yaml.get_version(), str) E AssertionError: assert False E + where False = isinstance((0, 2, 5), str) E + where (0, 2, 5) = () E + where = .get_version tests/lib/test_yaml_ext.py:127: AssertionError _____________________________________________________________________________________ test_scanner_ext ______________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_scanner() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError ______________________________________________________________________________________ test_tokens_ext ______________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_tokens() missing 2 required positional arguments: 'data_filename' and 'tokens_filename' tests/lib/test_yaml_ext.py:262: TypeError _____________________________________________________________________________________ test_composer_ext _____________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_composer() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError ___________________________________________________________________________________ test_constructor_ext ____________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_constructor() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError ______________________________________________________________________________________ test_parser_ext ______________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_parser() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_parser_on_canonical_ext ________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_parser_on_canonical() missing 1 required positional argument: 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError ____________________________________________________________________________________ test_structure_ext _____________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_structure() missing 2 required positional arguments: 'data_filename' and 'structure_filename' tests/lib/test_yaml_ext.py:262: TypeError ___________________________________________________________________________________ test_dumper_error_ext ___________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_dumper_error() missing 1 required positional argument: 'error_filename' tests/lib/test_yaml_ext.py:262: TypeError __________________________________________________________________________________ test_emitter_error_ext ___________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_emitter_error() missing 1 required positional argument: 'error_filename' tests/lib/test_yaml_ext.py:262: TypeError ___________________________________________________________________________________ test_loader_error_ext ___________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_loader_error() missing 1 required positional argument: 'error_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_loader_error_single_ext ________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_loader_error_single() missing 1 required positional argument: 'error_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_loader_error_string_ext ________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_loader_error_string() missing 1 required positional argument: 'error_filename' tests/lib/test_yaml_ext.py:262: TypeError ________________________________________________________________________________ test_implicit_resolver_ext _________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_implicit_resolver() missing 2 required positional arguments: 'data_filename' and 'detect_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_path_resolver_dumper_ext _______________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_path_resolver_dumper() missing 2 required positional arguments: 'data_filename' and 'path_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_path_resolver_loader_ext _______________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_path_resolver_loader() missing 2 required positional arguments: 'data_filename' and 'path_filename' tests/lib/test_yaml_ext.py:262: TypeError ________________________________________________________________________________ test_constructor_types_ext _________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_constructor_types() missing 2 required positional arguments: 'data_filename' and 'code_filename' tests/lib/test_yaml_ext.py:262: TypeError _____________________________________________________________________________ test_subclass_blacklist_types_ext _____________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_subclass_blacklist_types() missing 1 required positional argument: 'data_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_emitter_on_canonical_ext _______________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_emitter_on_canonical() missing 1 required positional argument: 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError _________________________________________________________________________________ test_emitter_on_data_ext __________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_emitter_on_data() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError __________________________________________________________________________________ test_emitter_styles_ext __________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_emitter_styles() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' tests/lib/test_yaml_ext.py:262: TypeError ________________________________________________________________________________ test_representer_types_ext _________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_representer_types() missing 1 required positional argument: 'code_filename' tests/lib/test_yaml_ext.py:262: TypeError ____________________________________________________________________________________ test_recursive_ext _____________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_recursive() missing 1 required positional argument: 'recursive_filename' tests/lib/test_yaml_ext.py:262: TypeError ___________________________________________________________________________________ test_file_output_ext ____________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_file_output() missing 1 required positional argument: 'unicode_filename' tests/lib/test_yaml_ext.py:262: TypeError __________________________________________________________________________________ test_unicode_input_ext ___________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_unicode_input() missing 1 required positional argument: 'unicode_filename' tests/lib/test_yaml_ext.py:262: TypeError _______________________________________________________________________________ test_unicode_input_errors_ext _______________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_unicode_input_errors() missing 1 required positional argument: 'unicode_filename' tests/lib/test_yaml_ext.py:262: TypeError __________________________________________________________________________________ test_unicode_output_ext __________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_unicode_output() missing 1 required positional argument: 'unicode_filename' tests/lib/test_yaml_ext.py:262: TypeError _________________________________________________________________________________ test_unicode_transfer_ext _________________________________________________________________________________ args = (), kwds = {} def wrapper(*args, **kwds): _set_up() try: > function(*args, **kwds) E TypeError: test_unicode_transfer() missing 1 required positional argument: 'unicode_filename' tests/lib/test_yaml_ext.py:262: TypeError ===================================================================================== warnings summary ====================================================================================== tests/lib/test_dump_load.py:12 /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/tests/lib/test_dump_load.py:12: PytestAssertRewriteWarning: assertion is always true, perhaps remove parentheses? assert(False, "load() require Loader=...") tests/lib/test_dump_load.py::test_load_no_loader /usr/lib/python3.9/site-packages/_pytest/python.py:204: PytestReturnNotNoneWarning: Expected None, but tests/lib/test_dump_load.py::test_load_no_loader returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/lib/test_yaml.py::test_load_no_loader /usr/lib/python3.9/site-packages/_pytest/python.py:204: PytestReturnNotNoneWarning: Expected None, but tests/lib/test_yaml.py::test_load_no_loader returned True, which will be an error in a future version of pytest. Did you mean to use `assert` instead of `return`? warnings.warn( tests/lib/test_yaml_ext.py::test_deprecate_yaml_module /home/tkloczko/rpmbuild/BUILDROOT/python-pyyaml-6.0.1-15.fc36.x86_64/usr/lib64/python3.9/site-packages/_yaml/__init__.py:18: DeprecationWarning: The _yaml extension module is now located at yaml._yaml and its location is subject to change. To use the LibYAML-based parser and emitter, import from `yaml`: `from yaml import CLoader as Loader, CDumper as Dumper`. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================================================================================== short test summary info ================================================================================== ERROR tests/lib/test_canonical.py::test_canonical_scanner ERROR tests/lib/test_canonical.py::test_canonical_parser ERROR tests/lib/test_canonical.py::test_canonical_error ERROR tests/lib/test_constructor.py::test_constructor_types ERROR tests/lib/test_constructor.py::test_subclass_blacklist_types ERROR tests/lib/test_emitter.py::test_emitter_on_data ERROR tests/lib/test_emitter.py::test_emitter_on_canonical ERROR tests/lib/test_emitter.py::test_emitter_styles ERROR tests/lib/test_emitter.py::test_emitter_events ERROR tests/lib/test_errors.py::test_loader_error ERROR tests/lib/test_errors.py::test_loader_error_string ERROR tests/lib/test_errors.py::test_loader_error_single ERROR tests/lib/test_errors.py::test_emitter_error ERROR tests/lib/test_errors.py::test_dumper_error ERROR tests/lib/test_input_output.py::test_unicode_input ERROR tests/lib/test_input_output.py::test_unicode_input_errors ERROR tests/lib/test_input_output.py::test_unicode_output ERROR tests/lib/test_input_output.py::test_file_output ERROR tests/lib/test_input_output.py::test_unicode_transfer ERROR tests/lib/test_mark.py::test_marks ERROR tests/lib/test_multi_constructor.py::test_multi_constructor ERROR tests/lib/test_reader.py::test_stream_error ERROR tests/lib/test_recursive.py::test_recursive ERROR tests/lib/test_representer.py::test_representer_types ERROR tests/lib/test_resolver.py::test_implicit_resolver ERROR tests/lib/test_resolver.py::test_path_resolver_loader ERROR tests/lib/test_resolver.py::test_path_resolver_dumper ERROR tests/lib/test_schema.py::test_implicit_resolver ERROR tests/lib/test_sort_keys.py::test_sort_keys ERROR tests/lib/test_structure.py::test_structure ERROR tests/lib/test_structure.py::test_parser ERROR tests/lib/test_structure.py::test_parser_on_canonical ERROR tests/lib/test_structure.py::test_composer ERROR tests/lib/test_structure.py::test_constructor ERROR tests/lib/test_tokens.py::test_tokens ERROR tests/lib/test_tokens.py::test_scanner ERROR tests/lib/test_yaml.py::test_marks ERROR tests/lib/test_yaml.py::test_stream_error ERROR tests/lib/test_yaml.py::test_canonical_scanner ERROR tests/lib/test_yaml.py::test_canonical_parser ERROR tests/lib/test_yaml.py::test_canonical_error ERROR tests/lib/test_yaml.py::test_tokens ERROR tests/lib/test_yaml.py::test_scanner ERROR tests/lib/test_yaml.py::test_structure ERROR tests/lib/test_yaml.py::test_parser ERROR tests/lib/test_yaml.py::test_parser_on_canonical ERROR tests/lib/test_yaml.py::test_composer ERROR tests/lib/test_yaml.py::test_loader_error ERROR tests/lib/test_yaml.py::test_loader_error_string ERROR tests/lib/test_yaml.py::test_loader_error_single ERROR tests/lib/test_yaml.py::test_emitter_error ERROR tests/lib/test_yaml.py::test_dumper_error ERROR tests/lib/test_yaml.py::test_implicit_resolver ERROR tests/lib/test_yaml.py::test_path_resolver_loader ERROR tests/lib/test_yaml.py::test_path_resolver_dumper ERROR tests/lib/test_yaml.py::test_constructor_types ERROR tests/lib/test_yaml.py::test_subclass_blacklist_types ERROR tests/lib/test_yaml.py::test_emitter_on_data ERROR tests/lib/test_yaml.py::test_emitter_on_canonical ERROR tests/lib/test_yaml.py::test_emitter_styles ERROR tests/lib/test_yaml.py::test_emitter_events ERROR tests/lib/test_yaml.py::test_representer_types ERROR tests/lib/test_yaml.py::test_recursive ERROR tests/lib/test_yaml.py::test_unicode_input ERROR tests/lib/test_yaml.py::test_unicode_input_errors ERROR tests/lib/test_yaml.py::test_unicode_output ERROR tests/lib/test_yaml.py::test_file_output ERROR tests/lib/test_yaml.py::test_unicode_transfer ERROR tests/lib/test_yaml.py::test_sort_keys ERROR tests/lib/test_yaml.py::test_multi_constructor ERROR tests/lib/test_yaml_ext.py::test_c_scanner ERROR tests/lib/test_yaml_ext.py::test_c_parser ERROR tests/lib/test_yaml_ext.py::test_c_emitter FAILED tests/lib/test_yaml_ext.py::test_deprecate_yaml_module - AssertionError: assert False FAILED tests/lib/test_yaml_ext.py::test_scanner_ext - TypeError: test_scanner() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_tokens_ext - TypeError: test_tokens() missing 2 required positional arguments: 'data_filename' and 'tokens_filename' FAILED tests/lib/test_yaml_ext.py::test_composer_ext - TypeError: test_composer() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_constructor_ext - TypeError: test_constructor() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_parser_ext - TypeError: test_parser() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_parser_on_canonical_ext - TypeError: test_parser_on_canonical() missing 1 required positional argument: 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_structure_ext - TypeError: test_structure() missing 2 required positional arguments: 'data_filename' and 'structure_filename' FAILED tests/lib/test_yaml_ext.py::test_dumper_error_ext - TypeError: test_dumper_error() missing 1 required positional argument: 'error_filename' FAILED tests/lib/test_yaml_ext.py::test_emitter_error_ext - TypeError: test_emitter_error() missing 1 required positional argument: 'error_filename' FAILED tests/lib/test_yaml_ext.py::test_loader_error_ext - TypeError: test_loader_error() missing 1 required positional argument: 'error_filename' FAILED tests/lib/test_yaml_ext.py::test_loader_error_single_ext - TypeError: test_loader_error_single() missing 1 required positional argument: 'error_filename' FAILED tests/lib/test_yaml_ext.py::test_loader_error_string_ext - TypeError: test_loader_error_string() missing 1 required positional argument: 'error_filename' FAILED tests/lib/test_yaml_ext.py::test_implicit_resolver_ext - TypeError: test_implicit_resolver() missing 2 required positional arguments: 'data_filename' and 'detect_filename' FAILED tests/lib/test_yaml_ext.py::test_path_resolver_dumper_ext - TypeError: test_path_resolver_dumper() missing 2 required positional arguments: 'data_filename' and 'path_filename' FAILED tests/lib/test_yaml_ext.py::test_path_resolver_loader_ext - TypeError: test_path_resolver_loader() missing 2 required positional arguments: 'data_filename' and 'path_filename' FAILED tests/lib/test_yaml_ext.py::test_constructor_types_ext - TypeError: test_constructor_types() missing 2 required positional arguments: 'data_filename' and 'code_filename' FAILED tests/lib/test_yaml_ext.py::test_subclass_blacklist_types_ext - TypeError: test_subclass_blacklist_types() missing 1 required positional argument: 'data_filename' FAILED tests/lib/test_yaml_ext.py::test_emitter_on_canonical_ext - TypeError: test_emitter_on_canonical() missing 1 required positional argument: 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_emitter_on_data_ext - TypeError: test_emitter_on_data() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_emitter_styles_ext - TypeError: test_emitter_styles() missing 2 required positional arguments: 'data_filename' and 'canonical_filename' FAILED tests/lib/test_yaml_ext.py::test_representer_types_ext - TypeError: test_representer_types() missing 1 required positional argument: 'code_filename' FAILED tests/lib/test_yaml_ext.py::test_recursive_ext - TypeError: test_recursive() missing 1 required positional argument: 'recursive_filename' FAILED tests/lib/test_yaml_ext.py::test_file_output_ext - TypeError: test_file_output() missing 1 required positional argument: 'unicode_filename' FAILED tests/lib/test_yaml_ext.py::test_unicode_input_ext - TypeError: test_unicode_input() missing 1 required positional argument: 'unicode_filename' FAILED tests/lib/test_yaml_ext.py::test_unicode_input_errors_ext - TypeError: test_unicode_input_errors() missing 1 required positional argument: 'unicode_filename' FAILED tests/lib/test_yaml_ext.py::test_unicode_output_ext - TypeError: test_unicode_output() missing 1 required positional argument: 'unicode_filename' FAILED tests/lib/test_yaml_ext.py::test_unicode_transfer_ext - TypeError: test_unicode_transfer() missing 1 required positional argument: 'unicode_filename' ==================================================================== 28 failed, 8 passed, 4 warnings, 73 errors in 0.72s ==================================================================== ```

Part of those errors are caused by something still missing in build env for that module (can someone hel what exactly it is? 🤔) but some are not.

kloczek commented 3 months ago

It is yet another minor issue. pep517 based build shows some cython related warnings

+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting build dependencies for wheel...
running egg_info
creating lib/PyYAML.egg-info
writing lib/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib/PyYAML.egg-info/top_level.txt
writing manifest file 'lib/PyYAML.egg-info/SOURCES.txt'
cythoning yaml/_yaml.pyx to yaml/_yaml.c
/usr/lib64/python3.9/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases!
 File: /home/tkloczko/rpmbuild/BUILD/pyyaml-6.0.1/yaml/_yaml.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
ahesford commented 3 months ago

@kloczek This pull request was closed several months ago. Please report your issues elsewhere.

kloczek commented 3 months ago

@kloczek This pull request was closed several months ago. Please report your issues elsewhere.

Can you point where I should report that? 🤔

Uzume commented 3 weeks ago

FYI: This was effective merged in #808.