<86>Mar 21 10:37:37 userdel[2192009]: delete user 'rooter' <86>Mar 21 10:37:37 userdel[2192009]: removed group 'rooter' owned by 'rooter' <86>Mar 21 10:37:37 userdel[2192009]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 21 10:37:37 groupadd[2192019]: group added to /etc/group: name=rooter, GID=567 <86>Mar 21 10:37:37 groupadd[2192019]: group added to /etc/gshadow: name=rooter <86>Mar 21 10:37:37 groupadd[2192019]: new group: name=rooter, GID=567 <86>Mar 21 10:37:37 useradd[2192032]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Mar 21 10:37:37 userdel[2192045]: delete user 'builder' <86>Mar 21 10:37:37 userdel[2192045]: removed group 'builder' owned by 'builder' <86>Mar 21 10:37:37 userdel[2192045]: removed shadow group 'builder' owned by 'builder' <86>Mar 21 10:37:37 groupadd[2192053]: group added to /etc/group: name=builder, GID=568 <86>Mar 21 10:37:37 groupadd[2192053]: group added to /etc/gshadow: name=builder <86>Mar 21 10:37:37 groupadd[2192053]: new group: name=builder, GID=568 <86>Mar 21 10:37:37 useradd[2192057]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Mar 21 10:37:41 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Mar 21 10:37:41 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Mar 21 10:37:41 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 21 10:37:41 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Mar 21 10:37:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 21 10:37:41 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 21 10:37:41 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Mar 21 10:37:41 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 21 10:37:41 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Mar 21 10:37:41 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 21 10:37:41 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Mar 21 10:37:41 rpmi: python3-3.8.1-alt1 sisyphus+245000.10.78.1 1583192667 installed <13>Mar 21 10:37:43 rpmi: python3-base-3.8.1-alt1 sisyphus+245000.10.78.1 1583192667 installed <13>Mar 21 10:37:43 rpmi: libpython3-3.8.1-alt1 sisyphus+245000.10.78.1 1583192667 installed <13>Mar 21 10:37:43 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 21 10:37:43 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 21 10:37:51 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Mar 21 10:37:51 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Mar 21 10:37:51 rpmi: python3-module-zope.interface-4.7.1-alt2 sisyphus+245000.21200.79.1 1583233808 installed <13>Mar 21 10:37:51 rpmi: libopenblas-0.2.20-alt2 sisyphus+229410.100.1.1 1557920019 installed <13>Mar 21 10:37:51 rpmi: libwayland-client-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 21 10:37:51 rpmi: perl-HTTP-Date-6.04-alt1 sisyphus+241046.100.1.1 1574192946 installed <13>Mar 21 10:37:51 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Mar 21 10:37:51 rpmi: python3-module-attrs-19.3.0-alt1 sisyphus+240796.100.1.1 1573741715 installed <13>Mar 21 10:37:52 rpmi: libtcl-8.6.10-alt1 sisyphus+241485.100.1.1 1574408316 installed <13>Mar 21 10:37:52 rpmi: perl-XML-NamespaceSupport-1.12-alt1 1491296348 installed <13>Mar 21 10:37:52 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Mar 21 10:37:52 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Mar 21 10:37:52 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Mar 21 10:37:52 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Mar 21 10:37:52 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Mar 21 10:37:52 rpmi: python3-module-idna-2.9-alt1 sisyphus+248055.100.1.1 1584555852 installed <13>Mar 21 10:37:52 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847335 installed <13>Mar 21 10:37:52 rpmi: libsqlite3-3.31.0-alt1 sisyphus+244880.100.1.1 1579796940 installed <13>Mar 21 10:37:52 rpmi: libfribidi-1.0.9-alt1 sisyphus+247242.1500.7.1 1583840860 installed <13>Mar 21 10:37:52 rpmi: liblcms2-2.9-alt1 1516411892 installed <13>Mar 21 10:37:52 rpmi: libglvnd-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 21 10:37:52 rpmi: libwayland-server-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 21 10:37:52 rpmi: perl-LWP-MediaTypes-6.04-alt1 sisyphus+225468.100.1.1 1553186684 installed <13>Mar 21 10:37:52 rpmi: perl-Compress-Raw-Zlib-2.093-alt1 sisyphus+242766.100.1.1 1576089368 installed <13>Mar 21 10:37:52 rpmi: perl-libnet-1:3.11-alt1 1511423541 installed <13>Mar 21 10:37:52 rpmi: perl-XML-SAX-Base-1.09-alt1 1494364363 installed <13>Mar 21 10:37:52 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870475 installed <13>Mar 21 10:37:52 rpmi: libnettle7-3.5.1-alt1 sisyphus+235265.40.6.1 1566223065 installed <13>Mar 21 10:37:52 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Mar 21 10:37:52 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Mar 21 10:37:52 rpmi: libhogweed5-3.5.1-alt1 sisyphus+235265.40.6.1 1566223065 installed <13>Mar 21 10:37:52 rpmi: libgnutls30-3.6.12-alt1 sisyphus+245480.200.1.1 1580826690 installed <13>Mar 21 10:37:52 rpmi: python3-module-hyperlink-19.0.0-alt1 sisyphus+231791.100.1.1 1560104463 installed <13>Mar 21 10:37:52 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568070 installed <13>Mar 21 10:37:52 rpmi: tcl-8.6.10-alt1 sisyphus+241485.100.1.1 1574408316 installed <13>Mar 21 10:37:52 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Mar 21 10:37:52 rpmi: libwayland-cursor-1.18.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 21 10:37:52 rpmi: libwayland-egl-4:18.1.0-alt1 sisyphus+245906.100.1.1 1581492503 installed <13>Mar 21 10:37:52 rpmi: python3-module-hamcrest-2.0.0-alt4.a1.git20150729 sisyphus+235493.2300.6.1 1565442379 installed <13>Mar 21 10:37:52 rpmi: python3-module-cycler-0.10.0-alt1.1 sisyphus+227479.1400.1.3 1555777401 installed <13>Mar 21 10:37:52 rpmi: python3-module-toml-0.10.0-alt3 sisyphus+235493.5400.8.1 1565463304 installed <13>Mar 21 10:37:53 rpmi: python3-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Mar 21 10:37:53 rpmi: python3-module-mpmath-0.19-alt1.git20150621.1.1.1.1 sisyphus+227503.2100.1.3 1555860908 installed <13>Mar 21 10:37:53 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Mar 21 10:37:53 rpmi: python3-module-pycares-2.3.0-alt1.1 sisyphus+245000.24500.79.1 1583243182 installed <13>Mar 21 10:37:53 rpmi: python3-module-linecache2-1.0.0-alt1.git20150306.2.1 sisyphus+228360.2100.5.2 1556666704 installed <13>Mar 21 10:37:53 rpmi: python3-module-traceback2-1.4.0-alt2.1 sisyphus+227534.300.1.3 1555957009 installed <13>Mar 21 10:37:53 rpmi: python3-module-kiwisolver-1.1.0-alt1 sisyphus+245000.10600.78.1 1583199877 installed <13>Mar 21 10:37:53 rpmi: python3-module-joblib-0.13.2-alt2 sisyphus+231908.1200.2.1 1560337361 installed <13>Mar 21 10:37:53 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Mar 21 10:37:53 rpmi: python3-module-zipp-0.5.0-alt1 sisyphus+229321.100.1.1 1557825329 installed <13>Mar 21 10:37:53 rpmi: python3-module-importlib_metadata-1.5.0-alt1 sisyphus+246069.300.1.1 1581604535 installed <13>Mar 21 10:37:53 rpmi: python3-module-pluggy-0.13.0-alt2 sisyphus+246682.100.1.1 1582205671 installed <13>Mar 21 10:37:53 rpmi: python3-module-funcsigs-1.0.2-alt2 sisyphus+228355.2600.2.1 1556560236 installed <13>Mar 21 10:37:53 rpmi: pytz-zoneinfo-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Mar 21 10:37:53 rpmi: python3-module-dateutil-2.7.3-alt1 1534408281 installed <13>Mar 21 10:37:53 rpmi: python3-module-certifi-2019.11.28-alt1 sisyphus+242017.100.1.1 1575039000 installed <13>Mar 21 10:37:53 rpmi: python3-module-click-7.0-alt1 sisyphus+233553.200.1.1 1561975479 installed <13>Mar 21 10:37:53 rpmi: python3-module-incremental-17.5.0-alt3 sisyphus+225625.45700.91.1 1555360824 installed <13>Mar 21 10:37:53 rpmi: python3-module-pyasn1-0.4.8-alt1 sisyphus+241541.100.2.1 1574620393 installed <13>Mar 21 10:37:53 rpmi: python3-module-pycryptodome-3.9.4-alt1 sisyphus+245000.30400.79.1 1583250648 installed <13>Mar 21 10:37:53 rpmi: python3-module-constantly-15.1.0-alt5.qa1 sisyphus+228353.1600.3.1 1556554115 installed <13>Mar 21 10:37:53 rpmi: python3-module-priority-1.3.0-alt1.qa1 sisyphus+228365.500.1.1 1556564499 installed <13>Mar 21 10:37:53 rpmi: python3-module-hyperframe-5.2.0-alt1 sisyphus+231788.100.1.1 1560100609 installed <13>Mar 21 10:37:53 rpmi: python3-module-hpack-3.0.0-alt1.qa1 sisyphus+227493.500.1.3 1555835217 installed <13>Mar 21 10:37:53 rpmi: python3-module-h2-3.0.1-alt3 sisyphus+235493.2200.6.1 1565442274 installed <13>Mar 21 10:37:53 rpmi: python3-module-z3c-3.0.0-alt3 sisyphus+220440.100.1.1 1549119447 installed <13>Mar 21 10:37:53 rpmi: python3-module-zc-1.0.0-alt6.2 1458024175 installed <13>Mar 21 10:37:53 rpmi: python3-module-zope-3.3.0-alt8.5 sisyphus+225625.33400.91.1 1555314837 installed <13>Mar 21 10:37:53 rpmi: python3-module-serial-3.4-alt1 1508504506 installed <13>Mar 21 10:37:53 rpmi: python3-module-pygobject-2.28.6-alt10.1.1.1 sisyphus+245000.34566.79.1 1583258586 installed <13>Mar 21 10:37:53 rpmi: python3-module-appdirs-1.4.3-alt2 sisyphus+246664.100.1.1 1582182741 installed <13>Mar 21 10:37:53 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Mar 21 10:37:53 rpmi: python3-module-py-1.8.0-alt5 sisyphus+242058.200.5.1 1575792989 installed <13>Mar 21 10:37:53 rpmi: python3-module-pytest-5.3.2-alt1 sisyphus+243085.100.1.1 1576516289 installed <13>Mar 21 10:37:53 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Mar 21 10:37:53 rpmi: python3-module-markupsafe-0.23-alt1.2.1.1 sisyphus+245000.5300.78.1 1583197735 installed <13>Mar 21 10:37:53 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Mar 21 10:37:53 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Mar 21 10:37:54 rpmi: python3-module-pytz-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Mar 21 10:37:54 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Mar 21 10:37:54 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Mar 21 10:37:54 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Mar 21 10:37:54 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>Mar 21 10:37:54 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Mar 21 10:37:54 rpmi: python3-module-cffi-1.13.2-alt2 sisyphus+245000.21000.79.1 1583233678 installed <13>Mar 21 10:37:55 rpmi: python3-module-cryptography-2.8-alt2 sisyphus+245000.21750.79.1 1583234301 installed <13>Mar 21 10:37:55 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Mar 21 10:37:55 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Mar 21 10:37:55 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Mar 21 10:37:55 rpmi: python3-module-requests-2.23.0-alt1 sisyphus+248062.500.2.1 1584568230 installed <13>Mar 21 10:37:55 rpmi: python-sphinx-objects.inv-1:2.3.9.20200226-alt1 sisyphus+247070.100.1.1 1582776513 installed <13>Mar 21 10:37:55 rpmi: libnumpy-py3-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382488 installed <13>Mar 21 10:37:55 rpmi: libnumpy-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382488 installed <13>Mar 21 10:37:55 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 21 10:37:55 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Mar 21 10:37:55 rpmi: python3-dev-3.8.1-alt1 sisyphus+245000.10.78.1 1583192667 installed <13>Mar 21 10:37:55 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-runner-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-logger-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-web-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-conch-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-names-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-pair-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:55 rpmi: python3-module-twisted-positioning-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:56 rpmi: python3-module-twisted-core-test-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:56 rpmi: python3-module-twisted-words-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:56 rpmi: python3-module-automat-0.7.0-alt1 sisyphus+233511.100.1.1 1561912741 installed <13>Mar 21 10:37:56 rpmi: python3-module-twisted-core-18.9.0-alt1 sisyphus+245000.25400.79.1 1583246892 installed <13>Mar 21 10:37:56 rpmi: python3-module-tornado-5.1.1-alt2 sisyphus+245000.7600.78.1 1583199244 installed <13>Mar 21 10:37:56 rpmi: libxblas-1.0.248-alt1.3 sisyphus+229150.100.1.1 1557388786 installed <13>Mar 21 10:37:56 rpmi: libxkbcommon-0.10.0-alt1 sisyphus+244530.100.1.1 1579516274 installed <13>Mar 21 10:37:56 rpmi: publicsuffix-list-dafsa-20200106-alt1 sisyphus+244007.100.1.1 1578588044 installed <13>Mar 21 10:37:56 rpmi: libpsl-0.21.0-alt2 sisyphus+237083.100.1.1 1567531657 installed <13>Mar 21 10:37:56 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Mar 21 10:37:56 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Mar 21 10:37:56 rpmi: libgudev-1:233-alt1 sisyphus+235422.100.1.1 1564855273 installed <13>Mar 21 10:37:56 rpmi: udev-rules-1:245-alt3 sisyphus+247793.100.1.1 1584118723 installed <13>Mar 21 10:37:56 rpmi: libquadmath0-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 21 10:37:56 rpmi: libgfortran5-9.2.1-alt3 sisyphus+245055.100.1.1 1580041617 installed <13>Mar 21 10:37:57 rpmi: liblapack-1:3.8.0-alt3 sisyphus+221521.100.1.1 1550134903 installed <13>Mar 21 10:37:57 rpmi: python3-module-numpy-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382488 installed <13>Mar 21 10:37:57 rpmi: python3-module-numpy-testing-1:1.15.4-alt5 sisyphus+247694.100.3.3 1584382488 installed <13>Mar 21 10:37:57 rpmi: libepoxy-1.5.4-alt1 sisyphus+242061.100.1.1 1575190160 installed <13>Mar 21 10:37:57 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Mar 21 10:37:57 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Mar 21 10:37:57 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Mar 21 10:37:57 groupadd[2212412]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 21 10:37:57 groupadd[2212412]: group added to /etc/gshadow: name=_keytab <86>Mar 21 10:37:57 groupadd[2212412]: new group: name=_keytab, GID=499 <13>Mar 21 10:37:57 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Mar 21 10:37:57 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Mar 21 10:37:57 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Mar 21 10:37:57 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:57 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:57 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:57 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:58 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:58 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:58 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:58 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:58 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:37:58 rpmi: libusb-1.0.23-alt1 sisyphus+237317.100.1.1 1568059905 installed <13>Mar 21 10:37:58 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013870 installed <13>Mar 21 10:37:58 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648241 installed <13>Mar 21 10:37:58 rpmi: libharfbuzz-2.6.4-alt2 sisyphus+247988.140.13.1 1584621552 installed <13>Mar 21 10:37:58 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276356 installed <13>Mar 21 10:37:58 rpmi: fontconfig-2.13.1-alt1 sisyphus+247349.100.1.2 1583841221 installed Updating fonts cache: <29>Mar 21 10:37:59 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Mar 21 10:37:59 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Mar 21 10:37:59 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Mar 21 10:37:59 rpmi: libdrm-1:2.4.100-alt1 sisyphus+240099.100.1.1 1572599774 installed <13>Mar 21 10:37:59 rpmi: libgbm-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 21 10:37:59 rpmi: perl-Try-Tiny-0.30-alt1 1514318058 installed <13>Mar 21 10:37:59 rpmi: perl-IO-Socket-IP-0.39-alt1 1494508514 installed <13>Mar 21 10:37:59 rpmi: perl-Compress-Raw-Bzip2-2.093-alt1 sisyphus+242765.100.1.1 1576089363 installed <13>Mar 21 10:37:59 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Mar 21 10:37:59 rpmi: perl-Term-ANSIColor-5.01-alt1 sisyphus+244783.100.1.2 1579747505 installed <13>Mar 21 10:37:59 rpmi: perl-Data-Dump-1.23-alt1 1444601978 installed <13>Mar 21 10:37:59 rpmi: perl-Filter-1.59-alt1.1 sisyphus+219907.400.1.1 1548343389 installed <13>Mar 21 10:37:59 rpmi: perl-Encode-3.04-alt1 sisyphus+247835.100.1.1 1584190307 installed <13>Mar 21 10:37:59 rpmi: perl-URI-1.76-alt1 sisyphus+220243.100.1.1 1548863244 installed <13>Mar 21 10:37:59 rpmi: perl-IO-Compress-2.093-alt1 sisyphus+243543.100.1.1 1577294382 installed <13>Mar 21 10:37:59 rpmi: perl-Net-HTTP-6.19-alt1 sisyphus+229756.100.1.1 1558454558 installed <13>Mar 21 10:37:59 rpmi: perl-HTML-Parser-3.72-alt1.2 sisyphus+219907.600.1.1 1548343581 installed <13>Mar 21 10:37:59 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Mar 21 10:37:59 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Mar 21 10:37:59 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Mar 21 10:37:59 rpmi: perl-HTTP-Message-6.22-alt1 sisyphus+246933.100.1.1 1582638146 installed <13>Mar 21 10:37:59 rpmi: perl-HTTP-Cookies-6.08-alt1 sisyphus+242242.100.1.1 1575454022 installed <13>Mar 21 10:37:59 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Mar 21 10:37:59 rpmi: perl-libwww-6.43-alt1 sisyphus+241824.100.1.3 1574885081 installed <13>Mar 21 10:37:59 rpmi: perl-XML-LibXML-2.0202-alt1 sisyphus+246834.100.1.1 1582544040 installed <13>Mar 21 10:37:59 rpmi: perl-XML-SAX-1.02-alt1 sisyphus+232322.100.1.1 1560758406 installed <13>Mar 21 10:37:59 rpmi: perl-XML-Simple-2.25-alt1 1521437714 installed <13>Mar 21 10:37:59 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Mar 21 10:38:01 rpmi: icon-theme-adwaita-3.36.0-alt1 sisyphus+247780.1100.3.2 1584199720 installed <13>Mar 21 10:38:01 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Mar 21 10:38:01 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Mar 21 10:38:01 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Mar 21 10:38:01 rpmi: libgdk-pixbuf-locales-2.40.0-alt1 sisyphus+238952.140.2.1 1570644607 installed <13>Mar 21 10:38:01 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Mar 21 10:38:01 rpmi: libproxy-0.4.15-alt3 sisyphus+227885.100.1.2 1555818599 installed <13>Mar 21 10:38:01 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Mar 21 10:38:01 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Mar 21 10:38:01 rpmi: shared-mime-info-1.15-alt1 sisyphus+240378.100.1.1 1573073800 installed <13>Mar 21 10:38:01 rpmi: gsettings-desktop-schemas-data-3.36.0-alt1 sisyphus+247780.300.3.2 1584198326 installed <13>Mar 21 10:38:01 rpmi: libgio-2.64.1-alt1 sisyphus+247780.100.3.2 1584198161 installed <13>Mar 21 10:38:01 rpmi: gsettings-desktop-schemas-3.36.0-alt1 sisyphus+247780.300.3.2 1584198368 installed <13>Mar 21 10:38:01 rpmi: gobject-introspection-1.64.0-alt1 sisyphus+247780.200.3.2 1584198320 installed <13>Mar 21 10:38:01 rpmi: libgdk-pixbuf-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Mar 21 10:38:01 rpmi: gobject-introspection-x11-1.64.0-alt1 sisyphus+247780.200.3.2 1584198320 installed <13>Mar 21 10:38:01 rpmi: libgusb-0.3.4-alt1 sisyphus+247875.100.1.1 1584292779 installed <13>Mar 21 10:38:01 rpmi: libcolord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606569 installed <13>Mar 21 10:38:01 rpmi: gtk-update-icon-cache-3.24.14-alt1 sisyphus+247780.700.3.2 1584199710 installed <13>Mar 21 10:38:01 rpmi: libgdk-pixbuf-gir-2.40.0-alt1 sisyphus+238952.140.2.1 1570644615 installed <13>Mar 21 10:38:01 rpmi: libatk-gir-2.34.1-alt1 sisyphus+237956.700.4.2 1569332796 installed <13>Mar 21 10:38:01 rpmi: glib-networking-2.64.0-alt1 sisyphus+247780.1200.3.2 1584199991 installed <13>Mar 21 10:38:01 rpmi: libsoup-2.70.0-alt1 sisyphus+247780.1300.3.2 1584200094 installed <13>Mar 21 10:38:01 rpmi: libsoup-gnome-2.70.0-alt1 sisyphus+247780.1300.3.2 1584200094 installed <13>Mar 21 10:38:01 rpmi: librest-0.8.1-alt1 1508266400 installed <13>Mar 21 10:38:01 rpmi: libdconf-0.36.0-alt1 sisyphus+247780.1000.3.2 1584199861 installed <13>Mar 21 10:38:01 rpmi: libjson-glib-1.4.4-alt1 sisyphus.213175.100 1537249589 installed <13>Mar 21 10:38:01 rpmi: liblz4-1:1.9.2-alt1 sisyphus+238585.100.2.2 1570066927 installed <13>Mar 21 10:38:01 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Mar 21 10:38:02 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Mar 21 10:38:02 rpmi: libsystemd-1:245-alt3 sisyphus+247793.100.1.1 1584118780 installed <13>Mar 21 10:38:02 rpmi: libdbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 21 10:38:02 rpmi: dbus-tools-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <86>Mar 21 10:38:02 groupadd[2217114]: group added to /etc/group: name=messagebus, GID=498 <86>Mar 21 10:38:02 groupadd[2217114]: group added to /etc/gshadow: name=messagebus <86>Mar 21 10:38:02 groupadd[2217114]: new group: name=messagebus, GID=498 <86>Mar 21 10:38:02 useradd[2217126]: new user: name=messagebus, UID=499, GID=498, home=/run/dbus, shell=/dev/null <13>Mar 21 10:38:02 rpmi: dbus-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 21 10:38:02 rpmi: dconf-0.36.0-alt1 sisyphus+247780.1000.3.2 1584199861 installed <13>Mar 21 10:38:02 rpmi: libgtk+3-schemas-3.24.14-alt1 sisyphus+247780.700.3.2 1584199511 installed <13>Mar 21 10:38:02 rpmi: libavahi-0.7-alt2 sisyphus+247785.100.1.1 1584114591 installed <13>Mar 21 10:38:02 rpmi: libcups-2.3.1-alt1 sisyphus+247381.100.2.2 1583841455 installed <13>Mar 21 10:38:02 rpmi: libpolkit-0.116-alt2 sisyphus+242835.100.1.1 1576161160 installed <86>Mar 21 10:38:02 groupadd[2217336]: group added to /etc/group: name=colord, GID=497 <86>Mar 21 10:38:02 groupadd[2217336]: group added to /etc/gshadow: name=colord <86>Mar 21 10:38:02 groupadd[2217336]: new group: name=colord, GID=497 <86>Mar 21 10:38:02 useradd[2217347]: new user: name=colord, UID=498, GID=497, home=/var/colord, shell=/dev/null <13>Mar 21 10:38:02 rpmi: colord-1.4.4-alt2 sisyphus+229904.100.1.1 1558606569 installed <13>Mar 21 10:38:02 rpmi: libxslt-1.1.34-alt1 sisyphus+240826.100.1.1 1573801860 installed <13>Mar 21 10:38:02 rpmi: python3-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Mar 21 10:38:02 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Mar 21 10:38:02 rpmi: python3-module-lxml-4.4.2-alt2 sisyphus+245000.16600.79.1 1583231220 installed <13>Mar 21 10:38:02 rpmi: python3-module-docutils-0.15.2-alt1 sisyphus+239215.200.1.1 1576583082 installed <13>Mar 21 10:38:02 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Mar 21 10:38:02 rpmi: python3-module-sphinxcontrib-applehelp-1.0.1-alt1 sisyphus+228217.100.1.1 1556282506 installed <13>Mar 21 10:38:02 rpmi: python3-module-sphinxcontrib-devhelp-1.0.1-alt1 sisyphus+228218.100.1.1 1556283262 installed <13>Mar 21 10:38:02 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Mar 21 10:38:02 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Mar 21 10:38:02 rpmi: python3-module-sphinxcontrib-qthelp-1.0.2-alt1 sisyphus+228215.100.1.1 1556282300 installed <13>Mar 21 10:38:02 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.3-alt1 sisyphus+228216.100.1.1 1556282403 installed <13>Mar 21 10:38:03 rpmi: python3-module-sphinx-1:2.2.0-alt3 sisyphus+238476.100.2.1 1569998637 installed <13>Mar 21 10:38:03 rpmi: python3-module-Pygments-2.4.2-alt2 sisyphus+245852.1100.2.1 1581424681 installed <13>Mar 21 10:38:03 rpmi: python3-module-pip-19.3.1-alt1 sisyphus+239412.200.3.1 1571409804 installed <13>Mar 21 10:38:03 rpmi: libX11-locales-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056781 installed <13>Mar 21 10:38:03 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Mar 21 10:38:03 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Mar 21 10:38:03 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Mar 21 10:38:04 rpmi: libX11-3:1.6.9-alt1 sisyphus+239210.100.1.1 1571056801 installed <13>Mar 21 10:38:04 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Mar 21 10:38:04 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Mar 21 10:38:04 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Mar 21 10:38:04 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Mar 21 10:38:04 rpmi: libtk-8.6.10-alt1 sisyphus+241485.200.1.1 1574408436 installed <13>Mar 21 10:38:04 rpmi: tk-8.6.10-alt1 sisyphus+241485.200.1.1 1574408436 installed <13>Mar 21 10:38:04 rpmi: libat-spi2-core-2.36.0-alt1 sisyphus+247780.1600.3.2 1584200495 installed <13>Mar 21 10:38:04 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Mar 21 10:38:04 rpmi: tcl-tix-8.4.3-alt3 sisyphus.213276.100 1537348650 installed <13>Mar 21 10:38:04 rpmi: python3-modules-tkinter-3.8.1-alt1 sisyphus+245000.10.78.1 1583192667 installed <13>Mar 21 10:38:04 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Mar 21 10:38:04 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Mar 21 10:38:04 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Mar 21 10:38:04 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Mar 21 10:38:04 rpmi: libGLX-mesa-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 21 10:38:04 rpmi: libEGL-mesa-4:20.0.2-alt1 sisyphus+248079.100.1.1 1584608940 installed <13>Mar 21 10:38:04 rpmi: libEGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 21 10:38:04 rpmi: libGLX-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 21 10:38:04 rpmi: libGL-7:1.3.1-alt1 sisyphus+247547.100.1.2 1583859568 installed <13>Mar 21 10:38:04 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Mar 21 10:38:04 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Mar 21 10:38:04 rpmi: libpango-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Mar 21 10:38:04 rpmi: libpango-gir-1.44.7-alt1 sisyphus+239731.100.1.1 1571986949 installed <13>Mar 21 10:38:04 rpmi: python3-module-pycairo-1.19.1-alt1 sisyphus+248076.100.1.1 1584682657 installed <13>Mar 21 10:38:04 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Mar 21 10:38:04 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Mar 21 10:38:04 rpmi: dbus-tools-gui-1.12.16-alt2 sisyphus+240566.100.2.1 1573547696 installed <13>Mar 21 10:38:04 rpmi: at-spi2-core-2.36.0-alt1 sisyphus+247780.1600.3.2 1584200495 installed <13>Mar 21 10:38:04 rpmi: at-spi2-atk-2.34.2-alt1 sisyphus+247242.200.7.1 1583839952 installed <13>Mar 21 10:38:04 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Mar 21 10:38:05 rpmi: libgtk+3-3.24.14-alt1 sisyphus+247780.700.3.2 1584199710 installed <13>Mar 21 10:38:05 rpmi: libgtk+3-gir-3.24.14-alt1 sisyphus+247780.700.3.2 1584199710 installed <13>Mar 21 10:38:05 rpmi: python3-module-pygobject3-3.36.0-alt1 sisyphus+247780.3200.3.2 1584203381 installed <13>Mar 21 10:38:05 rpmi: python3-module-mpl_toolkits-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384889 installed <13>Mar 21 10:38:05 rpmi: python3-module-matplotlib-cairo-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384889 installed <13>Mar 21 10:38:05 rpmi: python3-module-matplotlib-tk-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384889 installed <13>Mar 21 10:38:06 rpmi: python3-module-matplotlib-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384889 installed <13>Mar 21 10:38:06 rpmi: python3-module-matplotlib-gtk3-2.2.3-alt6 sisyphus+247694.1400.3.3 1584384889 installed <13>Mar 21 10:38:08 rpmi: python3-module-scipy-1.2.0-alt6 sisyphus+245000.25140.79.1 1583246015 installed <13>Mar 21 10:38:08 rpmi: python3-module-scikit-learn-tests-0.19.1-alt2.1 sisyphus+245000.54300.84.1 1583674681 installed <13>Mar 21 10:38:09 rpmi: python3-module-scikit-learn-0.19.1-alt2.1 sisyphus+245000.54300.84.1 1583674681 installed <13>Mar 21 10:38:09 rpmi: python3-module-pbr-5.4.4-alt1 sisyphus+242745.100.1.1 1576083899 installed <13>Mar 21 10:38:09 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Mar 21 10:38:09 rpmi: python3-module-unittest2-1.1.0-alt3 sisyphus+227535.1100.2.1 1556009290 installed <13>Mar 21 10:38:09 rpmi: python3-module-tabulate-0.7.3-alt2 sisyphus+227531.1600.1.2 1555925404 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.18980 + 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.39691 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug /usr/lib/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/lib/python3/site-packages/sklearn/__init__.py", line 134, in from .base import clone File "/usr/lib/python3/site-packages/sklearn/base.py", line 13, in from .utils.fixes import signature File "/usr/lib/python3/site-packages/sklearn/utils/__init__.py", line 11, in from .validation import (as_float_array, File "/usr/lib/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.39691 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.39691 (%build) Command exited with non-zero status 1 6.41user 0.42system 0:07.96elapsed 85%CPU (0avgtext+0avgdata 49316maxresident)k 0inputs+0outputs (0major+42493minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-ccsnmultivar-0.0.5-alt2.src.rpm' failed. Command exited with non-zero status 1 34.73user 9.60system 0:49.95elapsed 88%CPU (0avgtext+0avgdata 108800maxresident)k 49792inputs+0outputs (0major+552555minor)pagefaults 0swaps