[ 0s] Memory limit set to 21697418KB [ 0s] Using BUILD_ROOT=/var/tmp/build-root/openSUSE_Tumbleweed-x86_64 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386 [ 0s] [ 1s] [ 1s] stitny started "build python-pip-licenses.spec" at Sat Feb 26 00:50:02 UTC 2022. [ 1s] [ 1s] [ 1s] processing recipe /home/matej/build/devel:languages:python/python-pip-licenses/python-pip-licenses.spec ... [ 1s] running changelog2spec --target rpm --file /home/matej/build/devel:languages:python/python-pip-licenses/python-pip-licenses.spec [ 1s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /var/cache/build --rpmlist /tmp/rpmlist.2hp1c667 /home/matej/build/devel:languages:python/python-pip-licenses/python-pip-licenses.spec ... [ 1s] reordering...cycle: bash -> bash-sh [ 1s] breaking dependency bash -> bash-sh [ 1s] cycle: libncurses6 -> terminfo-base [ 1s] breaking dependency terminfo-base -> libncurses6 [ 1s] cycle: binutils -> libctf0 [ 1s] breaking dependency binutils -> libctf0 [ 1s] cycle: python310-base -> libpython3_10-1_0 [ 1s] breaking dependency python310-base -> libpython3_10-1_0 [ 1s] cycle: python38-base -> libpython3_8-1_0 [ 1s] breaking dependency python38-base -> libpython3_8-1_0 [ 1s] cycle: python39-base -> libpython3_9-1_0 [ 1s] breaking dependency python39-base -> libpython3_9-1_0 [ 1s] cycle: rpm-config-SUSE -> rpm [ 1s] breaking dependency rpm -> rpm-config-SUSE [ 1s] cycle: pam_unix -> pam [ 1s] breaking dependency pam -> pam_unix [ 1s] done [ 1s] querying package ids... [ 2s] [1/237] keeping compat-usrmerge-tools-84.87-5.6 [ 2s] [2/237] keeping crypto-policies-20210917.c9d86d1-1.5 [ 2s] [3/237] keeping file-magic-5.41-1.5 [ 2s] [4/237] keeping kernel-obs-build-5.16.10-1.1 [ 2s] [5/237] keeping libsemanage-conf-3.3-2.3 [ 2s] [6/237] keeping libssh-config-0.9.6-3.2 [ 2s] [7/237] keeping pkgconf-m4-1.8.0-1.6 [ 2s] [8/237] keeping python-rpm-macros-20220106.80d3756-1.4 [ 2s] [9/237] keeping system-user-root-20190513-2.3 [ 2s] [10/237] keeping vim-data-common-8.2.4456-1.1 [ 2s] [11/237] keeping filesystem-84.87-3.2 [ 2s] [12/237] keeping glibc-2.35-1.3 [ 2s] [13/237] keeping diffutils-3.8-2.5 [ 2s] [14/237] keeping fdupes-2.1.2-1.20 [ 2s] [15/237] keeping fillup-1.42-276.9 [ 2s] [16/237] keeping libacl1-2.3.1-1.18 [ 2s] [17/237] keeping libalternatives1-1.2+3.b848aad-2.3 [ 2s] [18/237] keeping libatomic1-11.2.1+git1173-2.3 [ 2s] [19/237] keeping libattr1-2.5.1-1.17 [ 2s] [20/237] keeping libaudit1-3.0.6-2.4 [ 2s] [21/237] keeping libblkid1-2.37.3-1.2 [ 2s] [22/237] keeping libbrotlicommon1-1.0.9-1.7 [ 2s] [23/237] keeping libbz2-1-1.0.8-3.6 [ 2s] [24/237] keeping libcap-ng0-0.7.11-1.5 [ 2s] [25/237] keeping libcap2-2.63-1.3 [ 2s] [26/237] keeping libcom_err2-1.46.5-1.3 [ 2s] [27/237] keeping libcrypt1-4.4.27-1.4 [ 2s] [28/237] keeping libeconf0-0.4.4+git20220104.962774f-1.4 [ 2s] [29/237] keeping libexpat1-2.4.6-1.1 [ 2s] [30/237] keeping libffi8-3.4.2-1.5 [ 2s] [31/237] keeping libgcc_s1-11.2.1+git1173-2.3 [ 2s] [32/237] keeping libgdbm6-1.23-1.4 [ 2s] [33/237] keeping libgmp10-6.2.1-4.5 [ 2s] [34/237] keeping libgomp1-11.2.1+git1173-2.3 [ 2s] [35/237] keeping libgpg-error0-1.44-1.3 [ 2s] [36/237] keeping libitm1-11.2.1+git1173-2.3 [ 2s] [37/237] keeping libkeyutils1-1.6.3-3.6 [ 2s] [38/237] keeping liblua5_4-5-5.4.4-1.3 [ 2s] [39/237] keeping liblzma5-5.2.5-2.6 [ 2s] [40/237] keeping libmnl0-1.0.4-2.8 [ 2s] [41/237] keeping libmpdec3-2.5.1-2.6 [ 2s] [42/237] keeping libnghttp2-14-1.46.0-1.4 [ 2s] [43/237] keeping libpcre1-8.45-1.5 [ 2s] [44/237] keeping libpcre2-8-0-10.39-1.5 [ 2s] [45/237] keeping libpkgconf3-1.8.0-1.6 [ 2s] [46/237] keeping libpopt0-1.18-2.21 [ 2s] [47/237] keeping libsasl2-3-2.1.27-7.2 [ 2s] [48/237] keeping libsepol2-3.3-1.5 [ 2s] [49/237] keeping libsmartcols1-2.37.3-1.2 [ 2s] [50/237] keeping libtasn1-6-4.18.0-1.3 [ 2s] [51/237] keeping libtextstyle0-0.21-3.5 [ 2s] [52/237] keeping libunistring2-0.9.10-2.13 [ 2s] [53/237] keeping libuuid1-2.37.3-1.2 [ 2s] [54/237] keeping libverto1-0.3.1-1.20 [ 2s] [55/237] keeping libz1-1.2.11-18.21 [ 3s] [56/237] keeping libzstd1-1.5.2-1.3 [ 3s] [57/237] keeping patch-2.7.6-4.5 [ 3s] [58/237] keeping rzsz-0.12.21~rc-4.7 [ 3s] [59/237] keeping update-alternatives-1.21.1-1.1 [ 3s] [60/237] keeping alts-1.2+3.b848aad-2.3 [ 3s] [61/237] keeping attr-2.5.1-1.17 [ 3s] [62/237] keeping libbrotlidec1-1.0.9-1.7 [ 3s] [63/237] keeping libctf-nobfd0-2.37-3.4 [ 3s] [64/237] keeping libelf1-0.186-1.5 [ 3s] [65/237] keeping libgcrypt20-1.9.4-3.3 [ 3s] [66/237] keeping libgdbm_compat4-1.23-1.4 [ 3s] [67/237] keeping libglib-2_0-0-2.70.4-1.2 [ 3s] [68/237] keeping libidn2-0-2.3.2-1.4 [ 3s] [69/237] keeping libisl23-0.24-1.17 [ 3s] [70/237] keeping libmpfr6-4.1.0-2.18 [ 3s] [71/237] keeping libp11-kit0-0.23.22-4.2 [ 3s] [72/237] keeping libselinux1-3.3-1.5 [ 3s] [73/237] keeping libstdc++6-11.2.1+git1173-2.3 [ 3s] [74/237] keeping perl-base-5.34.0-2.1 [ 3s] [75/237] keeping pkgconf-1.8.0-1.6 [ 3s] [76/237] keeping chkstat-1599_20210901-29.4 [ 3s] [77/237] keeping libfdisk1-2.37.3-1.2 [ 3s] [78/237] keeping libopenssl1_1-1.1.1m-3.3 [ 3s] [79/237] keeping libxml2-2-2.9.12-2.4 [ 3s] [80/237] keeping libmagic1-5.41-1.5 [ 3s] [81/237] keeping build-mkbaselibs-20211125-1.4 [ 3s] [82/237] keeping rpm-build-perl-4.17.0-4.1 [ 3s] [83/237] keeping dwz-0.14-3.3 [ 3s] [84/237] keeping file-5.41-1.5 [ 3s] [85/237] keeping findutils-4.9.0-1.3 [ 3s] [86/237] keeping libgmodule-2_0-0-2.70.4-1.2 [ 3s] [87/237] keeping libasan6-11.2.1+git1173-2.3 [ 3s] [88/237] keeping libdb-4_8-4.8.30-38.42 [ 3s] [89/237] keeping libldap-2_4-2-2.4.59-71.3 [ 3s] [90/237] keeping liblsan0-11.2.1+git1173-2.3 [ 3s] [91/237] keeping libmount1-2.37.3-1.2 [ 3s] [92/237] keeping libmpc3-1.2.1-1.19 [ 3s] [93/237] keeping libpsl5-0.21.1-1.9 [ 3s] [94/237] keeping libsource-highlight4-3.1.9-4.3 [ 3s] [95/237] keeping libsubid4-4.11.1-1.3 [ 3s] [96/237] keeping libtsan0-11.2.1+git1173-2.3 [ 3s] [97/237] keeping libubsan1-11.2.1+git1173-2.3 [ 3s] [98/237] keeping p11-kit-0.23.22-4.2 [ 3s] [99/237] keeping p11-kit-tools-0.23.22-4.2 [ 3s] [100/237] keeping tar-1.34-5.3 [ 3s] [101/237] keeping libdw1-0.186-1.5 [ 3s] [102/237] keeping krb5-1.19.2-4.3 [ 3s] [103/237] keeping libsemanage2-3.3-2.3 [ 3s] [104/237] keeping libssh4-0.9.6-3.2 [ 3s] [105/237] keeping babeltrace-1.5.8-3.2 [ 3s] [106/237] keeping cpp11-11.2.1+git1173-2.3 [ 3s] [107/237] keeping perl-5.34.0-2.1 [ 3s] [108/237] keeping brp-check-suse-84.87+git20211116.6c5fe09-1.3 [ 3s] [109/237] keeping libcurl4-7.81.0-1.2 [ 3s] [110/237] keeping libdebuginfod1-0.186-1.5 [ 3s] [111/237] keeping terminfo-base-6.3.20220212-10.1 [ 3s] [112/237] keeping libncurses6-6.3.20220212-10.1 [ 3s] [113/237] keeping libreadline8-8.1-3.3 [ 3s] [114/237] keeping ncurses-utils-6.3.20220212-10.1 [ 3s] [115/237] keeping bash-5.1.16-5.2 [ 3s] [116/237] keeping gawk-5.1.1-3.5 [ 3s] [117/237] keeping bash-sh-5.1.16-5.2 [ 3s] [118/237] keeping login_defs-4.11.1-1.3 [ 3s] [119/237] keeping sysuser-shadow-3.1-4.3 [ 3s] [120/237] keeping cpio-2.13-4.5 [ 3s] [121/237] keeping cpp-11-5.3 [ 3s] [122/237] keeping gzip-1.11-2.3 [ 3s] [123/237] keeping make-4.3-2.39 [ 3s] [124/237] keeping which-2.21-4.49 [ 3s] [125/237] keeping bzip2-1.0.8-3.6 [ 3s] [126/237] keeping grep-3.7-2.2 [ 3s] [127/237] keeping hostname-3.23-2.10 [ 3s] [128/237] keeping pkgconf-pkg-config-1.8.0-1.6 [ 3s] [129/237] keeping strace-5.16-1.2 [ 3s] [130/237] keeping xz-5.2.5-2.6 [ 3s] [131/237] keeping sed-4.8-3.10 [ 3s] [132/237] keeping gettext-runtime-0.21-3.5 [ 3s] [133/237] keeping lua54-5.4.4-1.3 [ 3s] [134/237] keeping coreutils-9.0-2.3 [ 3s] [135/237] keeping binutils-2.37-3.4 [ 3s] [136/237] keeping vim-8.2.4456-1.1 [ 3s] [137/237] keeping python310-base-3.10.2-3.1 [ 3s] [138/237] keeping python38-base-3.8.12-4.1 [ 3s] [139/237] keeping python39-base-3.9.10-2.1 [ 3s] [140/237] keeping compat-usrmerge-build-84.87-5.6 [ 3s] [141/237] keeping python310-apipkg-2.1.0-1.3 [ 3s] [142/237] keeping python310-appdirs-1.4.4-29.22 [ 3s] [143/237] keeping python310-attrs-21.4.0-34.2 [ 3s] [144/237] keeping python310-iniconfig-1.1.1-5.33 [ 3s] [145/237] keeping python310-more-itertools-8.12.0-35.2 [ 3s] [146/237] keeping python310-ordered-set-4.0.2-19.3 [ 3s] [147/237] keeping python310-pluggy-1.0.0-1.3 [ 3s] [148/237] keeping python310-pyparsing-3.0.7-81.5 [ 3s] [149/237] keeping python310-toml-0.10.2-20.52 [ 3s] [150/237] keeping python310-wcwidth-0.2.5-39.29 [ 3s] [151/237] keeping python38-apipkg-2.1.0-1.3 [ 3s] [152/237] keeping python38-appdirs-1.4.4-29.22 [ 3s] [153/237] keeping python38-attrs-21.4.0-34.2 [ 3s] [154/237] keeping python38-iniconfig-1.1.1-5.33 [ 3s] [155/237] keeping python38-more-itertools-8.12.0-35.2 [ 3s] [156/237] keeping python38-ordered-set-4.0.2-19.3 [ 3s] [157/237] keeping python38-pluggy-1.0.0-1.3 [ 3s] [158/237] keeping python38-pyparsing-3.0.7-81.5 [ 3s] [159/237] keeping python38-toml-0.10.2-20.52 [ 3s] [160/237] keeping python38-wcwidth-0.2.5-39.29 [ 3s] [161/237] keeping python39-apipkg-2.1.0-1.3 [ 3s] [162/237] keeping python39-appdirs-1.4.4-29.22 [ 3s] [163/237] keeping python39-attrs-21.4.0-34.2 [ 3s] [164/237] keeping python39-iniconfig-1.1.1-5.33 [ 3s] [165/237] keeping python39-more-itertools-8.12.0-35.2 [ 3s] [166/237] keeping python39-ordered-set-4.0.2-19.3 [ 3s] [167/237] keeping python39-pluggy-1.0.0-1.3 [ 3s] [168/237] keeping python39-pyparsing-3.0.7-81.5 [ 3s] [169/237] keeping python39-toml-0.10.2-20.52 [ 3s] [170/237] keeping python39-wcwidth-0.2.5-39.29 [ 3s] [171/237] keeping systemd-rpm-macros-16-1.1 [ 3s] [172/237] keeping libpython3_10-1_0-3.10.2-3.1 [ 3s] [173/237] keeping libpython3_8-1_0-3.8.12-4.1 [ 3s] [174/237] keeping libpython3_9-1_0-3.9.10-2.1 [ 3s] [175/237] keeping libxcrypt-devel-4.4.27-1.4 [ 3s] [176/237] keeping linux-glibc-devel-5.16-1.3 [ 3s] [177/237] keeping system-group-hardware-20170617-24.5 [ 3s] [178/237] keeping glibc-locale-base-2.35-1.3 [ 3s] [179/237] keeping libctf0-2.37-3.4 [ 3s] [180/237] keeping python310-docutils-0.17.1-87.36 [ 3s] [181/237] keeping python38-docutils-0.17.1-87.36 [ 3s] [182/237] keeping python39-docutils-0.17.1-87.36 [ 3s] [183/237] keeping rpm-build-python-4.17.0-4.1 [ 3s] [184/237] keeping ca-certificates-2+git20211004.3efbea9-1.3 [ 3s] [185/237] keeping iproute2-5.16-1.2 [ 3s] [186/237] keeping permissions-config-1599_20210901-29.4 [ 3s] [187/237] keeping polkit-default-privs-1550+20211214.daf2765-1.1 [ 3s] [188/237] keeping less-590-3.5 [ 3s] [189/237] keeping gettext-tools-0.21-3.5 [ 3s] [190/237] keeping aaa_base-84.87+git20211124.5486aad-1.4 [ 3s] [191/237] keeping rpm-4.17.0-4.1 [ 3s] [192/237] keeping aaa_base-malloccheck-84.87+git20211124.5486aad-1.4 [ 3s] [193/237] keeping permissions-20210901.1599-29.4 [ 3s] [194/237] keeping python310-packaging-21.3-55.6 [ 3s] [195/237] keeping python310-prettytable-2.5.0-11.2 [ 3s] [196/237] keeping python310-zipp-3.7.0-28.3 [ 3s] [197/237] keeping python38-packaging-21.3-55.6 [ 3s] [198/237] keeping python38-prettytable-2.5.0-11.2 [ 3s] [199/237] keeping python38-zipp-3.7.0-28.3 [ 3s] [200/237] keeping python39-packaging-21.3-55.6 [ 3s] [201/237] keeping python39-prettytable-2.5.0-11.2 [ 3s] [202/237] keeping python39-zipp-3.7.0-28.3 [ 3s] [203/237] keeping glibc-devel-2.35-1.3 [ 3s] [204/237] keeping python310-py-1.11.0-1.2 [ 3s] [205/237] keeping python38-py-1.11.0-1.2 [ 3s] [206/237] keeping python39-py-1.11.0-1.2 [ 3s] [207/237] keeping rpm-config-SUSE-0.g96-1.1 [ 3s] [208/237] keeping rpmlint-mini-2.2.0+git20220211.709d2fa-4.8 [ 3s] [209/237] keeping build-compare-20210921T214418.86d06d9-1.5 [ 3s] [210/237] keeping librpmbuild9-4.17.0-4.1 [ 3s] [211/237] keeping gdb-11.1-6.2 [ 3s] [212/237] keeping python310-importlib-metadata-4.10.1-20.1 [ 3s] [213/237] keeping python38-importlib-metadata-4.10.1-20.1 [ 3s] [214/237] keeping python39-importlib-metadata-4.10.1-20.1 [ 3s] [215/237] keeping libutempter0-1.2.0-3.19 [ 3s] [216/237] keeping python310-setuptools-58.3.0-203.4 [ 3s] [217/237] keeping python38-setuptools-58.3.0-203.4 [ 3s] [218/237] keeping python39-setuptools-58.3.0-203.4 [ 3s] [219/237] keeping post-build-checks-84.87+git20220128.77a97b9-1.1 [ 3s] [220/237] keeping pam-1.5.2-5.5 [ 3s] [221/237] keeping gcc11-11.2.1+git1173-2.3 [ 3s] [222/237] keeping gcc11-PIE-11.2.1+git1173-2.3 [ 3s] [223/237] keeping gcc-11-5.3 [ 3s] [224/237] keeping pam_unix-1.5.2-5.5 [ 3s] [225/237] keeping python310-wheel-0.37.1-62.1 [ 3s] [226/237] keeping python38-wheel-0.37.1-62.1 [ 3s] [227/237] keeping python39-wheel-0.37.1-62.1 [ 3s] [228/237] keeping python310-pip-21.3.1-4.1 [ 3s] [229/237] keeping python38-pip-21.3.1-4.1 [ 3s] [230/237] keeping python39-pip-21.3.1-4.1 [ 3s] [231/237] keeping python310-pytest-6.2.5-3.5 [ 3s] [232/237] keeping python38-pytest-6.2.5-3.5 [ 3s] [233/237] keeping python39-pytest-6.2.5-3.5 [ 3s] [234/237] keeping shadow-4.11.1-1.3 [ 3s] [235/237] keeping util-linux-2.37.3-1.2 [ 3s] [236/237] keeping gcc-PIE-11-5.3 [ 3s] [237/237] keeping rpm-build-4.17.0-4.1 [ 3s] now finalizing build dir... [ 3s] ... running 01-add_abuild_user_to_trusted_group [ 3s] ... running 02-set_timezone_to_utc [ 3s] ... running 11-hack_uname_version_to_kernel_version [ 3s] cp: -r not specified; omitting directory '/home/matej/build/devel:languages:python/python-pip-licenses/pip-licenses-3.5.2' [ 3s] ----------------------------------------------------------------- [ 3s] I have the following modifications for python-pip-licenses.spec: [ 3s] ----------------------------------------------------------------- [ 3s] ----- building python-pip-licenses.spec (user abuild) [ 3s] ----------------------------------------------------------------- [ 3s] ----------------------------------------------------------------- [ 3s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/python-pip-licenses.spec [ 4s] setting SOURCE_DATE_EPOCH=1645833600 [ 4s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xQr7jq [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + rm -rf pip-licenses-3.5.2 [ 4s] + /usr/bin/gzip -dc /home/abuild/rpmbuild/SOURCES/pip-licenses-3.5.2.tar.gz [ 4s] + /usr/bin/tar -xof - [ 4s] + STATUS=0 [ 4s] + '[' 0 -ne 0 ']' [ 4s] + cd pip-licenses-3.5.2 [ 4s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 4s] + /usr/bin/cat /home/abuild/rpmbuild/SOURCES/no-pip-internal.patch [ 4s] + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f [ 4s] + sed -i s/PTable/prettytable/ setup.cfg piplicenses.py test_piplicenses.py [ 4s] + sed -i /addopts/d setup.cfg [ 4s] + sed -i /pytest-/d setup.cfg [ 4s] + sed -i '1{/^#!/d}' piplicenses.py [ 4s] + RPM_EC=0 [ 4s] ++ jobs -p [ 4s] + exit 0 [ 4s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6XYmDf [ 4s] + umask 022 [ 4s] + cd /home/abuild/rpmbuild/BUILD [ 4s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 [ 4s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 [ 4s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 4s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 [ 4s] + cd pip-licenses-3.5.2 [ 4s] ++ '[' -f _current_flavor ']' [ 4s] ++ true [ 4s] + last_flavor= [ 4s] + '[' -z '' ']' [ 4s] + last_flavor=tmp [ 4s] + '[' tmp '!=' python39 ']' [ 4s] + '[' -d build ']' [ 4s] + '[' -d _build.python39 ']' [ 4s] + echo python39 [ 4s] + python_flavor=python39 [ 4s] + /usr/bin/python3.9 setup.py build '--executable=/usr/bin/python3.9 -s' [ 4s] /usr/lib/python3.9/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires. [ 4s] warnings.warn( [ 4s] running build [ 4s] running build_py [ 4s] creating build [ 4s] creating build/lib [ 4s] copying piplicenses.py -> build/lib [ 4s] running egg_info [ 4s] writing pip_licenses.egg-info/PKG-INFO [ 4s] writing dependency_links to pip_licenses.egg-info/dependency_links.txt [ 4s] writing entry points to pip_licenses.egg-info/entry_points.txt [ 4s] writing requirements to pip_licenses.egg-info/requires.txt [ 4s] writing top-level names to pip_licenses.egg-info/top_level.txt [ 4s] reading manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 4s] reading manifest template 'MANIFEST.in' [ 4s] adding license file 'LICENSE' [ 4s] writing manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 4s] ++ '[' -f _current_flavor ']' [ 4s] ++ cat _current_flavor [ 4s] + last_flavor=python39 [ 4s] + '[' -z python39 ']' [ 4s] + '[' python39 '!=' python310 ']' [ 4s] + '[' -d build ']' [ 4s] + mv build _build.python39 [ 4s] + '[' -d _build.python310 ']' [ 4s] + echo python310 [ 4s] + python_flavor=python310 [ 4s] + /usr/bin/python3.10 setup.py build '--executable=/usr/bin/python3.10 -s' [ 4s] /usr/lib/python3.10/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires. [ 4s] warnings.warn( [ 4s] running build [ 4s] running build_py [ 4s] creating build [ 4s] creating build/lib [ 4s] copying piplicenses.py -> build/lib [ 4s] running egg_info [ 4s] writing pip_licenses.egg-info/PKG-INFO [ 4s] writing dependency_links to pip_licenses.egg-info/dependency_links.txt [ 4s] writing entry points to pip_licenses.egg-info/entry_points.txt [ 4s] writing requirements to pip_licenses.egg-info/requires.txt [ 4s] writing top-level names to pip_licenses.egg-info/top_level.txt [ 4s] reading manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 4s] reading manifest template 'MANIFEST.in' [ 4s] adding license file 'LICENSE' [ 4s] writing manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 4s] ++ '[' -f _current_flavor ']' [ 4s] ++ cat _current_flavor [ 4s] + last_flavor=python310 [ 4s] + '[' -z python310 ']' [ 4s] + '[' python310 '!=' python38 ']' [ 4s] + '[' -d build ']' [ 4s] + mv build _build.python310 [ 4s] + '[' -d _build.python38 ']' [ 4s] + echo python38 [ 4s] + python_flavor=python38 [ 4s] + /usr/bin/python3.8 setup.py build '--executable=/usr/bin/python3.8 -s' [ 5s] running build [ 5s] running build_py [ 5s] creating build [ 5s] creating build/lib [ 5s] copying piplicenses.py -> build/lib [ 5s] running egg_info [ 5s] writing pip_licenses.egg-info/PKG-INFO [ 5s] writing dependency_links to pip_licenses.egg-info/dependency_links.txt [ 5s] writing entry points to pip_licenses.egg-info/entry_points.txt [ 5s] writing requirements to pip_licenses.egg-info/requires.txt [ 5s] writing top-level names to pip_licenses.egg-info/top_level.txt [ 5s] reading manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] reading manifest template 'MANIFEST.in' [ 5s] adding license file 'LICENSE' [ 5s] writing manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] /usr/lib/python3.8/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires. [ 5s] warnings.warn( [ 5s] + RPM_EC=0 [ 5s] ++ jobs -p [ 5s] + exit 0 [ 5s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.at9OcJ [ 5s] + umask 022 [ 5s] + cd /home/abuild/rpmbuild/BUILD [ 5s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 [ 5s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 5s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 [ 5s] + cd pip-licenses-3.5.2 [ 5s] ++ '[' -f _current_flavor ']' [ 5s] ++ cat _current_flavor [ 5s] + last_flavor=python38 [ 5s] + '[' -z python38 ']' [ 5s] + '[' python38 '!=' python39 ']' [ 5s] + '[' -d build ']' [ 5s] + mv build _build.python38 [ 5s] + '[' -d _build.python39 ']' [ 5s] + mv _build.python39 build [ 5s] + echo python39 [ 5s] + python_flavor=python39 [ 5s] + /usr/bin/python3.9 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 --prefix /usr [ 5s] /usr/lib/python3.9/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires. [ 5s] warnings.warn( [ 5s] running install [ 5s] /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. [ 5s] warnings.warn( [ 5s] running install_lib [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9 [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9/site-packages [ 5s] copying build/lib/piplicenses.py -> /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9/site-packages [ 5s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9/site-packages/piplicenses.py to piplicenses.cpython-39.pyc [ 5s] writing byte-compilation script '/tmp/tmpl_5j9jdw.py' [ 5s] /usr/bin/python3.9 /tmp/tmpl_5j9jdw.py [ 5s] removing /tmp/tmpl_5j9jdw.py [ 5s] running install_egg_info [ 5s] running egg_info [ 5s] writing pip_licenses.egg-info/PKG-INFO [ 5s] writing dependency_links to pip_licenses.egg-info/dependency_links.txt [ 5s] writing entry points to pip_licenses.egg-info/entry_points.txt [ 5s] writing requirements to pip_licenses.egg-info/requires.txt [ 5s] writing top-level names to pip_licenses.egg-info/top_level.txt [ 5s] reading manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] reading manifest template 'MANIFEST.in' [ 5s] adding license file 'LICENSE' [ 5s] writing manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] Copying pip_licenses.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9/site-packages/pip_licenses-3.5.2-py3.9.egg-info [ 5s] running install_scripts [ 5s] Installing pip-licenses script to /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin [ 5s] ++ '[' -f _current_flavor ']' [ 5s] ++ cat _current_flavor [ 5s] + last_flavor=python39 [ 5s] + '[' -z python39 ']' [ 5s] + '[' python39 '!=' python310 ']' [ 5s] + '[' -d build ']' [ 5s] + mv build _build.python39 [ 5s] + '[' -d _build.python310 ']' [ 5s] + mv _build.python310 build [ 5s] + echo python310 [ 5s] + python_flavor=python310 [ 5s] + /usr/bin/python3.10 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 --prefix /usr [ 5s] /usr/lib/python3.10/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires. [ 5s] warnings.warn( [ 5s] running install [ 5s] /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. [ 5s] warnings.warn( [ 5s] running install_lib [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.10 [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.10/site-packages [ 5s] copying build/lib/piplicenses.py -> /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.10/site-packages [ 5s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.10/site-packages/piplicenses.py to piplicenses.cpython-310.pyc [ 5s] writing byte-compilation script '/tmp/tmpv9csr1k9.py' [ 5s] /usr/bin/python3.10 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpv9csr1k9.py [ 5s] removing /tmp/tmpv9csr1k9.py [ 5s] running install_egg_info [ 5s] running egg_info [ 5s] writing pip_licenses.egg-info/PKG-INFO [ 5s] writing dependency_links to pip_licenses.egg-info/dependency_links.txt [ 5s] writing entry points to pip_licenses.egg-info/entry_points.txt [ 5s] writing requirements to pip_licenses.egg-info/requires.txt [ 5s] writing top-level names to pip_licenses.egg-info/top_level.txt [ 5s] reading manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] reading manifest template 'MANIFEST.in' [ 5s] adding license file 'LICENSE' [ 5s] writing manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] Copying pip_licenses.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.10/site-packages/pip_licenses-3.5.2-py3.10.egg-info [ 5s] running install_scripts [ 5s] Installing pip-licenses script to /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin [ 5s] ++ '[' -f _current_flavor ']' [ 5s] ++ cat _current_flavor [ 5s] + last_flavor=python310 [ 5s] + '[' -z python310 ']' [ 5s] + '[' python310 '!=' python38 ']' [ 5s] + '[' -d build ']' [ 5s] + mv build _build.python310 [ 5s] + '[' -d _build.python38 ']' [ 5s] + mv _build.python38 build [ 5s] + echo python38 [ 5s] + python_flavor=python38 [ 5s] + /usr/bin/python3.8 setup.py install -O1 --skip-build --force --root /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64 --prefix /usr [ 5s] running install [ 5s] running install_lib [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.8 [ 5s] creating /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.8/site-packages [ 5s] copying build/lib/piplicenses.py -> /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.8/site-packages [ 5s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.8/site-packages/piplicenses.py to piplicenses.cpython-38.pyc [ 5s] writing byte-compilation script '/tmp/tmp_fw3bs_e.py' [ 5s] /usr/bin/python3.8 /tmp/tmp_fw3bs_e.py [ 5s] removing /tmp/tmp_fw3bs_e.py [ 5s] running install_egg_info [ 5s] running egg_info [ 5s] writing pip_licenses.egg-info/PKG-INFO [ 5s] writing dependency_links to pip_licenses.egg-info/dependency_links.txt [ 5s] writing entry points to pip_licenses.egg-info/entry_points.txt [ 5s] writing requirements to pip_licenses.egg-info/requires.txt [ 5s] writing top-level names to pip_licenses.egg-info/top_level.txt [ 5s] reading manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] reading manifest template 'MANIFEST.in' [ 5s] adding license file 'LICENSE' [ 5s] writing manifest file 'pip_licenses.egg-info/SOURCES.txt' [ 5s] Copying pip_licenses.egg-info to /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.8/site-packages/pip_licenses-3.5.2-py3.8.egg-info [ 5s] running install_scripts [ 5s] Installing pip-licenses script to /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin [ 5s] /usr/lib/python3.8/site-packages/setuptools/__init__.py:148: SetuptoolsDeprecationWarning: setup_requires is deprecated. Supply build dependencies using PEP 517 pyproject.toml build-requires. [ 5s] warnings.warn( [ 5s] /usr/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. [ 5s] warnings.warn( [ 5s] + cp /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses-3.9 [ 5s] + sed -ri '1s@#!.*python.*@#!/usr/bin/python3.9@' /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses-3.9 [ 5s] + cp /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses-3.10 [ 5s] + sed -ri '1s@#!.*python.*@#!/usr/bin/python3.10@' /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses-3.10 [ 5s] + cp /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses-3.8 [ 5s] + sed -ri '1s@#!.*python.*@#!/usr/bin/python3.8@' /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses-3.8 [ 5s] + rm -f /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses [ 5s] + alternative_target=/usr/bin/pip-licenses [ 5s] + [[ /usr/bin/pip-licenses == /usr/share/man* ]] [ 5s] + '[' 0 -eq 1 ']' [ 5s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/etc/alternatives [ 5s] + touch /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/etc/alternatives/pip-licenses [ 5s] + ln -sf /etc/alternatives/pip-licenses /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/bin/pip-licenses [ 5s] ++ '[' -f _current_flavor ']' [ 5s] ++ cat _current_flavor [ 5s] + last_flavor=python38 [ 5s] + '[' -z python38 ']' [ 5s] + '[' python38 '!=' python39 ']' [ 5s] + '[' -d build ']' [ 5s] + mv build _build.python38 [ 5s] + '[' -d _build.python39 ']' [ 5s] + mv _build.python39 build [ 5s] + echo python39 [ 5s] + python_flavor=python39 [ 5s] + _target= [ 5s] + _symlinks=0 [ 5s] + fdupes -q -p -n -H -o name -r /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9/site-packages [ 5s] + read _file [ 5s] ++ '[' -f _current_flavor ']' [ 5s] ++ cat _current_flavor [ 5s] + last_flavor=python39 [ 5s] + '[' -z python39 ']' [ 5s] + '[' python39 '!=' python310 ']' [ 5s] + '[' -d build ']' [ 5s] + mv build _build.python39 [ 5s] + '[' -d _build.python310 ']' [ 5s] + mv _build.python310 build [ 5s] + echo python310 [ 5s] + python_flavor=python310 [ 5s] + _target= [ 5s] + _symlinks=0 [ 5s] + fdupes -q -p -n -H -o name -r /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.10/site-packages [ 5s] + read _file [ 5s] ++ '[' -f _current_flavor ']' [ 5s] ++ cat _current_flavor [ 5s] + last_flavor=python310 [ 5s] + '[' -z python310 ']' [ 5s] + '[' python310 '!=' python38 ']' [ 5s] + '[' -d build ']' [ 5s] + mv build _build.python310 [ 5s] + '[' -d _build.python38 ']' [ 5s] + mv _build.python38 build [ 5s] + echo python38 [ 5s] + python_flavor=python38 [ 5s] + _target= [ 5s] + _symlinks=0 [ 5s] + fdupes -q -p -n -H -o name -r /home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.8/site-packages [ 5s] + read _file [ 5s] + /usr/lib/rpm/find-debuginfo -j8 --build-id-seed 3.5.2-0 --unique-debug-suffix -3.5.2-0.x86_64 --unique-debug-src-base python-pip-licenses-3.5.2-0.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/pip-licenses-3.5.2 [ 5s] + /usr/lib/rpm/brp-compress [ 5s] + /usr/lib/rpm/brp-suse [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 5s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-50-generate-fips-hmac [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-75-ar [ 6s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gczsCP [ 6s] + umask 022 [ 6s] + cd /home/abuild/rpmbuild/BUILD [ 6s] + cd pip-licenses-3.5.2 [ 6s] + export LANG=en_US.UTF-8 [ 6s] + LANG=en_US.UTF-8 [ 6s] ++ '[' -f _current_flavor ']' [ 6s] ++ cat _current_flavor [ 6s] + last_flavor=python38 [ 6s] + '[' -z python38 ']' [ 6s] + '[' python38 '!=' python39 ']' [ 6s] + '[' -d build ']' [ 6s] + mv build _build.python38 [ 6s] + '[' -d _build.python39 ']' [ 6s] + mv _build.python39 build [ 6s] + echo python39 [ 6s] + python_flavor=python39 [ 6s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-pip-licenses-3.5.2-0.x86_64/usr/lib/python3.9/site-packages [ 6s] + PYTHONDONTWRITEBYTECODE=1 [ 6s] + pytest-3.9 --ignore=_build.python39 --ignore=_build.python310 --ignore=_build.python38 -v -k 'not (test_format_plain_vertical or test_from_meta)' [ 6s] ============================= test session starts ============================== [ 6s] platform linux -- Python 3.9.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3.9 [ 6s] cachedir: .pytest_cache [ 6s] rootdir: /home/abuild/rpmbuild/BUILD/pip-licenses-3.5.2, configfile: setup.cfg [ 6s] collecting ... collected 46 items / 2 deselected / 44 selected [ 6s] [ 6s] test_piplicenses.py::TestGetLicenses::test_display_multiple_license_from_classifier PASSED [ 2%] [ 6s] test_piplicenses.py::TestGetLicenses::test_find_license_from_classifier PASSED [ 4%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_confluence PASSED [ 6%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_csv FAILED [ 9%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_html PASSED [ 11%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_json FAILED [ 13%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_json_license_manager FAILED [ 15%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_markdown PASSED [ 18%] [ 6s] test_piplicenses.py::TestGetLicenses::test_format_plain PASSED [ 20%] [ 6s] test_piplicenses.py::TestGetLicenses::test_from_all FAILED [ 22%] [ 6s] test_piplicenses.py::TestGetLicenses::test_from_classifier PASSED [ 25%] [ 6s] test_piplicenses.py::TestGetLicenses::test_from_mixed PASSED [ 27%] [ 6s] test_piplicenses.py::TestGetLicenses::test_ignore_packages PASSED [ 29%] [ 6s] test_piplicenses.py::TestGetLicenses::test_not_found_license_from_classifier PASSED [ 31%] [ 6s] test_piplicenses.py::TestGetLicenses::test_order_author PASSED [ 34%] [ 6s] test_piplicenses.py::TestGetLicenses::test_order_license PASSED [ 36%] [ 6s] test_piplicenses.py::TestGetLicenses::test_order_name PASSED [ 38%] [ 6s] test_piplicenses.py::TestGetLicenses::test_order_url PASSED [ 40%] [ 6s] test_piplicenses.py::TestGetLicenses::test_order_url_no_effect PASSED [ 43%] [ 6s] test_piplicenses.py::TestGetLicenses::test_output_colored_bold PASSED [ 45%] [ 6s] test_piplicenses.py::TestGetLicenses::test_output_colored_normal PASSED [ 47%] [ 6s] test_piplicenses.py::TestGetLicenses::test_select_license_by_source PASSED [ 50%] [ 6s] test_piplicenses.py::TestGetLicenses::test_summary PASSED [ 52%] [ 6s] test_piplicenses.py::TestGetLicenses::test_summary_sort_by_count PASSED [ 54%] [ 6s] test_piplicenses.py::TestGetLicenses::test_summary_sort_by_name PASSED [ 56%] [ 6s] test_piplicenses.py::TestGetLicenses::test_summary_warning PASSED [ 59%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_authors PASSED [ 61%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_description PASSED [ 63%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_empty_args PASSED [ 65%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_license_file PASSED [ 68%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_license_file_no_path PASSED [ 70%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_license_file_warning PASSED [ 72%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_notice_file PASSED [ 75%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_packages PASSED [ 77%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_packages_with_system PASSED [ 79%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_system PASSED [ 81%] [ 6s] test_piplicenses.py::TestGetLicenses::test_with_urls PASSED [ 84%] [ 6s] test_piplicenses.py::test_output_file_success PASSED [ 86%] [ 6s] test_piplicenses.py::test_output_file_error PASSED [ 88%] [ 6s] test_piplicenses.py::test_output_file_none PASSED [ 90%] [ 6s] test_piplicenses.py::test_allow_only PASSED [ 93%] [ 6s] test_piplicenses.py::test_fail_on PASSED [ 95%] [ 6s] test_piplicenses.py::test_enums PASSED [ 97%] [ 6s] test_piplicenses.py::test_verify_args PASSED [100%] [ 6s] [ 6s] =================================== FAILURES =================================== [ 6s] _______________________ TestGetLicenses.test_format_csv ________________________ [ 6s] [ 6s] self = [ 6s] [ 6s] def test_format_csv(self): [ 6s] format_csv_args = ['--format=csv', '--with-authors'] [ 6s] args = self.parser.parse_args(format_csv_args) [ 6s] > output_string = create_output_string(args) [ 6s] [ 6s] test_piplicenses.py:455: [ 6s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 6s] piplicenses.py:533: in create_output_string [ 6s] return table.get_string(fields=output_fields, sortby=sortby) [ 6s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 6s] [ 6s] self = <[TypeError('_format_rows() takes 2 positional arguments but 3 were given') raised in repr()] CSVPrettyTable object at 0x7f018d2e9f40> [ 6s] kwargs = {'fields': ['Name', 'Version', 'License', 'Author'], 'sortby': 'Name'} [ 6s] options = {'align': {'Author': 'c', 'License': 'c', 'Name': 'c', 'Version': 'c'}, 'attributes': {}, 'border': True, 'bottom_junction_char': '+', ...} [ 6s] rows = [['apipkg', '2.1.0', 'MIT License', 'holger krekel'], ['appdirs', '1.4.4', 'MIT License', 'Trent Mick'], ['attrs', '21...Software License', 'Jason R. Coombs'], ['iniconfig', '0.0.0', 'MIT License', 'Ronny Pfannschmidt, Holger Krekel'], ...] [ 6s] [ 6s] def get_string(self, **kwargs): [ 6s] [ 6s] def esc_quotes(val): [ 6s] """ [ 6s] Meta-escaping double quotes [ 6s] https://tools.ietf.org/html/rfc4180 [ 6s] """ [ 6s] try: [ 6s] return val.replace('"', '""') [ 6s] except UnicodeDecodeError: # pragma: no cover [ 6s] return val.decode('utf-8').replace('"', '""') [ 6s] except UnicodeEncodeError: # pragma: no cover [ 6s] return val.encode('unicode_escape').replace('"', '""') [ 6s] [ 6s] options = self._get_options(kwargs) [ 6s] rows = self._get_rows(options) [ 6s] > formatted_rows = self._format_rows(rows, options) [ 6s] E TypeError: _format_rows() takes 2 positional arguments but 3 were given [ 6s] [ 6s] piplicenses.py:384: TypeError [ 6s] _______________________ TestGetLicenses.test_format_json _______________________ [ 6s] [ 6s] self = [ 6s] [ 6s] def test_format_json(self): [ 6s] format_json_args = ['--format=json', '--with-authors'] [ 6s] args = self.parser.parse_args(format_json_args) [ 6s] > output_string = create_output_string(args) [ 6s] [ 6s] test_piplicenses.py:437: [ 6s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 6s] piplicenses.py:533: in create_output_string [ 6s] return table.get_string(fields=output_fields, sortby=sortby) [ 6s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 6s] [ 6s] self = <[TypeError('_format_rows() takes 2 positional arguments but 3 were given') raised in repr()] JsonPrettyTable object at 0x7f018d2aab20> [ 6s] kwargs = {'fields': ['Name', 'Version', 'License', 'Author'], 'sortby': 'Name'} [ 6s] json = [ 6s] options = {'align': {'Author': 'c', 'License': 'c', 'Name': 'c', 'Version': 'c'}, 'attributes': {}, 'border': True, 'bottom_junction_char': '+', ...} [ 6s] rows = [['apipkg', '2.1.0', 'MIT License', 'holger krekel'], ['appdirs', '1.4.4', 'MIT License', 'Trent Mick'], ['attrs', '21...Software License', 'Jason R. Coombs'], ['iniconfig', '0.0.0', 'MIT License', 'Ronny Pfannschmidt, Holger Krekel'], ...] [ 6s] [ 6s] def get_string(self, **kwargs): [ 6s] # import included here in order to limit dependencies [ 6s] # if not interested in JSON output, [ 6s] # then the dependency is not required [ 6s] import json [ 6s] [ 6s] options = self._get_options(kwargs) [ 6s] rows = self._get_rows(options) [ 6s] > formatted_rows = self._format_rows(rows, options) [ 6s] E TypeError: _format_rows() takes 2 positional arguments but 3 were given [ 6s] [ 6s] piplicenses.py:324: TypeError [ 6s] _______________ TestGetLicenses.test_format_json_license_manager _______________ [ 6s] [ 6s] self = [ 6s] [ 6s] def test_format_json_license_manager(self): [ 6s] format_json_args = ['--format=json-license-finder'] [ 6s] args = self.parser.parse_args(format_json_args) [ 6s] > output_string = create_output_string(args) [ 6s] [ 6s] test_piplicenses.py:445: [ 6s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 6s] piplicenses.py:533: in create_output_string [ 6s] return table.get_string(fields=output_fields, sortby=sortby) [ 6s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 6s] [ 6s] self = <[TypeError('_format_rows() takes 2 positional arguments but 3 were given') raised in repr()] JsonLicenseFinderTable object at 0x7f018d05aac0> [ 6s] kwargs = {'fields': ['Name', 'Version', 'License'], 'sortby': 'Name'} [ 6s] json = [ 6s] options = {'align': {'License': 'c', 'Name': 'c', 'Version': 'c'}, 'attributes': {}, 'border': True, 'bottom_junction_char': '+', ...} [ 6s] rows = [['apipkg', '2.1.0', 'MIT License'], ['appdirs', '1.4.4', 'MIT License'], ['attrs', '21.4.0', 'MIT License'], ['docuti...ion License'], ['importlib-metadata', '4.10.1', 'Apache Software License'], ['iniconfig', '0.0.0', 'MIT License'], ...] [ 6s] [ 6s] def get_string(self, **kwargs): [ 6s] # import included here in order to limit dependencies [ 6s] # if not interested in JSON output, [ 6s] # then the dependency is not required [ 6s] import json [ 6s] [ 6s] options = self._get_options(kwargs) [ 6s] rows = self._get_rows(options) [ 6s] > formatted_rows = self._format_rows(rows, options) [ 6s] E TypeError: _format_rows() takes 2 positional arguments but 3 were given [ 6s] [ 6s] piplicenses.py:356: TypeError [ 6s] ________________________ TestGetLicenses.test_from_all _________________________ [ 6s] [ 6s] self = [ 6s] [ 6s] def test_from_all(self): [ 6s] from_args = ['--from=all'] [ 6s] args = self.parser.parse_args(from_args) [ 6s] output_fields = get_output_fields(args) [ 6s] table = create_licenses_table(args, output_fields) [ 6s] [ 6s] self.assertIn('License-Metadata', output_fields) [ 6s] self.assertIn('License-Classifier', output_fields) [ 6s] [ 6s] index_license_meta = output_fields.index('License-Metadata') [ 6s] license_meta = [] [ 6s] for row in table._rows: [ 6s] license_meta.append(row[index_license_meta]) [ 6s] [ 6s] index_license_classifier = output_fields.index('License-Classifier') [ 6s] license_classifier = [] [ 6s] for row in table._rows: [ 6s] license_classifier.append(row[index_license_classifier]) [ 6s] [ 6s] for license in ('BSD', 'MIT', 'Apache 2.0'): [ 6s] > self.assertIn(license, license_meta) [ 6s] E AssertionError: 'BSD' not found in ['UNKNOWN', 'MIT', 'MIT', 'MIT', 'MIT License', 'MIT license', 'MIT', 'BSD-2-Clause or Apache-2.0', 'MIT-LICENSE', 'MIT', 'MIT License', 'UNKNOWN', 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)', 'MIT', 'MIT', 'MIT'] [ 6s] [ 6s] test_piplicenses.py:158: AssertionError [ 6s] =========================== short test summary info ============================ [ 6s] FAILED test_piplicenses.py::TestGetLicenses::test_format_csv - TypeError: _fo... [ 6s] FAILED test_piplicenses.py::TestGetLicenses::test_format_json - TypeError: _f... [ 6s] FAILED test_piplicenses.py::TestGetLicenses::test_format_json_license_manager [ 6s] FAILED test_piplicenses.py::TestGetLicenses::test_from_all - AssertionError: ... [ 6s] ================== 4 failed, 40 passed, 2 deselected in 0.59s ================== [ 6s] error: Bad exit status from /var/tmp/rpm-tmp.gczsCP (%check) [ 6s] [ 6s] [ 6s] RPM build errors: [ 6s] Bad exit status from /var/tmp/rpm-tmp.gczsCP (%check) [ 6s] [ 6s] stitny failed "build python-pip-licenses.spec" at Sat Feb 26 00:50:07 UTC 2022. [ 6s]