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 1979254 Details for
Bug 2226290
python-pydocstyle: 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:40:20 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 19:40:20 UTC
Size:
32.00 KB
patch
obsolete
> >+ 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 pydocstyle-6.3.0 >++ ls /builddir/build/BUILD/pydocstyle-6.3.0/pyproject-wheeldir/pydocstyle-6.3.0-py3-none-any.whl >++ xargs basename --multiple >++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' >+ specifier=pydocstyle==6.3.0 >+ TMPDIR=/builddir/build/BUILD/pydocstyle-6.3.0/.pyproject-builddir >+ /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/pydocstyle-6.3.0/pyproject-wheeldir pydocstyle==6.3.0 >Using pip 23.1.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) >Looking in links: /builddir/build/BUILD/pydocstyle-6.3.0/pyproject-wheeldir >Processing ./pyproject-wheeldir/pydocstyle-6.3.0-py3-none-any.whl >Installing collected packages: pydocstyle > Creating /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/bin > changing mode of /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/bin/pydocstyle to 755 >Successfully installed pydocstyle-6.3.0 >+ '[' -d /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/bin ']' >+ '[' -z sP ']' >+ shebang_flags=-kasP >+ /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/bin/pydocstyle >/builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/bin/pydocstyle: updating >+ rm -rfv /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/bin/__pycache__ >+ rm -f /builddir/build/BUILD/python-pydocstyle-6.3.0-3.fc39.noarch-pyproject-ghost-distinfo >+ site_dirs=() >+ '[' -d /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages ']' >+ site_dirs+=("/usr/lib/python3.12/site-packages") >+ '[' /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages ']' >+ '[' -d /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib64/python3.12/site-packages ']' >+ for site_dir in ${site_dirs[@]} >+ for distinfo in /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch$site_dir/*.dist-info >+ echo '%ghost /usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info' >+ sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info/INSTALLER >+ PYTHONPATH=/usr/lib/rpm/redhat >+ /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch --record /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info/RECORD --output /builddir/build/BUILD/python-pydocstyle-6.3.0-3.fc39.noarch-pyproject-record >+ rm -fv /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info/RECORD >removed '/builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info/RECORD' >+ rm -fv /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info/REQUESTED >removed '/builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages/pydocstyle-6.3.0.dist-info/REQUESTED' >++ wc -l /builddir/build/BUILD/python-pydocstyle-6.3.0-3.fc39.noarch-pyproject-ghost-distinfo >++ cut -f1 '-d ' >+ lines=1 >+ '[' 1 -ne 1 ']' >+ RPM_PERCENTAGES_COUNT=2 >+ /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-pydocstyle-6.3.0-3.fc39.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-pydocstyle-6.3.0-3.fc39.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-pydocstyle-6.3.0-3.fc39.noarch-pyproject-record --prefix /usr pydocstyle >+ /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 6.3.0-3.fc39 --unique-debug-suffix -6.3.0-3.fc39.noarch --unique-debug-src-base python-pydocstyle-6.3.0-3.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pydocstyle-6.3.0 >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 -j48 >Bytecompiling .py files below /builddir/build/BUILDROOT/python-pydocstyle-6.3.0-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.yhroSy >+ umask 022 >+ cd /builddir/build/BUILD >+ CFLAGS='-O2 -g -march=x86-64-v3 ' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -march=x86-64-v3 ' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -march=x86-64-v3 -I/usr/lib/gfortran/modules ' >+ export FFLAGS >+ FCFLAGS='-O2 -g -march=x86-64-v3 -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 pydocstyle-6.3.0 >+ sed -i '/pytestmark = pytest.mark.usefixtures("install_package")/d' src/tests/test_integration.py >+ sed -E -i 's|"python(2\|3)?( -m pydocstyle)|"/usr/bin/python3\2|' src/tests/test_integration.py >+ CFLAGS='-O2 -g -march=x86-64-v3 ' >+ 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-pydocstyle-6.3.0-3.fc39.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin >+ PYTHONPATH=/builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-pydocstyle-6.3.0-3.fc39.noarch/usr/lib/python3.12/site-packages >+ PYTHONDONTWRITEBYTECODE=1 >+ PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/pydocstyle-6.3.0/.pyproject-builddir' >+ PYTEST_XDIST_AUTO_NUM_WORKERS=48 >+ /usr/bin/pytest -v src/tests >============================= 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/pydocstyle-6.3.0 >configfile: pyproject.toml >collecting ... collected 214 items >src/tests/parser_test.py::test_function PASSED [ 0%] >src/tests/parser_test.py::test_simple_fstring FAILED [ 0%] >src/tests/parser_test.py::test_fstring_with_args FAILED [ 1%] >src/tests/parser_test.py::test_decorated_function PASSED [ 1%] >src/tests/parser_test.py::test_nested_function PASSED [ 2%] >src/tests/parser_test.py::test_conditional_nested_function PASSED [ 2%] >src/tests/parser_test.py::test_doubly_nested_function PASSED [ 3%] >src/tests/parser_test.py::test_class PASSED [ 3%] >src/tests/parser_test.py::test_public_method PASSED [ 4%] >src/tests/parser_test.py::test_private_method PASSED [ 4%] >src/tests/parser_test.py::test_magic_method PASSED [ 5%] >src/tests/parser_test.py::test_nested_class PASSED [ 5%] >src/tests/parser_test.py::test_raise_from PASSED [ 6%] >src/tests/parser_test.py::test_simple_matrix_multiplication PASSED [ 6%] >src/tests/parser_test.py::test_matrix_multiplication_with_decorators[code0] PASSED [ 7%] >src/tests/parser_test.py::test_matrix_multiplication_with_decorators[code1] PASSED [ 7%] >src/tests/parser_test.py::test_matrix_multiplication_with_decorators[code2] PASSED [ 7%] >src/tests/parser_test.py::test_module_publicity_with_public_path[public_path0] PASSED [ 8%] >src/tests/parser_test.py::test_module_publicity_with_public_path[public_path1] PASSED [ 8%] >src/tests/parser_test.py::test_module_publicity_with_public_path[public_path2] PASSED [ 9%] >src/tests/parser_test.py::test_module_publicity_with_public_path[public_path3] PASSED [ 9%] >src/tests/parser_test.py::test_module_publicity_with_public_path[public_path4] PASSED [ 10%] >src/tests/parser_test.py::test_module_publicity_with_public_path[public_path5] PASSED [ 10%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path0] PASSED [ 11%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path1] PASSED [ 11%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path2] PASSED [ 12%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path3] PASSED [ 12%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path4] PASSED [ 13%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path5] PASSED [ 13%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path6] PASSED [ 14%] >src/tests/parser_test.py::test_module_publicity_with_private_paths[private_path7] PASSED [ 14%] >src/tests/parser_test.py::test_module_publicity_with_different_sys_path[/-False] PASSED [ 14%] >src/tests/parser_test.py::test_module_publicity_with_different_sys_path[_foo/-True] PASSED [ 15%] >src/tests/parser_test.py::test_complex_module PASSED [ 15%] >src/tests/parser_test.py::test_dunder_all[code0] PASSED [ 16%] >src/tests/parser_test.py::test_dunder_all[code1] PASSED [ 16%] >src/tests/parser_test.py::test_dunder_all[code2] PASSED [ 17%] >src/tests/parser_test.py::test_dunder_all[code3] PASSED [ 17%] >src/tests/parser_test.py::test_dunder_all[code4] PASSED [ 18%] >src/tests/parser_test.py::test_dunder_all[code5] PASSED [ 18%] >src/tests/parser_test.py::test_dunder_all[code6] PASSED [ 19%] >src/tests/parser_test.py::test_dunder_all[code7] PASSED [ 19%] >src/tests/parser_test.py::test_dunder_all[code8] PASSED [ 20%] >src/tests/parser_test.py::test_dunder_all[code9] PASSED [ 20%] >src/tests/parser_test.py::test_dunder_all[code10] PASSED [ 21%] >src/tests/parser_test.py::test_single_value_dunder_all PASSED [ 21%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code0] PASSED [ 21%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code1] PASSED [ 22%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code2] PASSED [ 22%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code3] PASSED [ 23%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code4] PASSED [ 23%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code5] PASSED [ 24%] >src/tests/parser_test.py::test_indeterminable_dunder_all[code6] PASSED [ 24%] >src/tests/parser_test.py::test_future_import[code0] PASSED [ 25%] >src/tests/parser_test.py::test_future_import[code1] PASSED [ 25%] >src/tests/parser_test.py::test_future_import[code2] PASSED [ 26%] >src/tests/parser_test.py::test_future_import[code3] PASSED [ 26%] >src/tests/parser_test.py::test_future_import[code4] PASSED [ 27%] >src/tests/parser_test.py::test_future_import[code5] PASSED [ 27%] >src/tests/parser_test.py::test_future_import[code6] PASSED [ 28%] >src/tests/parser_test.py::test_noqa_function PASSED [ 28%] >src/tests/parser_test.py::test_invalid_syntax[code0] PASSED [ 28%] >src/tests/parser_test.py::test_invalid_syntax[code1] PASSED [ 29%] >src/tests/parser_test.py::test_invalid_syntax[code2] PASSED [ 29%] >src/tests/parser_test.py::test_parsing_function_decorators[code0] PASSED [ 30%] >src/tests/parser_test.py::test_parsing_function_decorators[code1] PASSED [ 30%] >src/tests/parser_test.py::test_parsing_function_decorators[code2] PASSED [ 31%] >src/tests/parser_test.py::test_parsing_function_decorators[code3] PASSED [ 31%] >src/tests/parser_test.py::test_parsing_function_decorators[code4] PASSED [ 32%] >src/tests/parser_test.py::test_parsing_function_decorators[code5] PASSED [ 32%] >src/tests/parser_test.py::test_parsing_function_decorators[code6] PASSED [ 33%] >src/tests/parser_test.py::test_parsing_method_decorators[code0] PASSED [ 33%] >src/tests/parser_test.py::test_parsing_method_decorators[code1] PASSED [ 34%] >src/tests/parser_test.py::test_parsing_method_decorators[code2] PASSED [ 34%] >src/tests/parser_test.py::test_parsing_method_decorators[code3] PASSED [ 35%] >src/tests/parser_test.py::test_parsing_method_decorators[code4] PASSED [ 35%] >src/tests/test_decorators.py::TestParser::test_parse_class_single_decorator PASSED [ 35%] >src/tests/test_decorators.py::TestParser::test_parse_class_decorators PASSED [ 36%] >src/tests/test_decorators.py::TestParser::test_parse_class_nested_decorator PASSED [ 36%] >src/tests/test_decorators.py::TestParser::test_parse_method_single_decorator PASSED [ 37%] >src/tests/test_decorators.py::TestParser::test_parse_method_decorators PASSED [ 37%] >src/tests/test_decorators.py::TestParser::test_parse_function_decorator PASSED [ 38%] >src/tests/test_decorators.py::TestParser::test_parse_async_function_decorator PASSED [ 38%] >src/tests/test_decorators.py::TestParser::test_parse_method_nested_decorator PASSED [ 39%] >src/tests/test_decorators.py::TestMethod::test_is_public_normal PASSED [ 39%] >src/tests/test_decorators.py::TestMethod::test_is_public_setter PASSED [ 40%] >src/tests/test_decorators.py::TestMethod::test_is_public_deleter PASSED [ 40%] >src/tests/test_decorators.py::TestMethod::test_is_public_trick PASSED [ 41%] >src/tests/test_definitions.py::test_complex_file[test] PASSED [ 41%] >src/tests/test_definitions.py::test_complex_file[unicode_literals] PASSED [ 42%] >src/tests/test_definitions.py::test_complex_file[nested_class] PASSED [ 42%] >src/tests/test_definitions.py::test_complex_file[capitalization] PASSED [ 42%] >src/tests/test_definitions.py::test_complex_file[comment_after_def_bug] PASSED [ 43%] >src/tests/test_definitions.py::test_complex_file[multi_line_summary_start] PASSED [ 43%] >src/tests/test_definitions.py::test_complex_file[all_import] PASSED [ 44%] >src/tests/test_definitions.py::test_complex_file[all_import_as] PASSED [ 44%] >src/tests/test_definitions.py::test_complex_file[superfluous_quotes] PASSED [ 45%] >src/tests/test_definitions.py::test_complex_file[noqa] PASSED [ 45%] >src/tests/test_definitions.py::test_complex_file[sections] PASSED [ 46%] >src/tests/test_definitions.py::test_complex_file[functions] PASSED [ 46%] >src/tests/test_definitions.py::test_complex_file[canonical_google_examples] PASSED [ 47%] >src/tests/test_definitions.py::test_complex_file[canonical_numpy_examples] PASSED [ 47%] >src/tests/test_definitions.py::test_complex_file[canonical_pep257_examples] PASSED [ 48%] >src/tests/test_integration.py::test_pep257_conformance PASSED [ 48%] >src/tests/test_integration.py::test_ignore_list PASSED [ 49%] >src/tests/test_integration.py::test_skip_errors PASSED [ 49%] >src/tests/test_integration.py::test_run_as_named_module PASSED [ 50%] >src/tests/test_integration.py::test_config_file[ini] PASSED [ 50%] >src/tests/test_integration.py::test_config_file[toml] PASSED [ 50%] >src/tests/test_integration.py::test_sectionless_config_file[ini] PASSED [ 51%] >src/tests/test_integration.py::test_sectionless_config_file[toml] PASSED [ 51%] >src/tests/test_integration.py::test_multiple_lined_config_file[ini] PASSED [ 52%] >src/tests/test_integration.py::test_accepts_select_error_code_list[toml] PASSED [ 52%] >src/tests/test_integration.py::test_config_path[ini] PASSED [ 53%] >src/tests/test_integration.py::test_config_path[toml] PASSED [ 53%] >src/tests/test_integration.py::test_non_existent_config[ini] PASSED [ 54%] >src/tests/test_integration.py::test_non_existent_config[toml] PASSED [ 54%] >src/tests/test_integration.py::test_verbose[ini] PASSED [ 55%] >src/tests/test_integration.py::test_verbose[toml] PASSED [ 55%] >src/tests/test_integration.py::test_count[ini] PASSED [ 56%] >src/tests/test_integration.py::test_count[toml] PASSED [ 56%] >src/tests/test_integration.py::test_select_cli[ini] PASSED [ 57%] >src/tests/test_integration.py::test_select_cli[toml] PASSED [ 57%] >src/tests/test_integration.py::test_select_config[ini] PASSED [ 57%] >src/tests/test_integration.py::test_select_config[toml] PASSED [ 58%] >src/tests/test_integration.py::test_add_select_cli[ini] PASSED [ 58%] >src/tests/test_integration.py::test_add_select_cli[toml] PASSED [ 59%] >src/tests/test_integration.py::test_add_ignore_cli[ini] PASSED [ 59%] >src/tests/test_integration.py::test_add_ignore_cli[toml] PASSED [ 60%] >src/tests/test_integration.py::test_wildcard_add_ignore_cli[ini] PASSED [ 60%] >src/tests/test_integration.py::test_wildcard_add_ignore_cli[toml] PASSED [ 61%] >src/tests/test_integration.py::test_ignores_whitespace_in_fixed_option_set[ini] PASSED [ 61%] >src/tests/test_integration.py::test_accepts_ignore_error_code_list[toml] PASSED [ 62%] >src/tests/test_integration.py::test_bad_wildcard_add_ignore_cli[ini] PASSED [ 62%] >src/tests/test_integration.py::test_bad_wildcard_add_ignore_cli[toml] PASSED [ 63%] >src/tests/test_integration.py::test_overload_function[ini] PASSED [ 63%] >src/tests/test_integration.py::test_overload_function[toml] PASSED [ 64%] >src/tests/test_integration.py::test_overload_async_function[ini] PASSED [ 64%] >src/tests/test_integration.py::test_overload_async_function[toml] PASSED [ 64%] >src/tests/test_integration.py::test_overload_method[ini] PASSED [ 65%] >src/tests/test_integration.py::test_overload_method[toml] PASSED [ 65%] >src/tests/test_integration.py::test_overload_method_valid[ini] PASSED [ 66%] >src/tests/test_integration.py::test_overload_method_valid[toml] PASSED [ 66%] >src/tests/test_integration.py::test_overload_function_valid[ini] PASSED [ 67%] >src/tests/test_integration.py::test_overload_function_valid[toml] PASSED [ 67%] >src/tests/test_integration.py::test_overload_async_function_valid[ini] PASSED [ 68%] >src/tests/test_integration.py::test_overload_async_function_valid[toml] PASSED [ 68%] >src/tests/test_integration.py::test_overload_nested_function[ini] PASSED [ 69%] >src/tests/test_integration.py::test_overload_nested_function[toml] PASSED [ 69%] >src/tests/test_integration.py::test_overload_nested_function_valid[ini] PASSED [ 70%] >src/tests/test_integration.py::test_overload_nested_function_valid[toml] PASSED [ 70%] >src/tests/test_integration.py::test_conflicting_select_ignore_config[ini] PASSED [ 71%] >src/tests/test_integration.py::test_conflicting_select_ignore_config[toml] PASSED [ 71%] >src/tests/test_integration.py::test_conflicting_select_convention_config[ini] PASSED [ 71%] >src/tests/test_integration.py::test_conflicting_select_convention_config[toml] PASSED [ 72%] >src/tests/test_integration.py::test_conflicting_ignore_convention_config[ini] PASSED [ 72%] >src/tests/test_integration.py::test_conflicting_ignore_convention_config[toml] PASSED [ 73%] >src/tests/test_integration.py::test_missing_docstring_in_package[ini] PASSED [ 73%] >src/tests/test_integration.py::test_missing_docstring_in_package[toml] PASSED [ 74%] >src/tests/test_integration.py::test_illegal_convention[ini] PASSED [ 74%] >src/tests/test_integration.py::test_illegal_convention[toml] PASSED [ 75%] >src/tests/test_integration.py::test_empty_select_cli[ini] PASSED [ 75%] >src/tests/test_integration.py::test_empty_select_cli[toml] PASSED [ 76%] >src/tests/test_integration.py::test_empty_select_config[ini] PASSED [ 76%] >src/tests/test_integration.py::test_empty_select_config[toml] PASSED [ 77%] >src/tests/test_integration.py::test_empty_select_with_added_error[ini] PASSED [ 77%] >src/tests/test_integration.py::test_empty_select_with_added_error[toml] PASSED [ 78%] >src/tests/test_integration.py::test_pep257_convention[ini] PASSED [ 78%] >src/tests/test_integration.py::test_pep257_convention[toml] PASSED [ 78%] >src/tests/test_integration.py::test_numpy_convention[ini] PASSED [ 79%] >src/tests/test_integration.py::test_numpy_convention[toml] PASSED [ 79%] >src/tests/test_integration.py::test_google_convention[ini] PASSED [ 80%] >src/tests/test_integration.py::test_google_convention[toml] PASSED [ 80%] >src/tests/test_integration.py::test_config_file_inheritance[ini] PASSED [ 81%] >src/tests/test_integration.py::test_config_file_inheritance[toml] PASSED [ 81%] >src/tests/test_integration.py::test_config_file_cumulative_add_ignores[ini] PASSED [ 82%] >src/tests/test_integration.py::test_config_file_cumulative_add_ignores[toml] PASSED [ 82%] >src/tests/test_integration.py::test_config_file_cumulative_add_select[ini] PASSED [ 83%] >src/tests/test_integration.py::test_config_file_cumulative_add_select[toml] PASSED [ 83%] >src/tests/test_integration.py::test_config_file_convention_overrides_select[ini] PASSED [ 84%] >src/tests/test_integration.py::test_config_file_convention_overrides_select[toml] PASSED [ 84%] >src/tests/test_integration.py::test_cli_overrides_config_file[ini] PASSED [ 85%] >src/tests/test_integration.py::test_cli_overrides_config_file[toml] PASSED [ 85%] >src/tests/test_integration.py::test_cli_match_overrides_config_file[ini] PASSED [ 85%] >src/tests/test_integration.py::test_cli_match_overrides_config_file[toml] PASSED [ 86%] >src/tests/test_integration.py::test_config_file_convention_overrides_ignore[ini] PASSED [ 86%] >src/tests/test_integration.py::test_config_file_convention_overrides_ignore[toml] PASSED [ 87%] >src/tests/test_integration.py::test_config_file_ignore_overrides_select[ini] PASSED [ 87%] >src/tests/test_integration.py::test_config_file_ignore_overrides_select[toml] PASSED [ 88%] >src/tests/test_integration.py::test_config_file_nearest_to_checked_file[ini] PASSED [ 88%] >src/tests/test_integration.py::test_config_file_nearest_to_checked_file[toml] PASSED [ 89%] >src/tests/test_integration.py::test_config_file_nearest_match_re[ini] PASSED [ 89%] >src/tests/test_integration.py::test_config_file_nearest_match_re[toml] PASSED [ 90%] >src/tests/test_integration.py::test_syntax_error_multiple_files[ini] PASSED [ 90%] >src/tests/test_integration.py::test_syntax_error_multiple_files[toml] PASSED [ 91%] >src/tests/test_integration.py::test_indented_function[ini] PASSED [ 91%] >src/tests/test_integration.py::test_indented_function[toml] PASSED [ 92%] >src/tests/test_integration.py::test_only_comment_file[ini] PASSED [ 92%] >src/tests/test_integration.py::test_only_comment_file[toml] PASSED [ 92%] >src/tests/test_integration.py::test_comment_plus_docstring_file[ini] PASSED [ 93%] >src/tests/test_integration.py::test_comment_plus_docstring_file[toml] PASSED [ 93%] >src/tests/test_integration.py::test_only_comment_with_noqa_file[ini] PASSED [ 94%] >src/tests/test_integration.py::test_only_comment_with_noqa_file[toml] PASSED [ 94%] >src/tests/test_integration.py::test_comment_with_noqa_plus_docstring_file[ini] PASSED [ 95%] >src/tests/test_integration.py::test_comment_with_noqa_plus_docstring_file[toml] PASSED [ 95%] >src/tests/test_integration.py::test_ignore_self_only_init[ini] PASSED [ 96%] >src/tests/test_integration.py::test_ignore_self_only_init[toml] PASSED [ 96%] >src/tests/test_integration.py::test_match_considers_basenames_for_path_args[ini] PASSED [ 97%] >src/tests/test_integration.py::test_match_considers_basenames_for_path_args[toml] PASSED [ 97%] >src/tests/test_utils.py::test_common_prefix PASSED [ 98%] >src/tests/test_utils.py::test_no_common_prefix PASSED [ 98%] >src/tests/test_utils.py::test_differ_length PASSED [ 99%] >src/tests/test_utils.py::test_empty_string PASSED [ 99%] >src/tests/test_utils.py::test_strip_non_alphanumeric PASSED [100%] >=================================== FAILURES =================================== >_____________________________ test_simple_fstring ______________________________ > def test_simple_fstring(): > """Test parsing of a function with a simple fstring as a docstring.""" > parser = Parser() > code = CodeSnippet("""\ > def do_something(pos_param0, pos_param1, kw_param0="default"): > f\"""Do something.\""" > return None > """) > module = parser.parse(code, 'file_path') > assert module.is_public > assert module.dunder_all is None > > function, = module.children > assert function.name == 'do_something' > assert function.decorators == [] > assert function.children == [] >> assert function.docstring == 'f"""Do something."""' >E assert None == 'f"""Do something."""' >E + where None = Function(name='do_something', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=3, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=4, decorators=[], docstring=None, children=[Function(name='do_something', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=3, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do something."""\n', ' return None\n'], start=1, end=4, decorators=[], docstring=None, children=[...], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='')], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='').docstring >src/tests/parser_test.py:69: AssertionError >____________________________ test_fstring_with_args ____________________________ > def test_fstring_with_args(): > """Test parsing of a function with an fstring with args as a docstring.""" > parser = Parser() > code = CodeSnippet("""\ > foo = "bar" > bar = "baz" > def do_something(pos_param0, pos_param1, kw_param0="default"): > f\"""Do some {foo} and some {bar}.\""" > return None > """) > module = parser.parse(code, 'file_path') > assert module.is_public > assert module.dunder_all is None > > function, = module.children > assert function.name == 'do_something' > assert function.decorators == [] > assert function.children == [] >> assert function.docstring == 'f"""Do some {foo} and some {bar}."""' >E assert None == 'f"""Do some {foo} and some {bar}."""' >E + where None = Function(name='do_something', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=3, end=5, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=1, end=6, decorators=[], docstring=None, children=[Function(name='do_something', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=3, end=5, decorators=[], docstring=None, children=[], callable_args=['pos_param0', 'pos_param1', 'kw_param0'], parent=Module(name='file_path', _source=['foo = "bar"\n', 'bar = "baz"\n', 'def do_something(pos_param0, pos_param1, kw_param0="default"):\n', ' f"""Do some {foo} and some {bar}."""\n', ' return None\n'], start=1, end=6, decorators=[], docstring=None, children=[...], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='')], parent=None, _dunder_all=None, dunder_all_error=None, future_imports=set(), skipped_error_codes=''), skipped_error_codes='').docstring >src/tests/parser_test.py:100: AssertionError >======================== 2 failed, 212 passed in 19.40s ======================== >error: Bad exit status from /var/tmp/rpm-tmp.yhroSy (%check) > Bad exit status from /var/tmp/rpm-tmp.yhroSy (%check) >RPM build errors: >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 3ada181294dd45418c4f405a63ebbd06 -D /var/lib/mock/f39-build-44340094-5276601/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.arz9ktvt:/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pydocstyle.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 3ada181294dd45418c4f405a63ebbd06 -D /var/lib/mock/f39-build-44340094-5276601/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.arz9ktvt:/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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-pydocstyle.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 2226290
: 1979254 |
1979255
|
1979256