Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1978891 Details for
Bug 2226165
python-box: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-25 19:12:10 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 19:12:10 UTC
Size:
32.00 KB
patch
obsolete
>needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ export LDFLAGS >+ LT_SYS_LIBRARY_PATH=/usr/lib: >+ export LT_SYS_LIBRARY_PATH >+ CC=gcc >+ export CC >+ CXX=g++ >+ export CXX >+ cd Box-7.0.1 >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' >running build >running build_py >file box.py (for module box) not found >creating build >creating build/lib >creating build/lib/box >copying box/__init__.py -> build/lib/box >copying box/box.py -> build/lib/box >copying box/box_list.py -> build/lib/box >copying box/config_box.py -> build/lib/box >copying box/converters.py -> build/lib/box >copying box/exceptions.py -> build/lib/box >copying box/from_file.py -> build/lib/box >copying box/shorthand_box.py -> build/lib/box >running egg_info >creating python_box.egg-info >writing python_box.egg-info/PKG-INFO >writing dependency_links to python_box.egg-info/dependency_links.txt >writing requirements to python_box.egg-info/requires.txt >writing top-level names to python_box.egg-info/top_level.txt >writing manifest file 'python_box.egg-info/SOURCES.txt' >file box.py (for module box) not found >reading manifest file 'python_box.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching 'box/*.c' >warning: no files found matching 'box/*.so' >warning: no files found matching 'box/*.pyd' >adding license file 'LICENSE' >adding license file 'AUTHORS.rst' >writing manifest file 'python_box.egg-info/SOURCES.txt' >copying box/box.pyi -> build/lib/box >copying box/box_list.pyi -> build/lib/box >copying box/config_box.pyi -> build/lib/box >copying box/converters.pyi -> build/lib/box >copying box/exceptions.pyi -> build/lib/box >copying box/from_file.pyi -> build/lib/box >copying box/py.typed -> build/lib/box >copying box/shorthand_box.pyi -> build/lib/box >file box.py (for module box) not found >WARNING: Cython not installed, could not optimize box. >+ RPM_EC=0 >++ jobs -p >+ exit 0 >Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aoGaEj >+ umask 022 >+ cd /builddir/build/BUILD >+ '[' /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch '!=' / ']' >+ rm -rf /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch >++ dirname /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch >+ mkdir -p /builddir/build/BUILDROOT >+ mkdir /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ export CFLAGS >+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ export CXXFLAGS >+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' >+ export FFLAGS >+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' >+ export FCFLAGS >+ VALAFLAGS=-g >+ export VALAFLAGS >+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' >+ export RUSTFLAGS >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ export LDFLAGS >+ LT_SYS_LIBRARY_PATH=/usr/lib: >+ export LT_SYS_LIBRARY_PATH >+ CC=gcc >+ export CC >+ CXX=g++ >+ export CXX >+ cd Box-7.0.1 >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch --prefix /usr >running install >/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. >!! > ******************************************************************************** > Please avoid running ``setup.py`` directly. > Instead, use pypa/build, pypa/installer, pypa/build or > other standards-based tools. > Follow the current Python packaging guidelines when building > Python RPM packages. > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html > and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. > ******************************************************************************** >!! > self.initialize_options() >running install_lib >creating /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr >creating /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib >creating /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12 >creating /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages >creating /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/__init__.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/box.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/box_list.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/config_box.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/converters.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/exceptions.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/from_file.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/shorthand_box.py -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/box.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/box_list.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/config_box.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/converters.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/exceptions.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/from_file.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/py.typed -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >copying build/lib/box/shorthand_box.pyi -> /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/__init__.py to __init__.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/box.py to box.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/box_list.py to box_list.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/config_box.py to config_box.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/converters.py to converters.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/exceptions.py to exceptions.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/from_file.py to from_file.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/box/shorthand_box.py to shorthand_box.cpython-312.pyc >writing byte-compilation script '/tmp/tmp3iulz9z5.py' >/usr/bin/python3 /tmp/tmp3iulz9z5.py >removing /tmp/tmp3iulz9z5.py >running install_egg_info >running egg_info >writing python_box.egg-info/PKG-INFO >writing dependency_links to python_box.egg-info/dependency_links.txt >writing requirements to python_box.egg-info/requires.txt >writing top-level names to python_box.egg-info/top_level.txt >file box.py (for module box) not found >reading manifest file 'python_box.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching 'box/*.c' >warning: no files found matching 'box/*.so' >warning: no files found matching 'box/*.pyd' >adding license file 'LICENSE' >adding license file 'AUTHORS.rst' >writing manifest file 'python_box.egg-info/SOURCES.txt' >Copying python_box.egg-info to /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages/python_box-7.0.1-py3.12.egg-info >running install_scripts >WARNING: Cython not installed, could not optimize box. >+ rm -rfv /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/bin/__pycache__ >+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 7.0.1-3.fc39 --unique-debug-suffix -7.0.1-3.fc39.noarch --unique-debug-src-base python-box-7.0.1-3.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Box-7.0.1 >find-debuginfo: starting >Extracting debug info from 0 files >Creating .debug symlinks for symlinks to ELF files >find: 'debug': No such file or directory >find-debuginfo: done >+ /usr/lib/rpm/check-buildroot >+ /usr/lib/rpm/redhat/brp-ldconfig >+ /usr/lib/rpm/brp-compress >+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip >+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip >+ /usr/lib/rpm/check-rpaths >+ /usr/lib/rpm/redhat/brp-mangle-shebangs >+ /usr/lib/rpm/brp-remove-la-files >+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 >Bytecompiling .py files below /builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12 using python3.12 >+ /usr/lib/rpm/redhat/brp-python-hardlink >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1QDw8C >+ umask 022 >+ cd /builddir/build/BUILD >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ export CFLAGS >+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ export CXXFLAGS >+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' >+ export FFLAGS >+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' >+ export FCFLAGS >+ VALAFLAGS=-g >+ export VALAFLAGS >+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' >+ export RUSTFLAGS >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ export LDFLAGS >+ LT_SYS_LIBRARY_PATH=/usr/lib: >+ export LT_SYS_LIBRARY_PATH >+ CC=gcc >+ export CC >+ CXX=g++ >+ export CXX >+ cd Box-7.0.1 >+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' >+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' >+ PATH=/builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin >+ PYTHONPATH=/builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-box-7.0.1-3.fc39.noarch/usr/lib/python3.12/site-packages >+ PYTHONDONTWRITEBYTECODE=1 >+ PYTEST_XDIST_AUTO_NUM_WORKERS=8 >+ /usr/bin/pytest -v test -k 'not test_msgpack' >============================= test session starts ============================== >platform linux -- Python 3.12.0b4, pytest-7.3.2, pluggy-1.0.0 -- /usr/bin/python3 >cachedir: .pytest_cache >rootdir: /builddir/build/BUILD/Box-7.0.1 >plugins: cov-4.0.0 >collecting ... collected 144 items / 4 deselected / 140 selected >test/test_box.py::TestBox::test_safe_attrs PASSED [ 0%] >test/test_box.py::TestBox::test_camel_killer PASSED [ 1%] >test/test_box.py::TestBox::test_recursive_tuples PASSED [ 2%] >test/test_box.py::TestBox::test_box PASSED [ 2%] >test/test_box.py::TestBox::test_box_modify_at_depth PASSED [ 3%] >test/test_box.py::TestBox::test_error_box PASSED [ 4%] >test/test_box.py::TestBox::test_box_from_dict PASSED [ 5%] >test/test_box.py::TestBox::test_box_from_bad_dict PASSED [ 5%] >test/test_box.py::TestBox::test_basic_box PASSED [ 6%] >test/test_box.py::TestBox::test_protected_box_methods PASSED [ 7%] >test/test_box.py::TestBox::test_bad_args PASSED [ 7%] >test/test_box.py::TestBox::test_box_inits PASSED [ 8%] >test/test_box.py::TestBox::test_bad_inits PASSED [ 9%] >test/test_box.py::TestBox::test_create_subdicts PASSED [ 10%] >test/test_box.py::TestBox::test_to_json_basic PASSED [ 10%] >test/test_box.py::TestBox::test_to_yaml_basic PASSED [ 11%] >test/test_box.py::TestBox::test_to_yaml_file PASSED [ 12%] >test/test_box.py::TestBox::test_dir PASSED [ 12%] >test/test_box.py::TestBox::test_update PASSED [ 13%] >test/test_box.py::TestBox::test_merge_update PASSED [ 14%] >test/test_box.py::TestBox::test_auto_attr PASSED [ 15%] >test/test_box.py::TestBox::test_set_default_dict PASSED [ 15%] >test/test_box.py::TestBox::test_set_default PASSED [ 16%] >test/test_box.py::TestBox::test_set_default_box_dots PASSED [ 17%] >test/test_box.py::TestBox::test_from_json_file PASSED [ 17%] >test/test_box.py::TestBox::test_from_yaml_file PASSED [ 18%] >test/test_box.py::TestBox::test_from_json PASSED [ 19%] >test/test_box.py::TestBox::test_from_yaml PASSED [ 20%] >test/test_box.py::TestBox::test_bad_from_json PASSED [ 20%] >test/test_box.py::TestBox::test_bad_from_yaml PASSED [ 21%] >test/test_box.py::TestBox::test_conversion_box PASSED [ 22%] >test/test_box.py::TestBox::test_frozen PASSED [ 22%] >test/test_box.py::TestBox::test_hashing PASSED [ 23%] >test/test_box.py::TestBox::test_config PASSED [ 24%] >test/test_box.py::TestBox::test_default_box PASSED [ 25%] >test/test_box.py::TestBox::test_default_box_none_transforms PASSED [ 25%] >test/test_box.py::TestBox::test_camel_killer_box PASSED [ 26%] >test/test_box.py::TestBox::test_default_and_camel_killer_box PASSED [ 27%] >test/test_box.py::TestBox::test_box_modify_tuples PASSED [ 27%] >test/test_box.py::TestBox::test_box_set_attribs PASSED [ 28%] >test/test_box.py::TestBox::test_functional_data PASSED [ 29%] >test/test_box.py::TestBox::test_functional_spaceballs PASSED [ 30%] >test/test_box.py::TestBox::test_circular_references PASSED [ 30%] >test/test_box.py::TestBox::test_to_multiline PASSED [ 31%] >test/test_box.py::TestBox::test_from_multiline PASSED [ 32%] >test/test_box.py::TestBox::test_duplicate_errors PASSED [ 32%] >test/test_box.py::TestBox::test_copy PASSED [ 33%] >test/test_box.py::TestBox::test_custom_key_errors PASSED [ 34%] >test/test_box.py::TestBox::test_pickle PASSED [ 35%] >test/test_box.py::TestBox::test_pickle_default_box PASSED [ 35%] >test/test_box.py::TestBox::test_conversion_dup_only PASSED [ 36%] >test/test_box.py::TestBox::test_values PASSED [ 37%] >test/test_box.py::TestBox::test_items PASSED [ 37%] >test/test_box.py::TestBox::test_get PASSED [ 38%] >test/test_box.py::TestBox::test_contains PASSED [ 39%] >test/test_box.py::TestBox::test_get_default_box PASSED [ 40%] >test/test_box.py::TestBox::test_inheritance_copy PASSED [ 40%] >test/test_box.py::TestBox::test_inheritance PASSED [ 41%] >test/test_box.py::TestBox::test_underscore_removal PASSED [ 42%] >test/test_box.py::TestBox::test_is_in PASSED [ 42%] >test/test_box.py::TestBox::test_through_queue PASSED [ 43%] >test/test_box.py::TestBox::test_update_with_integer PASSED [ 44%] >test/test_box.py::TestBox::test_get_box_config PASSED [ 45%] >test/test_box.py::TestBox::test_pop PASSED [ 45%] >test/test_box.py::TestBox::test_pop_items PASSED [ 46%] >test/test_box.py::TestBox::test_iter PASSED [ 47%] >test/test_box.py::TestBox::test_revered PASSED [ 47%] >test/test_box.py::TestBox::test_clear PASSED [ 48%] >test/test_box.py::TestBox::test_bad_recursive PASSED [ 49%] >test/test_box.py::TestBox::test_dots PASSED [ 50%] >test/test_box.py::TestBox::test_unicode PASSED [ 50%] >test/test_box.py::TestBox::test_camel_killer_hashables PASSED [ 51%] >test/test_box.py::TestBox::test_intact_types_dict PASSED [ 52%] >test/test_box.py::TestBox::test_delete_attributes PASSED [ 52%] >test/test_box.py::TestBox::test_add_boxes PASSED [ 53%] >test/test_box.py::TestBox::test_iadd_boxes PASSED [ 54%] >test/test_box.py::TestBox::test_radd_boxes PASSED [ 55%] >test/test_box.py::TestBox::test_or_boxes PASSED [ 55%] >test/test_box.py::TestBox::test_ior_boxes PASSED [ 56%] >test/test_box.py::TestBox::test_ror_boxes PASSED [ 57%] >test/test_box.py::TestBox::test_type_recast PASSED [ 57%] >test/test_box.py::TestBox::test_nontype_recast PASSED [ 58%] >test/test_box.py::TestBox::test_box_dots PASSED [ 59%] >test/test_box.py::TestBox::test_toml PASSED [ 60%] >test/test_box.py::TestBox::test_parameter_pass_through PASSED [ 60%] >test/test_box.py::TestBox::test_sub PASSED [ 61%] >test/test_box.py::TestBox::test_sub_with_non_dict PASSED [ 62%] >test/test_box.py::TestBox::test_sub_with_frozen_box PASSED [ 62%] >test/test_box.py::TestBox::test_no_key_error_pop PASSED [ 63%] >test/test_box.py::TestBox::test_key_error_popitem PASSED [ 64%] >test/test_box.py::TestBox::test_value_view PASSED [ 65%] >test/test_box.py::TestBox::test_key_view PASSED [ 65%] >test/test_box.py::TestBox::test_item_view PASSED [ 66%] >test/test_box.py::TestBox::test_box_propagation PASSED [ 67%] >test/test_box.py::TestBox::test_box_safe_references PASSED [ 67%] >test/test_box.py::TestBox::test_default_box_restricted_calls PASSED [ 68%] >test/test_box.py::TestBox::test_default_dots PASSED [ 69%] >test/test_box.py::TestBox::test_merge_list_options PASSED [ 70%] >test/test_box.py::TestBox::test_box_from_empty_yaml PASSED [ 70%] >test/test_box.py::TestBox::test_setdefault_simple PASSED [ 71%] >test/test_box.py::TestBox::test_setdefault_dots PASSED [ 72%] >test/test_box.py::TestBox::test_setdefault_dots_default PASSED [ 72%] >test/test_box.py::TestBox::test_box_slice FAILED [ 73%] >test/test_box.py::TestBox::test_box_kwargs_should_not_be_included PASSED [ 74%] >test/test_box.py::TestBox::test_box_greek PASSED [ 75%] >test/test_box.py::TestBox::test_box_default_not_create_on_get PASSED [ 75%] >test/test_box.py::TestBox::test_box_property_support PASSED [ 76%] >test/test_box.py::TestBox::test_box_namespace PASSED [ 77%] >test/test_box.py::TestBox::test_union_frozen_box PASSED [ 77%] >test/test_box.py::TestBox::test_default_box_callable PASSED [ 78%] >test/test_box_list.py::TestBoxList::test_box_list PASSED [ 79%] >test/test_box_list.py::TestBoxList::test_frozen_list PASSED [ 80%] >test/test_box_list.py::TestBoxList::test_box_list_to_json PASSED [ 80%] >test/test_box_list.py::TestBoxList::test_box_list_from_json PASSED [ 81%] >test/test_box_list.py::TestBoxList::test_box_list_to_yaml PASSED [ 82%] >test/test_box_list.py::TestBoxList::test_box_list_from_yaml PASSED [ 82%] >test/test_box_list.py::TestBoxList::test_box_list_to_toml PASSED [ 83%] >test/test_box_list.py::TestBoxList::test_box_list_from_tml PASSED [ 84%] >test/test_box_list.py::TestBoxList::test_intact_types_list PASSED [ 85%] >test/test_box_list.py::TestBoxList::test_to_csv PASSED [ 85%] >test/test_box_list.py::TestBoxList::test_from_csv PASSED [ 86%] >test/test_box_list.py::TestBoxList::test_bad_csv PASSED [ 87%] >test/test_box_list.py::TestBoxList::test_box_list_dots PASSED [ 87%] >test/test_box_list.py::TestBoxList::test_box_config_propagate PASSED [ 88%] >test/test_config_box.py::TestConfigBox::test_config_box PASSED [ 89%] >test/test_config_box.py::TestConfigBox::test_dir PASSED [ 90%] >test/test_config_box.py::TestConfigBox::test_config_default PASSED [ 90%] >test/test_converters.py::TestConverters::test_to_toml PASSED [ 91%] >test/test_converters.py::TestConverters::test_to_toml_file PASSED [ 92%] >test/test_converters.py::TestConverters::test_from_toml PASSED [ 92%] >test/test_converters.py::TestConverters::test_from_toml_file PASSED [ 93%] >test/test_converters.py::TestConverters::test_bad_from_toml PASSED [ 94%] >test/test_converters.py::TestConverters::test_to_json PASSED [ 95%] >test/test_converters.py::TestConverters::test_to_yaml PASSED [ 95%] >test/test_converters.py::TestConverters::test_to_msgpack PASSED [ 96%] >test/test_converters.py::TestConverters::test_to_yaml_ruamel PASSED [ 97%] >test/test_from_file.py::TestFromFile::test_from_all PASSED [ 97%] >test/test_from_file.py::TestFromFile::test_bad_file PASSED [ 98%] >test/test_from_file.py::TestFromFile::test_from_string_all PASSED [ 99%] >test/test_sbox.py::TestSBox::test_property_box PASSED [100%] >=================================== FAILURES =================================== >____________________________ TestBox.test_box_slice ____________________________ >self = Box({'qwe': 123, 'asd': 234, 'q': 1}), item = slice(None, -1, None) >_ignore_default = False > def __getitem__(self, item, _ignore_default=False): > try: >> return super().__getitem__(item) >E KeyError: slice(None, -1, None) >box/box.py:587: KeyError >The above exception was the direct cause of the following exception: >self = <test.test_box.TestBox object at 0xffffb262d160> > def test_box_slice(self): > data = Box(qwe=123, asd=234, q=1) >> assert data[:-1] == Box(qwe=123, asd=234) >test/test_box.py:1319: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >self = Box({'qwe': 123, 'asd': 234, 'q': 1}), item = slice(None, -1, None) >_ignore_default = False > def __getitem__(self, item, _ignore_default=False): > try: > return super().__getitem__(item) > except KeyError as err: > if item == "_box_config": > cause = _exception_cause(err) > raise BoxKeyError("_box_config should only exist as an attribute and is never defaulted") from cause > if self._box_config["box_dots"] and isinstance(item, str) and ("." in item or "[" in item): > try: > first_item, children = _parse_box_dots(self, item) > except BoxError: > if self._box_config["default_box"] and not _ignore_default: > return self.__get_default(item) > raise BoxKeyError(str(item)) from _exception_cause(err) > if first_item in self.keys(): > if hasattr(self[first_item], "__getitem__"): > return self[first_item][children] > if self._box_config["camel_killer_box"] and isinstance(item, str): > converted = _camel_killer(item) > if converted in self.keys(): > return super().__getitem__(converted) > if self._box_config["default_box"] and not _ignore_default: > return self.__get_default(item) >> raise BoxKeyError(str(err)) from _exception_cause(err) >E box.exceptions.BoxKeyError: 'slice(None, -1, None)' >box/box.py:608: BoxKeyError >=========================== short test summary info ============================ >FAILED test/test_box.py::TestBox::test_box_slice - box.exceptions.BoxKeyError... >================= 1 failed, 139 passed, 4 deselected in 0.78s ================== >error: Bad exit status from /var/tmp/rpm-tmp.1QDw8C (%check) > Bad exit status from /var/tmp/rpm-tmp.1QDw8C (%check) >RPM build errors: >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7735414331514a1180b19314404223e5 -D /var/lib/mock/f39-build-44333438-5276221/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zhh9qalc:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-box.spec\n', 1)] >Traceback (most recent call last): > File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M 7735414331514a1180b19314404223e5 -D /var/lib/mock/f39-build-44333438-5276221/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.zhh9qalc:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-box.spec >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2226165
: 1978891 |
1978892
|
1978893