<86>Mar 27 03:39:09 userdel[3810005]: delete user 'rooter' <86>Mar 27 03:39:09 groupadd[3810056]: group added to /etc/group: name=rooter, GID=633 <86>Mar 27 03:39:09 groupadd[3810056]: group added to /etc/gshadow: name=rooter <86>Mar 27 03:39:09 groupadd[3810056]: new group: name=rooter, GID=633 <86>Mar 27 03:39:09 useradd[3810078]: new user: name=rooter, UID=633, GID=633, home=/root, shell=/bin/bash <86>Mar 27 03:39:09 userdel[3810134]: delete user 'builder' <86>Mar 27 03:39:09 userdel[3810134]: removed group 'builder' owned by 'builder' <86>Mar 27 03:39:09 userdel[3810134]: removed shadow group 'builder' owned by 'builder' <86>Mar 27 03:39:09 groupadd[3810141]: group added to /etc/group: name=builder, GID=634 <86>Mar 27 03:39:09 groupadd[3810141]: group added to /etc/gshadow: name=builder <86>Mar 27 03:39:09 groupadd[3810141]: new group: name=builder, GID=634 <86>Mar 27 03:39:09 useradd[3810154]: new user: name=builder, UID=634, GID=634, home=/usr/src, shell=/bin/bash <13>Mar 27 03:39:13 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Mar 27 03:39:13 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Mar 27 03:39:13 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Mar 27 03:39:13 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Mar 27 03:39:13 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 27 03:39:13 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 27 03:39:13 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 27 03:39:13 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 27 03:39:13 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Mar 27 03:39:13 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Mar 27 03:39:13 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Mar 27 03:39:13 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>Mar 27 03:39:13 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>Mar 27 03:39:14 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>Mar 27 03:39:14 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 27 03:39:14 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 27 03:39:17 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Mar 27 03:39:17 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Mar 27 03:39:17 rpmi: python3-module-zope.interface-4.7.2-alt1 sisyphus+244999.500.3.1 1585220229 installed <13>Mar 27 03:39:18 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920443 installed <13>Mar 27 03:39:18 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>Mar 27 03:39:18 rpmi: perl-HTTP-Date-6.04-alt1 sisyphus+241046.100.1.1 1574192946 installed <13>Mar 27 03:39:18 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Mar 27 03:39:18 rpmi: python3-module-attrs-19.3.0-alt1 sisyphus+240796.100.1.1 1573741715 installed <13>Mar 27 03:39:18 rpmi: libtcl-8.6.10-alt1 sisyphus+241485.100.1.1 1574408296 installed <13>Mar 27 03:39:18 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Mar 27 03:39:18 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Mar 27 03:39:18 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Mar 27 03:39:18 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Mar 27 03:39:18 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Mar 27 03:39:18 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Mar 27 03:39:18 rpmi: python3-module-idna-2.9-alt1 sisyphus+248055.100.1.1 1584555852 installed <13>Mar 27 03:39:18 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847321 installed <13>Mar 27 03:39:18 rpmi: libsqlite3-3.31.0-alt1 sisyphus+244880.100.1.1 1579796775 installed <13>Mar 27 03:39:18 rpmi: libfribidi-1.0.9-alt1 sisyphus+247242.1500.7.1 1583840967 installed <13>Mar 27 03:39:18 rpmi: liblcms2-2.9-alt1 1516411888 installed <13>Mar 27 03:39:18 rpmi: libglvnd-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>Mar 27 03:39:18 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>Mar 27 03:39:18 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Mar 27 03:39:18 rpmi: perl-Compress-Raw-Zlib-2.093-alt1 sisyphus+242766.100.1.1 1576089365 installed <13>Mar 27 03:39:18 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Mar 27 03:39:18 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Mar 27 03:39:18 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed <13>Mar 27 03:39:18 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Mar 27 03:39:18 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000383 installed <13>Mar 27 03:39:18 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586157 installed <13>Mar 27 03:39:18 rpmi: libhogweed5-3.5.1-alt1 sisyphus+235265.40.6.1 1566223043 installed <13>Mar 27 03:39:19 rpmi: libgnutls30-3.6.12-alt1 sisyphus+245480.200.1.1 1580826647 installed <13>Mar 27 03:39:19 rpmi: python3-module-hyperlink-19.0.0-alt1 sisyphus+231791.100.1.1 1560104463 installed <13>Mar 27 03:39:19 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>Mar 27 03:39:19 rpmi: tcl-8.6.10-alt1 sisyphus+241485.100.1.1 1574408296 installed <13>Mar 27 03:39:19 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Mar 27 03:39:19 rpmi: libwayland-cursor-1.18.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>Mar 27 03:39:19 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+245906.100.1.1 1581492497 installed <13>Mar 27 03:39:19 rpmi: python3-module-hamcrest-2.0.0-alt4.a1.git20150729 sisyphus+235493.2300.6.1 1565442379 installed <13>Mar 27 03:39:19 rpmi: python3-module-cycler-0.10.0-alt1.1 sisyphus+227479.1400.1.3 1555777401 installed <13>Mar 27 03:39:19 rpmi: python3-module-toml-0.10.0-alt3 sisyphus+235493.5400.8.1 1565463304 installed <13>Mar 27 03:39:19 rpmi: python3-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Mar 27 03:39:19 rpmi: python3-module-mpmath-0.19-alt1.git20150621.1.1.1.1 sisyphus+227503.2100.1.3 1555860908 installed <13>Mar 27 03:39:19 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Mar 27 03:39:19 rpmi: python3-module-pycares-2.3.0-alt1.1 sisyphus+245000.24500.79.1 1583239856 installed <13>Mar 27 03:39:19 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.2.1 sisyphus+228360.2100.5.2 1556666704 installed <13>Mar 27 03:39:19 rpmi: python3-module-traceback2-1.4.0-alt2.1 sisyphus+227534.300.1.3 1555957009 installed <13>Mar 27 03:39:19 rpmi: python3-module-kiwisolver-1.1.0-alt1 sisyphus+245000.10600.78.1 1583199906 installed <13>Mar 27 03:39:19 rpmi: python3-module-joblib-0.13.2-alt2 sisyphus+231908.1200.2.1 1560337361 installed <13>Mar 27 03:39:19 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Mar 27 03:39:19 rpmi: python3-module-zipp-0.5.0-alt1 sisyphus+229321.100.1.1 1557825329 installed <13>Mar 27 03:39:19 rpmi: python3-module-importlib_metadata-1.5.0-alt1 sisyphus+246069.300.1.1 1581604535 installed <13>Mar 27 03:39:19 rpmi: python3-module-pluggy-0.13.0-alt2 sisyphus+246682.100.1.1 1582205671 installed <13>Mar 27 03:39:19 rpmi: python3-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Mar 27 03:39:19 rpmi: pytz-zoneinfo-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Mar 27 03:39:19 rpmi: python3-module-dateutil-2.8.1-alt1 sisyphus+248266.102.7.1 1584846156 installed <13>Mar 27 03:39:19 rpmi: python3-module-certifi-2019.11.28-alt1 sisyphus+242017.100.1.1 1575039000 installed <13>Mar 27 03:39:19 rpmi: python3-module-click-7.0-alt1 sisyphus+233553.200.1.1 1561975479 installed <13>Mar 27 03:39:19 rpmi: python3-module-incremental-17.5.0-alt3 sisyphus+225625.45700.91.1 1555360824 installed <13>Mar 27 03:39:19 rpmi: python3-module-pyasn1-0.4.8-alt1 sisyphus+241541.100.2.1 1574620393 installed <13>Mar 27 03:39:20 rpmi: python3-module-pycryptodome-3.9.4-alt1 sisyphus+245000.30400.79.1 1583245745 installed <13>Mar 27 03:39:20 rpmi: python3-module-constantly-15.1.0-alt5.qa1 sisyphus+228353.1600.3.1 1556554115 installed <13>Mar 27 03:39:20 rpmi: python3-module-priority-1.3.0-alt1.qa1 sisyphus+228365.500.1.1 1556564499 installed <13>Mar 27 03:39:20 rpmi: python3-module-hyperframe-5.2.0-alt1 sisyphus+231788.100.1.1 1560100609 installed <13>Mar 27 03:39:20 rpmi: python3-module-hpack-3.0.0-alt1.qa1 sisyphus+227493.500.1.3 1555835217 installed <13>Mar 27 03:39:20 rpmi: python3-module-h2-3.0.1-alt3 sisyphus+248282.100.1.1 1584886173 installed <13>Mar 27 03:39:20 rpmi: python3-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Mar 27 03:39:20 rpmi: python3-module-zc-1.0.0-alt6.2 1458024144 installed <13>Mar 27 03:39:20 rpmi: python3-module-zope-3.3.0-alt8.5 sisyphus+225625.33400.91.1 1555315201 installed <13>Mar 27 03:39:20 rpmi: python3-module-serial-3.4-alt1 1508504506 installed <13>Mar 27 03:39:20 rpmi: python3-module-pygobject-2.28.6-alt10.1.1.1 sisyphus+245000.34566.79.1 1583254408 installed <13>Mar 27 03:39:20 rpmi: python3-module-appdirs-1.4.3-alt2 sisyphus+246664.100.1.1 1582182741 installed <13>Mar 27 03:39:20 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Mar 27 03:39:20 rpmi: python3-module-py-1.8.0-alt5 sisyphus+242058.200.5.1 1575792989 installed <13>Mar 27 03:39:20 rpmi: python3-module-pytest-5.3.2-alt1 sisyphus+243085.100.1.1 1576516289 installed <13>Mar 27 03:39:20 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Mar 27 03:39:20 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+248369.100.1.1 1585046156 installed <13>Mar 27 03:39:20 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Mar 27 03:39:20 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Mar 27 03:39:20 rpmi: python3-module-pytz-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Mar 27 03:39:21 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Mar 27 03:39:21 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Mar 27 03:39:21 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Mar 27 03:39:21 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>Mar 27 03:39:21 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Mar 27 03:39:21 rpmi: python3-module-cffi-1.14.0-alt1 sisyphus+244999.200.3.1 1585219239 installed <13>Mar 27 03:39:21 rpmi: python3-module-cryptography-2.8-alt2 sisyphus+245000.21750.79.1 1583232998 installed <13>Mar 27 03:39:21 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Mar 27 03:39:21 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853074 installed <13>Mar 27 03:39:21 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Mar 27 03:39:21 rpmi: python3-module-requests-2.23.0-alt1 sisyphus+248062.500.2.1 1584568230 installed <13>Mar 27 03:39:21 rpmi: python-sphinx-objects.inv-1:2.3.9.20200324-alt1 sisyphus+248564.100.1.1 1585184032 installed <13>Mar 27 03:39:21 rpmi: libnumpy-py3-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382457 installed <13>Mar 27 03:39:21 rpmi: libnumpy-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382457 installed <13>Mar 27 03:39:21 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Mar 27 03:39:21 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Mar 27 03:39:21 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>Mar 27 03:39:21 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-runner-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-logger-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-web-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-conch-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-names-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-pair-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:21 rpmi: python3-module-twisted-positioning-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:22 rpmi: python3-module-twisted-core-test-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:22 rpmi: python3-module-twisted-words-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:22 rpmi: python3-module-automat-20.2.0-alt1 sisyphus+248641.100.1.1 1585254697 installed <13>Mar 27 03:39:22 rpmi: python3-module-twisted-core-18.9.0-alt1 sisyphus+245000.25400.79.1 1583242448 installed <13>Mar 27 03:39:22 rpmi: python3-module-tornado-5.1.1-alt2 sisyphus+245000.7600.78.1 1583199315 installed <13>Mar 27 03:39:22 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388758 installed <13>Mar 27 03:39:22 rpmi: libxkbcommon-0.10.0-alt1 sisyphus+244530.100.1.1 1579516270 installed <13>Mar 27 03:39:22 rpmi: publicsuffix-list-dafsa-20200106-alt1 sisyphus+244007.100.1.1 1578588044 installed <13>Mar 27 03:39:22 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531663 installed <13>Mar 27 03:39:22 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Mar 27 03:39:22 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Mar 27 03:39:22 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855269 installed <13>Mar 27 03:39:22 rpmi: udev-rules-1:245.2-alt1 sisyphus+248437.100.1.1 1585068108 installed <13>Mar 27 03:39:22 rpmi: libquadmath0-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Mar 27 03:39:22 rpmi: libgfortran5-9.2.1-alt3 sisyphus+245055.100.1.1 1580041305 installed <13>Mar 27 03:39:22 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134909 installed <13>Mar 27 03:39:22 rpmi: python3-module-numpy-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382457 installed <13>Mar 27 03:39:23 rpmi: python3-module-numpy-testing-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382457 installed <13>Mar 27 03:39:23 rpmi: libepoxy-1.5.4-alt1 sisyphus+242061.100.1.1 1575190153 installed <13>Mar 27 03:39:23 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Mar 27 03:39:23 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Mar 27 03:39:23 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Mar 27 03:39:23 groupadd[3827780]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 27 03:39:23 groupadd[3827780]: group added to /etc/gshadow: name=_keytab <86>Mar 27 03:39:23 groupadd[3827780]: new group: name=_keytab, GID=499 <13>Mar 27 03:39:23 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137160 installed <13>Mar 27 03:39:23 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Mar 27 03:39:23 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Mar 27 03:39:23 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:23 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059904 installed <13>Mar 27 03:39:23 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Mar 27 03:39:23 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Mar 27 03:39:23 rpmi: libharfbuzz-2.6.4-alt2 sisyphus+247988.140.13.1 1584621564 installed <13>Mar 27 03:39:23 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Mar 27 03:39:23 rpmi: fontconfig-2.13.1-alt1 sisyphus+247349.100.1.2 1583841219 installed Updating fonts cache: <29>Mar 27 03:39:24 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Mar 27 03:39:24 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Mar 27 03:39:24 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Mar 27 03:39:24 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599782 installed <13>Mar 27 03:39:24 rpmi: libgbm-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608898 installed <13>Mar 27 03:39:24 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Mar 27 03:39:24 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Mar 27 03:39:24 rpmi: perl-Compress-Raw-Bzip2-2.093-alt1 sisyphus+242765.100.1.1 1576089361 installed <13>Mar 27 03:39:24 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Mar 27 03:39:24 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Mar 27 03:39:24 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Mar 27 03:39:24 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343225 installed <13>Mar 27 03:39:24 rpmi: perl-Encode-3.04-alt1 sisyphus+247835.100.1.1 1584190284 installed <13>Mar 27 03:39:24 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Mar 27 03:39:24 rpmi: perl-IO-Compress-2.093-alt1 sisyphus+243543.100.1.1 1577294382 installed <13>Mar 27 03:39:24 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Mar 27 03:39:24 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343407 installed <13>Mar 27 03:39:24 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Mar 27 03:39:24 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Mar 27 03:39:24 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Mar 27 03:39:24 rpmi: perl-HTTP-Message-6.22-alt1 sisyphus+246933.100.1.1 1582638146 installed <13>Mar 27 03:39:24 rpmi: perl-HTTP-Cookies-6.08-alt1 sisyphus+242242.100.1.1 1575454022 installed <13>Mar 27 03:39:24 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Mar 27 03:39:24 rpmi: perl-libwww-6.43-alt1 sisyphus+241824.100.1.3 1574885081 installed <13>Mar 27 03:39:24 rpmi: perl-XML-LibXML-2.0202-alt1 sisyphus+246834.100.1.1 1582544045 installed <13>Mar 27 03:39:24 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Mar 27 03:39:24 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Mar 27 03:39:24 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Mar 27 03:39:25 rpmi: icon-theme-adwaita-3.36.0-alt1 sisyphus+247780.1100.3.2 1584199720 installed <13>Mar 27 03:39:25 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410876 installed <13>Mar 27 03:39:25 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Mar 27 03:39:25 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743630 installed <13>Mar 27 03:39:25 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Mar 27 03:39:25 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Mar 27 03:39:25 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818596 installed <13>Mar 27 03:39:25 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Mar 27 03:39:25 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Mar 27 03:39:25 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073793 installed <13>Mar 27 03:39:25 rpmi: gsettings-desktop-schemas-data-3.36.0-alt1 sisyphus+247780.300.3.2 1584198326 installed <13>Mar 27 03:39:25 rpmi: libgio-2.64.1-alt1 sisyphus+247780.100.3.2 1584198130 installed <13>Mar 27 03:39:25 rpmi: gsettings-desktop-schemas-3.36.0-alt1 sisyphus+247780.300.3.2 1584198326 installed <13>Mar 27 03:39:25 rpmi: gobject-introspection-1.64.0-alt1 sisyphus+247780.200.3.2 1584198281 installed <13>Mar 27 03:39:25 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Mar 27 03:39:25 rpmi: gobject-introspection-x11-1.64.0-alt1 sisyphus+247780.200.3.2 1584198281 installed <13>Mar 27 03:39:25 rpmi: libgusb-0.3.4-alt1 sisyphus+247875.100.1.1 1584292773 installed <13>Mar 27 03:39:25 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Mar 27 03:39:25 rpmi: gtk-update-icon-cache-3.24.14-alt1 sisyphus+247780.700.3.2 1584199511 installed <13>Mar 27 03:39:25 rpmi: libgdk-pixbuf-gir-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Mar 27 03:39:25 rpmi: libatk-gir-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Mar 27 03:39:25 rpmi: glib-networking-2.64.0-alt1 sisyphus+247780.1200.3.2 1584199772 installed <13>Mar 27 03:39:25 rpmi: libsoup-2.70.0-alt1 sisyphus+247780.1300.3.2 1584199886 installed <13>Mar 27 03:39:25 rpmi: libsoup-gnome-2.70.0-alt1 sisyphus+247780.1300.3.2 1584199886 installed <13>Mar 27 03:39:25 rpmi: librest-0.8.1-alt1 1508266396 installed <13>Mar 27 03:39:25 rpmi: libdconf-0.36.0-alt1 sisyphus+247780.1000.3.2 1584199651 installed <13>Mar 27 03:39:25 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249583 installed <13>Mar 27 03:39:25 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066861 installed <13>Mar 27 03:39:25 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Mar 27 03:39:25 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746563 installed <13>Mar 27 03:39:26 rpmi: libsystemd-1:245.2-alt1 sisyphus+248437.100.1.1 1585068108 installed <13>Mar 27 03:39:26 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Mar 27 03:39:26 rpmi: dbus-tools-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <86>Mar 27 03:39:26 groupadd[3830506]: group added to /etc/group: name=messagebus, GID=498 <86>Mar 27 03:39:26 groupadd[3830506]: group added to /etc/gshadow: name=messagebus <86>Mar 27 03:39:26 groupadd[3830506]: new group: name=messagebus, GID=498 <86>Mar 27 03:39:26 useradd[3830510]: new user: name=messagebus, UID=499, GID=498, home=/run/dbus, shell=/dev/null <13>Mar 27 03:39:26 rpmi: dbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Mar 27 03:39:26 rpmi: dconf-0.36.0-alt1 sisyphus+247780.1000.3.2 1584199651 installed <13>Mar 27 03:39:26 rpmi: libgtk+3-schemas-3.24.14-alt1 sisyphus+247780.700.3.2 1584199511 installed <13>Mar 27 03:39:26 rpmi: libavahi-0.7-alt2 sisyphus+247785.100.1.1 1584114583 installed <13>Mar 27 03:39:26 rpmi: libcups-2.3.1-alt1 sisyphus+247381.100.2.2 1583841503 installed <13>Mar 27 03:39:26 rpmi: libpolkit-0.116-alt2 sisyphus+242835.100.1.1 1576161151 installed <86>Mar 27 03:39:26 groupadd[3830611]: group added to /etc/group: name=colord, GID=497 <86>Mar 27 03:39:26 groupadd[3830611]: group added to /etc/gshadow: name=colord <86>Mar 27 03:39:26 groupadd[3830611]: new group: name=colord, GID=497 <86>Mar 27 03:39:26 useradd[3830617]: new user: name=colord, UID=498, GID=497, home=/var/colord, shell=/dev/null <13>Mar 27 03:39:26 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606512 installed <13>Mar 27 03:39:26 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829787 installed <13>Mar 27 03:39:26 rpmi: python3-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Mar 27 03:39:26 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Mar 27 03:39:26 rpmi: python3-module-lxml-4.5.0-alt1 sisyphus+244999.400.3.1 1585220012 installed <13>Mar 27 03:39:26 rpmi: python3-module-docutils-0.15.2-alt1 sisyphus+239215.200.1.1 1576583082 installed <13>Mar 27 03:39:26 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinxcontrib-applehelp-1.0.1-alt1 sisyphus+228217.100.1.1 1556282506 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinxcontrib-devhelp-1.0.1-alt1 sisyphus+228218.100.1.1 1556283262 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinxcontrib-qthelp-1.0.2-alt1 sisyphus+228215.100.1.1 1556282300 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.3-alt1 sisyphus+228216.100.1.1 1556282403 installed <13>Mar 27 03:39:26 rpmi: python3-module-sphinx-1:2.2.0-alt3 sisyphus+238476.100.2.1 1569998637 installed <13>Mar 27 03:39:26 rpmi: python3-module-Pygments-2.4.2-alt2 sisyphus+245852.1100.2.1 1581424681 installed <13>Mar 27 03:39:27 rpmi: python3-module-pip-19.3.1-alt1 sisyphus+239412.200.3.1 1571409804 installed <13>Mar 27 03:39:27 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Mar 27 03:39:27 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Mar 27 03:39:27 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Mar 27 03:39:27 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854223 installed <13>Mar 27 03:39:27 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Mar 27 03:39:27 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Mar 27 03:39:27 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Mar 27 03:39:27 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Mar 27 03:39:27 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Mar 27 03:39:27 rpmi: libtk-8.6.10-alt1 sisyphus+241485.200.1.1 1574408419 installed <13>Mar 27 03:39:27 rpmi: tk-8.6.10-alt1 sisyphus+241485.200.1.1 1574408419 installed <13>Mar 27 03:39:27 rpmi: libat-spi2-core-2.36.0-alt1 sisyphus+247780.1600.3.2 1584200247 installed <13>Mar 27 03:39:27 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Mar 27 03:39:27 rpmi: tcl-tix-8.4.3-alt3 sisyphus.213276.100 1537348647 installed <13>Mar 27 03:39:27 rpmi: python3-modules-tkinter-3.8.2-alt1 sisyphus+244999.100.3.1 1585218350 installed <13>Mar 27 03:39:27 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Mar 27 03:39:27 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Mar 27 03:39:27 rpmi: libXtst-1.2.2-alt1 1369984880 installed <13>Mar 27 03:39:27 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Mar 27 03:39:27 rpmi: libGLX-mesa-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608898 installed <13>Mar 27 03:39:27 rpmi: libEGL-mesa-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608898 installed <13>Mar 27 03:39:27 rpmi: libEGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>Mar 27 03:39:27 rpmi: libGLX-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>Mar 27 03:39:27 rpmi: libGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859567 installed <13>Mar 27 03:39:27 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Mar 27 03:39:27 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Mar 27 03:39:27 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986941 installed <13>Mar 27 03:39:27 rpmi: libpango-gir-1.44.7-alt1 sisyphus+239731.100.1.1 1571986941 installed <13>Mar 27 03:39:27 rpmi: python3-module-pycairo-1.19.1-alt1 sisyphus+248076.100.1.1 1584682658 installed <13>Mar 27 03:39:27 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Mar 27 03:39:27 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Mar 27 03:39:27 rpmi: dbus-tools-gui-1.12.16-alt2 sisyphus+240566.100.2.1 1573547688 installed <13>Mar 27 03:39:27 rpmi: at-spi2-core-2.36.0-alt1 sisyphus+247780.1600.3.2 1584200247 installed <13>Mar 27 03:39:27 rpmi: at-spi2-atk-2.34.2-alt1 sisyphus+247242.200.7.1 1583839985 installed <13>Mar 27 03:39:27 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Mar 27 03:39:28 rpmi: libgtk+3-3.24.14-alt1 sisyphus+247780.700.3.2 1584199511 installed <13>Mar 27 03:39:28 rpmi: libgtk+3-gir-3.24.14-alt1 sisyphus+247780.700.3.2 1584199511 installed <13>Mar 27 03:39:28 rpmi: python3-module-pygobject3-3.36.0-alt1 sisyphus+247780.3200.3.2 1584203119 installed <13>Mar 27 03:39:28 rpmi: python3-module-mpl_toolkits-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384627 installed <13>Mar 27 03:39:28 rpmi: python3-module-matplotlib-cairo-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384627 installed <13>Mar 27 03:39:28 rpmi: python3-module-matplotlib-tk-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384627 installed <13>Mar 27 03:39:28 rpmi: python3-module-matplotlib-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384627 installed <13>Mar 27 03:39:28 rpmi: python3-module-matplotlib-gtk3-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384627 installed <13>Mar 27 03:39:29 rpmi: python3-module-scipy-1.2.0-alt6 sisyphus+245000.25140.79.1 1583241745 installed <13>Mar 27 03:39:29 rpmi: python3-module-scikit-learn-tests-0.19.1-alt2.1 sisyphus+245000.54300.84.1 1583667247 installed <13>Mar 27 03:39:30 rpmi: python3-module-scikit-learn-0.19.1-alt2.1 sisyphus+245000.54300.84.1 1583667247 installed <13>Mar 27 03:39:30 rpmi: python3-module-pbr-5.4.4-alt1 sisyphus+242745.100.1.1 1576083899 installed <13>Mar 27 03:39:30 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419620 installed <13>Mar 27 03:39:30 rpmi: python3-module-unittest2-1.1.0-alt3 sisyphus+227535.1100.2.1 1556009290 installed <13>Mar 27 03:39:30 rpmi: python3-module-tabulate-0.7.3-alt2 sisyphus+227531.1600.1.2 1555925404 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-ccsnmultivar-0.0.5-alt2.nosrc.rpm Installing python3-module-ccsnmultivar-0.0.5-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34036 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-ccsnmultivar-0.0.5 + echo 'Source #0 (python3-module-ccsnmultivar-0.0.5.tar):' Source #0 (python3-module-ccsnmultivar-0.0.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-ccsnmultivar-0.0.5.tar + cd python3-module-ccsnmultivar-0.0.5 + /bin/chmod -c -Rf u+rwX,go-w . + find ./ -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./docs/conf.py RefactoringTool: Refactored ./ccsnmultivar/multivar.py --- ./docs/conf.py (original) +++ ./docs/conf.py (refactored) @@ -63,8 +63,8 @@ master_doc = 'README.md' # General information about the project. -project = u'ccsnmultivar' -copyright = u'2014, Bill Engels' +project = 'ccsnmultivar' +copyright = '2014, Bill Engels' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -216,8 +216,8 @@ # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - ('index', 'ccsnmultivar.tex', u'ccsnmultivar Documentation', - u'Bill Engels', 'manual'), + ('index', 'ccsnmultivar.tex', 'ccsnmultivar Documentation', + 'Bill Engels', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -246,8 +246,8 @@ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('index', 'ccsnmultivar', u'ccsnmultivar Documentation', - [u'Bill Engels'], 1) + ('index', 'ccsnmultivar', 'ccsnmultivar Documentation', + ['Bill Engels'], 1) ] # If true, show URL addresses after external links. @@ -260,8 +260,8 @@ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ('index', 'ccsnmultivar', u'ccsnmultivar Documentation', - u'Bill Engels', 'ccsnmultivar', 'One line description of project.', + ('index', 'ccsnmultivar', 'ccsnmultivar Documentation', + 'Bill Engels', 'ccsnmultivar', 'One line description of project.', 'Miscellaneous'), ] --- ./ccsnmultivar/multivar.py (original) +++ ./ccsnmultivar/multivar.py (refactored) @@ -4,7 +4,7 @@ import re as re import csv as csv from tabulate import tabulate -import GWUtils +from . import GWUtils class Multivar(object): @@ -55,12 +55,12 @@ row_names = self._designmatrix_object.get_rownames() # make sure waveforms are matched # loop through Xrow_names, use as key for Y_dict, populate Y_matrix - Y = np.empty((len(row_names),len(Y_dict[Y_dict.keys()[0]]))) + Y = np.empty((len(row_names),len(Y_dict[list(Y_dict.keys())[0]]))) # check if waveforms are complex valued. if so, instantiate Y as complex type - if sum(np.iscomplex(Y_dict[Y_dict.keys()[0]])): + if sum(np.iscomplex(Y_dict[list(Y_dict.keys())[0]])): # then it is complex - Y = np.empty((len(row_names),len(Y_dict[Y_dict.keys()[0]]))).astype(np.complex) + Y = np.empty((len(row_names),len(Y_dict[list(Y_dict.keys())[0]]))).astype(np.complex) for i in np.arange(0,len(row_names)): Y[i,:] = Y_dict[row_names[i]] @@ -206,18 +206,18 @@ raise ValueError("degrees of freedom <= 0, Hotellings T2 not defined") # print catalog and basis info - cat_table = self._catalog_object.get_params().items() - bas_table = self._basis_object.get_params().items() - print tabulate(cat_table+bas_table,tablefmt='plain') + cat_table = list(self._catalog_object.get_params().items()) + bas_table = list(self._basis_object.get_params().items()) + print(tabulate(cat_table+bas_table,tablefmt='plain')) # then print pvalues # make T^2 & pvalue table headers = self._results[0] table = self._results[1:] - print tabulate(table, headers, tablefmt="rst") - print "Formula Used: %s" % self._designmatrix_object._formula - print "Degrees of Freedom (n - p - k): %s" % str(total_dof) - print "Condition Number of X^T*X: %.2f" % np.linalg.cond(np.dot(self._X.T, self._X)) + print(tabulate(table, headers, tablefmt="rst")) + print("Formula Used: %s" % self._designmatrix_object._formula) + print("Degrees of Freedom (n - p - k): %s" % str(total_dof)) + print("Condition Number of X^T*X: %.2f" % np.linalg.cond(np.dot(self._X.T, selfRefactoringTool: Refactored ./ccsnmultivar/designmatrix.py RefactoringTool: Refactored ./ccsnmultivar/catalog.py ._X))) def reconstruct(self): """ return reconstructed waveforms fit by the multivar object""" @@ -240,7 +240,7 @@ ["Max: ",np.max(olaps)]] header = ["Percentile","Overlap"] - print tabulate(table,header,tablefmt="rst") + print(tabulate(table,header,tablefmt="rst")) def compute_overlaps(self, *args): """ compute overlaps """ --- ./ccsnmultivar/designmatrix.py (original) +++ ./ccsnmultivar/designmatrix.py (refactored) @@ -15,7 +15,7 @@ def get_metadata(self): # return column names, row names, formula - print "not done yet" + print("not done yet") def get_rownames(self): return self._row_names @@ -133,7 +133,7 @@ # store dictionary of encoder functions to keep for prediction encoder_dict[key] = polynomial_encoder else: - print encoding + print(encoding) raise Exception("Encoding name error") # now compute interaction designmatrices for interaction in inter_list: @@ -224,7 +224,7 @@ # now do interactions inter_list = self._inter_list for interaction in inter_list: - if 'twoway' in encoder_dict.keys(): + if 'twoway' in list(encoder_dict.keys()): encoder = encoder_dict['twoway'] param_name1 = interaction[0] param_name2 = interaction[1] @@ -237,7 +237,7 @@ for i in np.arange(0,len(names)): Xbycol_dict[names[i]] = X_int[:,i] - if 'threeway' in encoder_dict.keys(): + if 'threeway' in list(encoder_dict.keys()): encoder = encoder_dict['threeway'] param_name1 = interaction[0] param_name2 = interaction[1] @@ -254,7 +254,7 @@ # remove columns that were trimmed (if any) trimmed_columns = encoder_dict['trimmed_columns'] - full_columns = Xbycol_dict.keys() + full_columns = list(Xbycol_dict.keys()) used_columns = [x for x in full_columns if x not in trimmed_columns] # make design matrix array X = [] @@ -442,7 +442,7 @@ def _poly_encode(param_dict,degree,param_name): - x = np.array(map(float,param_dict[param_name])) + x = np.array(list(map(float,param_dict[param_name]))) degree = int(degree) if len(np.unique(x)) < 5: warning.warn("Not many unique values of parameter %s for Poly encoding" & param_name) @@ -454,7 +454,7 @@ def polynomial_encoder(param_name, new_values): # generate chebyshev polynomials x = new_values - x = np.array(map(float, x)) + x = np.array(list(map(float, x))) # check if new_values are outside the range of the originals if (max(x) > max_x) or (min(x) < min_x): raise ValueError("Cannot extrapolate outside original parameter range") @@ -480,4 +480,4 @@ return polynomial_encoder, X, col_names def _bs_encode(param_dict,bsplineparameters, param_name): - print "not implemented yet" + print("not implemented yet") --- ./ccsnmultivar/catalog.py (original) +++ ./ccsnmultivar/catalog.py (refactored) @@ -75,7 +75,7 @@ freq_bin_lower = 40 fs = self._metadata['fs'] Y_transformed = {} - for key in self.Y_dict.keys(): + for key in list(self.Y_dict.keys()): # normalize by fs, bins have units strain/Hz fs = self._metadata["fs"] Y_transformed[key] = (1./fs)*np.fft.fft(self.Y_dict[key])[freq_bin_lower:freq_bin_upper] @@ -89,13 +89,13 @@ self.sigma = convert_psd_to_sigma(self.psd, dF) def _spectogram(self): - print "not implemented yet" + print("not implemented yet") def _amplitude(self): - print "not implemented yet" + print("not implemented yet") def _phase(self): - print "not implemented yet" + print("not implemented yet") def mcmc_hook(self): dF = RefactoringTool: No changes to ./ccsnmultivar/basis.py RefactoringTool: No changes to ./ccsnmultivar/__init__.py RefactoringTool: No changes to ./ccsnmultivar/GWUtils.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./docs/conf.py RefactoringTool: ./ccsnmultivar/multivar.py RefactoringTool: ./ccsnmultivar/designmatrix.py RefactoringTool: ./ccsnmultivar/catalog.py RefactoringTool: ./ccsnmultivar/basis.py RefactoringTool: ./ccsnmultivar/__init__.py RefactoringTool: ./ccsnmultivar/GWUtils.py self._metadata["dF"] @@ -141,7 +141,7 @@ """ # right now, Y_dict, using my ccsnmultivar github waveform sets - for key in Y_dict.keys(): + for key in list(Y_dict.keys()): Y_dict[key] = signal.decimate(Y_dict[key], 4, ftype='fir') metadata = {} metadata["fs"] = 4096. # in Hz @@ -168,7 +168,7 @@ wave_list = [x for x in wave_list if x != []] Y_dict = {} for i in np.arange(0,len(wave_list)): - Y_dict[wave_list[i][0]] = map(np.float, wave_list[i][1:]) + Y_dict[wave_list[i][0]] = list(map(np.float, wave_list[i][1:])) return Y_dict ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' ./setup.py ./docs/conf.py ./ccsnmultivar/multivar.py ./ccsnmultivar/designmatrix.py ./ccsnmultivar/catalog.py ./ccsnmultivar/basis.py ./ccsnmultivar/__init__.py ./ccsnmultivar/GWUtils.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97342 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-ccsnmultivar-0.0.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build --debug /usr/lib64/python3/site-packages/sklearn/utils/__init__.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working from collections import Sequence Traceback (most recent call last): File "setup.py", line 4, in import ccsnmultivar File "/usr/src/RPM/BUILD/python3-module-ccsnmultivar-0.0.5/ccsnmultivar/__init__.py", line 14, in from ccsnmultivar.basis import PCA, SPCA, ICA, SC File "/usr/src/RPM/BUILD/python3-module-ccsnmultivar-0.0.5/ccsnmultivar/basis.py", line 2, in from sklearn.decomposition import FastICA, SparsePCA, DictionaryLearning File "/usr/lib64/python3/site-packages/sklearn/__init__.py", line 134, in from .base import clone File "/usr/lib64/python3/site-packages/sklearn/base.py", line 13, in from .utils.fixes import signature File "/usr/lib64/python3/site-packages/sklearn/utils/__init__.py", line 11, in from .validation import (as_float_array, File "/usr/lib64/python3/site-packages/sklearn/utils/validation.py", line 23, in from joblib import Memory File "/usr/lib/python3/site-packages/joblib/__init__.py", line 119, in from .parallel import Parallel File "/usr/lib/python3/site-packages/joblib/parallel.py", line 28, in from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend, File "/usr/lib/python3/site-packages/joblib/_parallel_backends.py", line 22, in from .executor import get_memmapping_executor File "/usr/lib/python3/site-packages/joblib/executor.py", line 14, in from .externals.loky.reusable_executor import get_reusable_executor File "/usr/lib/python3/site-packages/joblib/externals/loky/__init__.py", line 12, in from .backend.reduction import set_loky_pickler File "/usr/lib/python3/site-packages/joblib/externals/loky/backend/reduction.py", line 125, in from joblib.externals import cloudpickle # noqa: F401 File "/usr/lib/python3/site-packages/joblib/externals/cloudpickle/__init__.py", line 3, in from .cloudpickle import * File "/usr/lib/python3/site-packages/joblib/externals/cloudpickle/cloudpickle.py", line 152, in _cell_set_template_code = _make_cell_set_template_code() File "/usr/lib/python3/site-packages/joblib/externals/cloudpickle/cloudpickle.py", line 133, in _make_cell_set_template_code return types.CodeType( TypeError: an integer is required (got type bytes) error: Bad exit status from /usr/src/tmp/rpm-tmp.97342 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.97342 (%build) Command exited with non-zero status 1 4.36user 0.28system 0:07.76elapsed 59%CPU (0avgtext+0avgdata 63220maxresident)k 0inputs+0outputs (0major+66891minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-ccsnmultivar-0.0.5-alt2.src.rpm' failed. Command exited with non-zero status 1 20.42user 4.02system 0:39.14elapsed 62%CPU (0avgtext+0avgdata 109224maxresident)k 9440inputs+0outputs (0major+544363minor)pagefaults 0swaps