Source: python-ruyaml
Version: 0.91.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:110: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:310: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml 
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> creating build/lib/ruyaml
> copying lib/ruyaml/tokens.py -> build/lib/ruyaml
> copying lib/ruyaml/compat.py -> build/lib/ruyaml
> copying lib/ruyaml/resolver.py -> build/lib/ruyaml
> copying lib/ruyaml/representer.py -> build/lib/ruyaml
> copying lib/ruyaml/__init__.py -> build/lib/ruyaml
> copying lib/ruyaml/composer.py -> build/lib/ruyaml
> copying lib/ruyaml/error.py -> build/lib/ruyaml
> copying lib/ruyaml/cyaml.py -> build/lib/ruyaml
> copying lib/ruyaml/parser.py -> build/lib/ruyaml
> copying lib/ruyaml/emitter.py -> build/lib/ruyaml
> copying lib/ruyaml/scalarbool.py -> build/lib/ruyaml
> copying lib/ruyaml/scalarfloat.py -> build/lib/ruyaml
> copying lib/ruyaml/main.py -> build/lib/ruyaml
> copying lib/ruyaml/dumper.py -> build/lib/ruyaml
> copying lib/ruyaml/constructor.py -> build/lib/ruyaml
> copying lib/ruyaml/events.py -> build/lib/ruyaml
> copying lib/ruyaml/comments.py -> build/lib/ruyaml
> copying lib/ruyaml/reader.py -> build/lib/ruyaml
> copying lib/ruyaml/timestamp.py -> build/lib/ruyaml
> copying lib/ruyaml/nodes.py -> build/lib/ruyaml
> copying lib/ruyaml/loader.py -> build/lib/ruyaml
> copying lib/ruyaml/scalarstring.py -> build/lib/ruyaml
> copying lib/ruyaml/util.py -> build/lib/ruyaml
> copying lib/ruyaml/serializer.py -> build/lib/ruyaml
> copying lib/ruyaml/configobjwalker.py -> build/lib/ruyaml
> copying lib/ruyaml/anchor.py -> build/lib/ruyaml
> copying lib/ruyaml/scanner.py -> build/lib/ruyaml
> copying lib/ruyaml/scalarint.py -> build/lib/ruyaml
> running egg_info
> creating lib/ruyaml.egg-info
> writing lib/ruyaml.egg-info/PKG-INFO
> writing dependency_links to lib/ruyaml.egg-info/dependency_links.txt
> writing requirements to lib/ruyaml.egg-info/requires.txt
> writing top-level names to lib/ruyaml.egg-info/top_level.txt
> writing manifest file 'lib/ruyaml.egg-info/SOURCES.txt'
> reading manifest file 'lib/ruyaml.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'ext*'
> no previously-included directories found matching 'clib*'
> adding license file 'LICENSE'
> writing manifest file 'lib/ruyaml.egg-info/SOURCES.txt'
> copying lib/ruyaml/py.typed -> build/lib/ruyaml
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/tokens.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/compat.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/resolver.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/representer.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/__init__.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/composer.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/error.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/cyaml.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/parser.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/emitter.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarbool.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarfloat.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/main.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/dumper.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/constructor.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/events.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/comments.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/reader.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/py.typed -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/timestamp.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/nodes.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/loader.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarstring.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/util.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/serializer.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/configobjwalker.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/anchor.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scanner.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarint.py -> build/bdist.linux-x86_64/wheel/ruyaml
> running install_egg_info
> Copying lib/ruyaml.egg-info to 
> build/bdist.linux-x86_64/wheel/ruyaml-0.91.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/ruyaml-0.91.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml/.tmp-x6au7ohe/ruyaml-0.91.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'ruyaml/__init__.py'
> adding 'ruyaml/anchor.py'
> adding 'ruyaml/comments.py'
> adding 'ruyaml/compat.py'
> adding 'ruyaml/composer.py'
> adding 'ruyaml/configobjwalker.py'
> adding 'ruyaml/constructor.py'
> adding 'ruyaml/cyaml.py'
> adding 'ruyaml/dumper.py'
> adding 'ruyaml/emitter.py'
> adding 'ruyaml/error.py'
> adding 'ruyaml/events.py'
> adding 'ruyaml/loader.py'
> adding 'ruyaml/main.py'
> adding 'ruyaml/nodes.py'
> adding 'ruyaml/parser.py'
> adding 'ruyaml/py.typed'
> adding 'ruyaml/reader.py'
> adding 'ruyaml/representer.py'
> adding 'ruyaml/resolver.py'
> adding 'ruyaml/scalarbool.py'
> adding 'ruyaml/scalarfloat.py'
> adding 'ruyaml/scalarint.py'
> adding 'ruyaml/scalarstring.py'
> adding 'ruyaml/scanner.py'
> adding 'ruyaml/serializer.py'
> adding 'ruyaml/timestamp.py'
> adding 'ruyaml/tokens.py'
> adding 'ruyaml/util.py'
> adding 'ruyaml-0.91.0.dist-info/LICENSE'
> adding 'ruyaml-0.91.0.dist-info/METADATA'
> adding 'ruyaml-0.91.0.dist-info/WHEEL'
> adding 'ruyaml-0.91.0.dist-info/top_level.txt'
> adding 'ruyaml-0.91.0.dist-info/zip-safe'
> adding 'ruyaml-0.91.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built ruyaml-0.91.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:310: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml 
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: 
> _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
> 
>         
> ********************************************************************************
>         The license_file parameter is deprecated, use license_files instead.
> 
>         This deprecation is overdue, please update your project and remove 
> deprecated
>         calls to avoid build errors in the future.
> 
>         See 
> https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
> details.
>         
> ********************************************************************************
> 
> !!
>   parsed = self.parsers.get(option_name, lambda x: x)(value)
> running bdist_wheel
> running build
> running build_py
> running egg_info
> writing lib/ruyaml.egg-info/PKG-INFO
> writing dependency_links to lib/ruyaml.egg-info/dependency_links.txt
> writing requirements to lib/ruyaml.egg-info/requires.txt
> writing top-level names to lib/ruyaml.egg-info/top_level.txt
> reading manifest file 'lib/ruyaml.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'ext*'
> no previously-included directories found matching 'clib*'
> adding license file 'LICENSE'
> writing manifest file 'lib/ruyaml.egg-info/SOURCES.txt'
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> creating build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/tokens.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/compat.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/resolver.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/representer.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/__init__.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/composer.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/error.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/cyaml.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/parser.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/emitter.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarbool.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarfloat.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/main.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/dumper.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/constructor.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/events.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/comments.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/reader.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/py.typed -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/timestamp.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/nodes.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/loader.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarstring.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/util.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/serializer.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/configobjwalker.py -> 
> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/anchor.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scanner.py -> build/bdist.linux-x86_64/wheel/ruyaml
> copying build/lib/ruyaml/scalarint.py -> build/bdist.linux-x86_64/wheel/ruyaml
> running install_egg_info
> Copying lib/ruyaml.egg-info to 
> build/bdist.linux-x86_64/wheel/ruyaml-0.91.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/ruyaml-0.91.0.dist-info/WHEEL
> creating 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml/.tmp-4owrzx8j/ruyaml-0.91.0-py3-none-any.whl'
>  and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'ruyaml/__init__.py'
> adding 'ruyaml/anchor.py'
> adding 'ruyaml/comments.py'
> adding 'ruyaml/compat.py'
> adding 'ruyaml/composer.py'
> adding 'ruyaml/configobjwalker.py'
> adding 'ruyaml/constructor.py'
> adding 'ruyaml/cyaml.py'
> adding 'ruyaml/dumper.py'
> adding 'ruyaml/emitter.py'
> adding 'ruyaml/error.py'
> adding 'ruyaml/events.py'
> adding 'ruyaml/loader.py'
> adding 'ruyaml/main.py'
> adding 'ruyaml/nodes.py'
> adding 'ruyaml/parser.py'
> adding 'ruyaml/py.typed'
> adding 'ruyaml/reader.py'
> adding 'ruyaml/representer.py'
> adding 'ruyaml/resolver.py'
> adding 'ruyaml/scalarbool.py'
> adding 'ruyaml/scalarfloat.py'
> adding 'ruyaml/scalarint.py'
> adding 'ruyaml/scalarstring.py'
> adding 'ruyaml/scanner.py'
> adding 'ruyaml/serializer.py'
> adding 'ruyaml/timestamp.py'
> adding 'ruyaml/tokens.py'
> adding 'ruyaml/util.py'
> adding 'ruyaml-0.91.0.dist-info/LICENSE'
> adding 'ruyaml-0.91.0.dist-info/METADATA'
> adding 'ruyaml-0.91.0.dist-info/WHEEL'
> adding 'ruyaml-0.91.0.dist-info/top_level.txt'
> adding 'ruyaml-0.91.0.dist-info/zip-safe'
> adding 'ruyaml-0.91.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built ruyaml-0.91.0-py3-none-any.whl
> I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:314: cp -a /<<PKGBUILDDIR>>/_test 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml/build
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml/build; 
> python3.12 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml/build
> configfile: pyproject.toml
> collected 519 items
> 
> _test/test_a_dedent.py ......                                            [  
> 1%]
> _test/test_add_xxx.py .......                                            [  
> 2%]
> _test/test_anchor.py ..............................                      [  
> 8%]
> _test/test_api_change.py ..................                              [ 
> 11%]
> _test/test_class_register.py ........                                    [ 
> 13%]
> _test/test_collections.py .                                              [ 
> 13%]
> _test/test_comment_manipulation.py ............................x         [ 
> 19%]
> _test/test_comments.py ....................................FF..x........ [ 
> 28%]
> ..................                                                       [ 
> 31%]
> _test/test_contextmanager.py ........                                    [ 
> 33%]
> _test/test_copy.py .....                                                 [ 
> 34%]
> _test/test_cyaml.py XsXX                                                 [ 
> 35%]
> _test/test_datetime.py ..............                                    [ 
> 37%]
> _test/test_deprecation.py s                                              [ 
> 38%]
> _test/test_documents.py ......                                           [ 
> 39%]
> _test/test_fail.py x.x.x.x.......                                        [ 
> 42%]
> _test/test_float.py ....                                                 [ 
> 42%]
> _test/test_flowsequencekey.py .                                          [ 
> 42%]
> _test/test_indentation.py ..........................                     [ 
> 47%]
> _test/test_int.py .                                                      [ 
> 48%]
> _test/test_issues.py F.................................................. [ 
> 57%]
>                                                                          [ 
> 57%]
> _test/test_json_numbers.py ..                                            [ 
> 58%]
> _test/test_line_col.py .......                                           [ 
> 59%]
> _test/test_literal.py .........................                          [ 
> 64%]
> _test/test_none.py .....                                                 [ 
> 65%]
> _test/test_program_config.py ...                                         [ 
> 66%]
> _test/test_spec_examples.py .x.xxxx..xxxxxx.xxxx                         [ 
> 69%]
> _test/test_string.py ................                                    [ 
> 73%]
> _test/test_tag.py ......xx......                                         [ 
> 75%]
> _test/test_version.py ........                                           [ 
> 77%]
> _test/test_yamlfile.py .............                                     [ 
> 79%]
> _test/test_yamlobject.py ...                                             [ 
> 80%]
> _test/test_z_check_debug_leftovers.py ..                                 [ 
> 80%]
> _test/test_z_data.py s                                                   [ 
> 80%]
> _test/test_z_olddata.py ..                                               [ 
> 81%]
> _test/lib/test_canonical.py sss                                          [ 
> 81%]
> _test/lib/test_constructor.py ss                                         [ 
> 82%]
> _test/lib/test_emitter.py ssss                                           [ 
> 83%]
> _test/lib/test_errors.py sssss                                           [ 
> 84%]
> _test/lib/test_input_output.py sssss                                     [ 
> 84%]
> _test/lib/test_mark.py s                                                 [ 
> 85%]
> _test/lib/test_reader.py s                                               [ 
> 85%]
> _test/lib/test_recursive.py s                                            [ 
> 85%]
> _test/lib/test_representer.py s                                          [ 
> 85%]
> _test/lib/test_resolver.py sss                                           [ 
> 86%]
> _test/lib/test_structure.py sssss                                        [ 
> 87%]
> _test/lib/test_tokens.py ss                                              [ 
> 87%]
> _test/lib/test_yaml.py sssssssssssssssssssssssssssssssss                 [ 
> 94%]
> _test/lib/test_yaml_ext.py sssssssssssssssssssssssssssssss               
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________ TestCommentedMapMerge.test_issue_60 
> ______________________
> 
> self = <_test.test_comments.TestCommentedMapMerge object at 0x7fb2b82f4380>
> 
>     def test_issue_60(self):
>         data = round_trip_load(
>             """
>         x: &base
>           a: 1
>         y:
>           <<: *base
>         """
>         )
>         assert data['x']['a'] == 1
>         assert data['y']['a'] == 1
> >       assert str(data['y']) == """ordereddict([('a', 1)])"""
> E       assert "ordereddict({'a': 1})" == "ordereddict([('a', 1)])"
> E         - ordereddict([('a', 1)])
> E         ?             ^^   ^   --
> E         + ordereddict({'a': 1})
> E         ?             ^   ^  +
> 
> _test/test_comments.py:579: AssertionError
> ____________________ TestCommentedMapMerge.test_issue_60_1 
> _____________________
> 
> self = <_test.test_comments.TestCommentedMapMerge object at 0x7fb2b82f44d0>
> 
>     def test_issue_60_1(self):
>         data = round_trip_load(
>             """
>         x: &base
>           a: 1
>         y:
>           <<: *base
>           b: 2
>         """
>         )
>         assert data['x']['a'] == 1
>         assert data['y']['a'] == 1
> >       assert str(data['y']) == """ordereddict([('b', 2), ('a', 1)])"""
> E       assert "ordereddict(...: 2, 'a': 1})" == "ordereddict(...), ('a', 
> 1)])"
> E         - ordereddict([('b', 2), ('a', 1)])
> E         + ordereddict({'b': 2, 'a': 1})
> 
> _test/test_comments.py:593: AssertionError
> ___________________________ TestIssues.test_issue_61 
> ___________________________
> 
> self = <_test.test_issues.TestIssues object at 0x7fb2b8340530>
> 
>     def test_issue_61(self):
>         s = dedent(
>             """
>         def1: &ANCHOR1
>             key1: value1
>         def: &ANCHOR
>             <<: *ANCHOR1
>             key: value
>         comb:
>             <<: *ANCHOR
>         """
>         )
>         data = round_trip_load(s)
>         assert str(data['comb']) == str(data['def'])
> >       assert (
>             str(data['comb']) == "ordereddict([('key', 'value'), ('key1', 
> 'value1')])"
>         )
> E       assert "ordereddict(...': 'value1'})" == "ordereddict(..., 
> 'value1')])"
> E         - ordereddict([('key', 'value'), ('key1', 'value1')])
> E         ?             ^^     ^        -  -      ^          --
> E         + ordereddict({'key': 'value', 'key1': 'value1'})
> E         ?             ^     ^                ^         +
> 
> _test/test_issues.py:31: AssertionError
> =============================== warnings summary 
> ===============================
> _test/test_z_olddata.py::test_data
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml/build/_test/lib/test_constructor.py:321:
>  UnsafeLoaderWarning: 
>   The default 'Loader' for 'load(stream)' without further arguments can be 
> unsafe.
>   Use 'load(stream, Loader=ruyaml.Loader)' explicitly if that is OK.
>   Alternatively include the following in your code:
>   
>     import warnings
>     warnings.simplefilter('ignore', ruyaml.error.UnsafeLoaderWarning)
>   
>   In most other cases you should consider using 'safe_load(stream)'
>     native1 = list(ruyaml.load_all(fp0))
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED _test/test_comments.py::TestCommentedMapMerge::test_issue_60 - assert 
> ...
> FAILED _test/test_comments.py::TestCommentedMapMerge::test_issue_60_1 - 
> asser...
> FAILED _test/test_issues.py::TestIssues::test_issue_61 - assert 
> "ordereddict(...
> = 3 failed, 390 passed, 100 skipped, 23 xfailed, 3 xpassed, 1 warning in 
> 4.71s =
> E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ruyaml/build; python3.12 -m pytest 
> I: pybuild pybuild:314: cp -a /<<PKGBUILDDIR>>/_test 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml/build
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml/build; 
> python3.11 -m pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml/build
> configfile: pyproject.toml
> collected 519 items
> 
> _test/test_a_dedent.py ......                                            [  
> 1%]
> _test/test_add_xxx.py .......                                            [  
> 2%]
> _test/test_anchor.py ..............................                      [  
> 8%]
> _test/test_api_change.py ..................                              [ 
> 11%]
> _test/test_class_register.py ........                                    [ 
> 13%]
> _test/test_collections.py .                                              [ 
> 13%]
> _test/test_comment_manipulation.py ............................x         [ 
> 19%]
> _test/test_comments.py ........................................x........ [ 
> 28%]
> ..................                                                       [ 
> 31%]
> _test/test_contextmanager.py ........                                    [ 
> 33%]
> _test/test_copy.py .....                                                 [ 
> 34%]
> _test/test_cyaml.py XsXX                                                 [ 
> 35%]
> _test/test_datetime.py ..............                                    [ 
> 37%]
> _test/test_deprecation.py s                                              [ 
> 38%]
> _test/test_documents.py ......                                           [ 
> 39%]
> _test/test_fail.py x.x.x.x.......                                        [ 
> 42%]
> _test/test_float.py ....                                                 [ 
> 42%]
> _test/test_flowsequencekey.py .                                          [ 
> 42%]
> _test/test_indentation.py ..........................                     [ 
> 47%]
> _test/test_int.py .                                                      [ 
> 48%]
> _test/test_issues.py ................................................... [ 
> 57%]
>                                                                          [ 
> 57%]
> _test/test_json_numbers.py ..                                            [ 
> 58%]
> _test/test_line_col.py .......                                           [ 
> 59%]
> _test/test_literal.py .........................                          [ 
> 64%]
> _test/test_none.py .....                                                 [ 
> 65%]
> _test/test_program_config.py ...                                         [ 
> 66%]
> _test/test_spec_examples.py .x.xxxx..xxxxxx.xxxx                         [ 
> 69%]
> _test/test_string.py ................                                    [ 
> 73%]
> _test/test_tag.py ......xx......                                         [ 
> 75%]
> _test/test_version.py ........                                           [ 
> 77%]
> _test/test_yamlfile.py .............                                     [ 
> 79%]
> _test/test_yamlobject.py ...                                             [ 
> 80%]
> _test/test_z_check_debug_leftovers.py ..                                 [ 
> 80%]
> _test/test_z_data.py s                                                   [ 
> 80%]
> _test/test_z_olddata.py ..                                               [ 
> 81%]
> _test/lib/test_canonical.py sss                                          [ 
> 81%]
> _test/lib/test_constructor.py ss                                         [ 
> 82%]
> _test/lib/test_emitter.py ssss                                           [ 
> 83%]
> _test/lib/test_errors.py sssss                                           [ 
> 84%]
> _test/lib/test_input_output.py sssss                                     [ 
> 84%]
> _test/lib/test_mark.py s                                                 [ 
> 85%]
> _test/lib/test_reader.py s                                               [ 
> 85%]
> _test/lib/test_recursive.py s                                            [ 
> 85%]
> _test/lib/test_representer.py s                                          [ 
> 85%]
> _test/lib/test_resolver.py sss                                           [ 
> 86%]
> _test/lib/test_structure.py sssss                                        [ 
> 87%]
> _test/lib/test_tokens.py ss                                              [ 
> 87%]
> _test/lib/test_yaml.py sssssssssssssssssssssssssssssssss                 [ 
> 94%]
> _test/lib/test_yaml_ext.py sssssssssssssssssssssssssssssss               
> [100%]
> 
> =============================== warnings summary 
> ===============================
> _test/test_z_olddata.py::test_data
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml/build/_test/lib/test_constructor.py:321:
>  UnsafeLoaderWarning: 
>   The default 'Loader' for 'load(stream)' without further arguments can be 
> unsafe.
>   Use 'load(stream, Loader=ruyaml.Loader)' explicitly if that is OK.
>   Alternatively include the following in your code:
>   
>     import warnings
>     warnings.simplefilter('ignore', ruyaml.error.UnsafeLoaderWarning)
>   
>   In most other cases you should consider using 'safe_load(stream)'
>     native1 = list(ruyaml.load_all(fp0))
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ====== 393 passed, 100 skipped, 23 xfailed, 3 xpassed, 1 warning in 3.90s 
> ======
> I: pybuild pybuild:340: rm -rf 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_ruyaml/build/_test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-ruyaml_0.91.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to