<86>Jan 26 09:08:11 userdel[20517]: delete user 'rooter' <86>Jan 26 09:08:11 userdel[20517]: removed group 'rooter' owned by 'rooter' <86>Jan 26 09:08:11 userdel[20517]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 09:08:11 groupadd[20527]: group added to /etc/group: name=rooter, GID=600 <86>Jan 26 09:08:11 groupadd[20527]: group added to /etc/gshadow: name=rooter <86>Jan 26 09:08:11 groupadd[20527]: new group: name=rooter, GID=600 <86>Jan 26 09:08:11 useradd[20536]: new user: name=rooter, UID=600, GID=600, home=/root, shell=/bin/bash <86>Jan 26 09:08:11 userdel[20553]: delete user 'builder' <86>Jan 26 09:08:11 userdel[20553]: removed group 'builder' owned by 'builder' <86>Jan 26 09:08:11 userdel[20553]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 09:08:11 groupadd[20568]: group added to /etc/group: name=builder, GID=601 <86>Jan 26 09:08:11 groupadd[20568]: group added to /etc/gshadow: name=builder <86>Jan 26 09:08:11 groupadd[20568]: new group: name=builder, GID=601 <86>Jan 26 09:08:11 useradd[20574]: new user: name=builder, UID=601, GID=601, home=/usr/src, shell=/bin/bash <13>Jan 26 09:08:19 rpmi: perl-Encode-2.88-alt1 1482254760 installed <13>Jan 26 09:08:19 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 09:08:19 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 09:08:19 rpmi: libjpeg-2:1.3.1-alt0.1 1388074039 installed <13>Jan 26 09:08:19 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 09:08:19 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 09:08:19 rpmi: libwayland-client-1.12.0-alt1 1475000260 installed <13>Jan 26 09:08:19 rpmi: libsqlite3-3.15.2-alt1 1480432278 installed <13>Jan 26 09:08:19 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Jan 26 09:08:19 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 26 09:08:20 rpmi: libicu56-1:5.6.1-alt1.1 1458012365 installed <13>Jan 26 09:08:20 rpmi: liblcms2-2.8-alt1 1471601532 installed <13>Jan 26 09:08:20 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Jan 26 09:08:20 rpmi: libtasn1-4.9-alt1 1469555632 installed <13>Jan 26 09:08:20 rpmi: libwayland-cursor-1.12.0-alt1 1475000260 installed <13>Jan 26 09:08:20 rpmi: libwxBase3.0-3.0.3-alt7.git20160409 1461196039 installed <13>Jan 26 09:08:20 rpmi: libgstreamer-0.10.36-alt1 1329849828 installed <13>Jan 26 09:08:21 rpmi: libwebp6-0.5.2-alt1 1482953285 installed <13>Jan 26 09:08:21 rpmi: liborc-0.4.26-alt1 1473004961 installed <13>Jan 26 09:08:21 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158703 installed <13>Jan 26 09:08:21 rpmi: libxkbcommon-0.7.1-alt1 1485226913 installed <13>Jan 26 09:08:21 rpmi: libgraphene-1.5.4-alt1 1484064194 installed <13>Jan 26 09:08:21 rpmi: libepoxy-1.3.1-alt1 1460399707 installed <13>Jan 26 09:08:21 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Jan 26 09:08:21 rpmi: perl-Compress-Raw-Zlib-2.071-alt1 1484413310 installed <13>Jan 26 09:08:21 rpmi: perl-libnet-1:3.10-alt1 1474400822 installed <13>Jan 26 09:08:21 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Jan 26 09:08:21 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Jan 26 09:08:21 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Jan 26 09:08:21 rpmi: libnettle6-3.3-alt1 1475520030 installed <13>Jan 26 09:08:21 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 26 09:08:21 rpmi: libSM-1.2.2-alt1 1391072690 installed <13>Jan 26 09:08:21 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 09:08:21 rpmi: libhogweed4-3.3-alt1 1475520030 installed <13>Jan 26 09:08:21 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Jan 26 09:08:21 rpmi: libgst-plugins-0.10.36-alt1 1329850297 installed <13>Jan 26 09:08:21 rpmi: libjavascriptcoregtk3-2.4.11-alt1 1471643689 installed <13>Jan 26 09:08:21 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Jan 26 09:08:21 rpmi: libjasper-1.900.13-alt1 1482328269 installed <13>Jan 26 09:08:21 rpmi: libssh2-1.4.3-alt2 1448445219 installed <13>Jan 26 09:08:21 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Jan 26 09:08:21 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Jan 26 09:08:21 rpmi: libtcl-8.5.9-alt2 1351878908 installed <13>Jan 26 09:08:21 rpmi: libhunspell-1.3.1-alt1 1297079098 installed <13>Jan 26 09:08:21 rpmi: libenchant-1.6.0-alt3.qa1 1460409853 installed <13>Jan 26 09:08:21 rpmi: libmspack-0.5-alt1 1439653862 installed <13>Jan 26 09:08:21 rpmi: python-module-OpenGL_accelerate-3.1.0-alt2.1.1 1459660360 installed <13>Jan 26 09:08:21 rpmi: python-module-xstatic-1.0.1-alt1.1.1 1464111442 installed <13>Jan 26 09:08:21 rpmi: python-module-xstatic-term.js-0.0.4.2-alt1.1.1.1 1464130799 installed <13>Jan 26 09:08:21 rpmi: python-module-enum34-1.1.6-alt1 1484233389 installed <13>Jan 26 09:08:21 rpmi: libxapian-1.2.23-alt1 1459318489 installed <13>Jan 26 09:08:21 rpmi: python-module-xapian-1.2.23-alt2 1475504928 installed <13>Jan 26 09:08:21 rpmi: python-module-google-0.4.2-alt2 1484663741 installed <13>Jan 26 09:08:21 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Jan 26 09:08:21 rpmi: python-sphinx-objects.inv-1:2.3.7.20170117-alt1 1484721065 installed <13>Jan 26 09:08:22 rpmi: python-module-mistune-0.7-alt3.git20150811.1 1459585354 installed <13>Jan 26 09:08:22 rpmi: python-module-z3c-3.0.0-alt2.a2.dev0.git20130313.1.1.1 1460417087 installed <13>Jan 26 09:08:22 rpmi: libnghttp2-1.15.0-alt1 1474972278 installed <13>Jan 26 09:08:22 rpmi: python-module-pycares-2.1.1-alt1 1478104017 installed <13>Jan 26 09:08:22 rpmi: python-module-backports_abc-0.5-alt1 1480496454 installed <13>Jan 26 09:08:22 rpmi: python-module-ordereddict-1.1-alt1.1 1321445242 installed <13>Jan 26 09:08:22 rpmi: python-module-certifi-2016.9.26-alt1 1484206868 installed <13>Jan 26 09:08:22 rpmi: pytz-zoneinfo-1:2016.10-alt1 1484291011 installed <13>Jan 26 09:08:22 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Jan 26 09:08:22 rpmi: libxblas-1.0.248-alt1 1322010690 installed <13>Jan 26 09:08:22 rpmi: libquadmath0-6.3.1-alt1 1484277945 installed <13>Jan 26 09:08:22 rpmi: libgfortran3-6.3.1-alt1 1484277945 installed <13>Jan 26 09:08:22 rpmi: liblapack-1:3.5.0-alt1 1401382336 installed <13>Jan 26 09:08:22 rpmi: libnumpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 09:08:22 rpmi: vulkan-filesystem-1.0.37-alt0.3 1482962895 installed <13>Jan 26 09:08:22 rpmi: libdatrie-0.2.8-alt1_5 1410185970 installed <13>Jan 26 09:08:23 rpmi: libthai-0.1.25-alt1_1 1482119595 installed <13>Jan 26 09:08:23 rpmi: libgudev-1:230-alt1 1434908202 installed <13>Jan 26 09:08:23 rpmi: udev-rules-1:232-alt1 1485301381 installed <13>Jan 26 09:08:23 rpmi: libusb-1.0.21-alt1 1483126208 installed <13>Jan 26 09:08:23 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Jan 26 09:08:23 rpmi: libwayland-server-1.12.0-alt1 1475000260 installed <13>Jan 26 09:08:23 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 09:08:23 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 09:08:23 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 09:08:23 rpmi: libgbm-4:13.0.3-alt1 1484223040 installed <13>Jan 26 09:08:23 rpmi: libev4-4.22-alt1 1450870477 installed <13>Jan 26 09:08:23 rpmi: libzeromq-4.0.5-alt1.qa1 1460547564 installed <13>Jan 26 09:08:23 rpmi: python-module-simplegeneric-0.8.1-alt1.1.1 1460077419 installed <13>Jan 26 09:08:23 rpmi: icon-theme-hicolor-0.15-alt1 1427614911 installed <13>Jan 26 09:08:23 rpmi: perl-IO-Socket-IP-0.38-alt1 1474806598 installed <13>Jan 26 09:08:23 rpmi: perl-Compress-Raw-Bzip2-2.070-alt1 1483040387 installed <13>Jan 26 09:08:23 rpmi: perl-IO-Compress-2.070-alt1 1483042572 installed <13>Jan 26 09:08:23 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Jan 26 09:08:23 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Jan 26 09:08:23 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Jan 26 09:08:23 rpmi: perl-Net-HTTP-6.12-alt1 1484598721 installed <13>Jan 26 09:08:23 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Jan 26 09:08:23 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Jan 26 09:08:23 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Jan 26 09:08:23 rpmi: perl-XML-LibXML-2.0128-alt1 1469793023 installed <13>Jan 26 09:08:23 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Jan 26 09:08:23 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Jan 26 09:08:23 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Jan 26 09:08:24 rpmi: icon-theme-adwaita-3.22.0-alt1 1475001651 installed <13>Jan 26 09:08:24 rpmi: libgdk-pixbuf-locales-2.36.4-alt1 1484599807 installed <13>Jan 26 09:08:24 rpmi: libproxy-0.4.14-alt1 1484898143 installed <13>Jan 26 09:08:24 rpmi: libnspr-1:4.13.1-alt1 1477067643 installed <13>Jan 26 09:08:25 rpmi: libnss-3.27.1-alt1 1477068087 installed <13>Jan 26 09:08:25 rpmi: libp11-kit-trust-0.23.3-alt1 1482509533 installed <13>Jan 26 09:08:25 rpmi: libp11-kit-0.23.3-alt1 1482509533 installed <13>Jan 26 09:08:25 rpmi: libidn-1.33-alt2.1 1484243044 installed <13>Jan 26 09:08:25 rpmi: libgnutls30-3.5.8-alt1 1484157811 installed <13>Jan 26 09:08:25 rpmi: t1lib-5.1.2-alt5 1326979780 installed <13>Jan 26 09:08:25 rpmi: libkpathsea-2008.0-alt0.15.6 1449446966 installed <13>Jan 26 09:08:25 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 09:08:25 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 09:08:25 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 09:08:25 rpmi: fontconfig-2.12.1-alt1 1471005373 installed Updating fonts cache: <29>Jan 26 09:08:26 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 26 09:08:26 rpmi: libharfbuzz-icu-1.4.2-alt1 1485254798 installed <13>Jan 26 09:08:26 rpmi: libatk-locales-2.22.0-alt1 1475000161 installed <13>Jan 26 09:08:26 rpmi: libatk-2.22.0-alt1 1475000161 installed <13>Jan 26 09:08:26 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Jan 26 09:08:26 rpmi: shared-mime-info-1.8-alt1 1482128522 installed <13>Jan 26 09:08:26 rpmi: gsettings-desktop-schemas-data-3.22.0-alt1 1474999772 installed <13>Jan 26 09:08:26 rpmi: libgio-2.50.2-alt1 1478537771 installed <13>Jan 26 09:08:26 rpmi: gsettings-desktop-schemas-3.22.0-alt1 1474999772 installed <13>Jan 26 09:08:26 rpmi: libgdk-pixbuf-2.36.4-alt1 1484599807 installed <13>Jan 26 09:08:26 rpmi: gobject-introspection-1.50.0-alt1 1474999706 installed <13>Jan 26 09:08:26 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461664 installed <13>Jan 26 09:08:26 rpmi: gobject-introspection-x11-1.50.0-alt1 1474999706 installed <13>Jan 26 09:08:26 rpmi: libgusb-0.2.9-alt1 1458988445 installed <13>Jan 26 09:08:26 rpmi: libcolord-1.3.4-alt1 1480239173 installed <13>Jan 26 09:08:26 rpmi: libjson-glib-1.2.2-alt1 1469787424 installed <13>Jan 26 09:08:26 rpmi: libgstreamer1.0-1.10.2-alt1 1480434262 installed <13>Jan 26 09:08:27 rpmi: libgst-plugins1.0-1.10.2-alt1 1480434656 installed <13>Jan 26 09:08:27 rpmi: libatk-gir-2.22.0-alt1 1475000161 installed <13>Jan 26 09:08:27 rpmi: libgdk-pixbuf-gir-2.36.4-alt1 1484599807 installed <13>Jan 26 09:08:27 rpmi: libgraphene-gir-1.5.4-alt1 1484064194 installed <13>Jan 26 09:08:27 rpmi: libnotify-0.7.7-alt1.1 1484599436 installed <13>Jan 26 09:08:27 rpmi: glib-networking-2.50.0-alt1 1475002318 installed <13>Jan 26 09:08:27 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 09:08:27 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 09:08:27 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 09:08:27 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 09:08:27 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 09:08:27 rpmi: dbus-tools-1.10.12-alt1 1476116348 installed <86>Jan 26 09:08:27 groupadd[17608]: group added to /etc/group: name=messagebus, GID=499 <86>Jan 26 09:08:27 groupadd[17608]: group added to /etc/gshadow: name=messagebus <86>Jan 26 09:08:27 groupadd[17608]: new group: name=messagebus, GID=499 <86>Jan 26 09:08:27 useradd[17630]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Jan 26 09:08:27 rpmi: dbus-1.10.12-alt1 1476116348 installed <13>Jan 26 09:08:27 rpmi: libxslt-1.1.28-alt4 1448210408 installed <13>Jan 26 09:08:27 rpmi: libavahi-0.6.31-alt7 1455303496 installed <13>Jan 26 09:08:27 rpmi: libpolkit-0.113-alt2 1469643484 installed <86>Jan 26 09:08:27 groupadd[17811]: group added to /etc/group: name=colord, GID=498 <86>Jan 26 09:08:27 groupadd[17811]: group added to /etc/gshadow: name=colord <86>Jan 26 09:08:27 groupadd[17811]: new group: name=colord, GID=498 <86>Jan 26 09:08:27 useradd[17827]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Jan 26 09:08:27 rpmi: colord-1.3.4-alt1 1480239173 installed <13>Jan 26 09:08:27 rpmi: libsecret-0.18.5-alt1 1458897266 installed <13>Jan 26 09:08:27 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 09:08:27 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 09:08:27 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 09:08:27 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 09:08:27 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 09:08:27 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 09:08:27 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 09:08:27 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 09:08:27 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 09:08:27 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Jan 26 09:08:27 rpmi: libXcursor-1.1.14-alt1 1369901598 installed <13>Jan 26 09:08:27 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 09:08:27 rpmi: libXi-1.7.4-alt1 1409902879 installed <13>Jan 26 09:08:27 rpmi: libXinerama-1.1.3-alt1 1369984572 installed <13>Jan 26 09:08:27 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Jan 26 09:08:27 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 09:08:27 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 09:08:27 rpmi: libEGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 09:08:27 rpmi: libcairo-1:1.14.4-alt1 1447005511 installed <13>Jan 26 09:08:27 rpmi: libpango-1.40.3-alt1 1473777869 installed <13>Jan 26 09:08:27 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005511 installed <13>Jan 26 09:08:27 rpmi: libwayland-egl-4:13.0.3-alt1 1484223040 installed <13>Jan 26 09:08:27 rpmi: libat-spi2-core-2.22.0-alt1 1475095398 installed <13>Jan 26 09:08:27 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Jan 26 09:08:27 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Jan 26 09:08:27 rpmi: libgd2-2.0.35-alt6 1366289715 installed <13>Jan 26 09:08:27 rpmi: dvipng-1.14-alt1.qa1.1 1449176657 installed <13>Jan 26 09:08:27 rpmi: libpango-gir-1.40.3-alt1 1473777869 installed <13>Jan 26 09:08:28 rpmi: libtk-8.5.9-alt3 1308047276 installed <13>Jan 26 09:08:28 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Jan 26 09:08:28 rpmi: dbus-tools-gui-1.10.12-alt1 1476116348 installed <13>Jan 26 09:08:28 rpmi: at-spi2-core-2.22.0-alt1 1475095398 installed <13>Jan 26 09:08:28 rpmi: at-spi2-atk-2.22.0-alt1 1475095491 installed <13>Jan 26 09:08:28 rpmi: vulkan-1.0.37-alt0.3 1482962895 installed <13>Jan 26 09:08:28 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Jan 26 09:08:28 rpmi: libncurses-devel-5.9-alt8 1456756589 installed <13>Jan 26 09:08:28 rpmi: python-modules-curses-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:28 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 09:08:28 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 09:08:28 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 09:08:28 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <13>Jan 26 09:08:28 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 09:08:28 rpmi: python-modules-compiler-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:28 rpmi: python-modules-email-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:28 rpmi: python-modules-unittest-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:28 rpmi: python-modules-encodings-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-modules-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-modules-json-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-modules-ctypes-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-modules-xml-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-module-ipython_genutils-0.1.0-alt1.1.1 1458030672 installed <13>Jan 26 09:08:29 rpmi: python-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 09:08:29 rpmi: python-modules-multiprocessing-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-modules-logging-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-modules-sqlite3-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:29 rpmi: python-module-decorator-4.0.11-alt1 1484508571 installed <13>Jan 26 09:08:29 rpmi: python-module-traitlets-4.0.0-alt1.1.1 1458142092 installed <13>Jan 26 09:08:29 rpmi: python-module-jupyter_core-4.2.1-alt1 1484246028 installed <13>Jan 26 09:08:29 rpmi: rpm-build-python3-0.1.11-alt1 1484131403 installed <13>Jan 26 09:08:29 rpmi: python3-3.5.1-alt7 1462447642 installed <13>Jan 26 09:08:30 rpmi: python3-base-3.5.1-alt7 1462447642 installed <13>Jan 26 09:08:30 rpmi: libcups-2.2.1-alt1 1480317617 installed <13>Jan 26 09:08:30 rpmi: libsoup-2.56.0-alt1 1475002497 installed <13>Jan 26 09:08:30 rpmi: python-tools-2to3-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:30 rpmi: python-modules-hotshot-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:30 rpmi: python-module-ptyprocess-0.5-alt1.git20150617.1 1458070384 installed <13>Jan 26 09:08:30 rpmi: python-module-simplejson-3.10.0-alt1 1484334605 installed <13>Jan 26 09:08:30 rpmi: libsoup-gnome-2.56.0-alt1 1475002497 installed <13>Jan 26 09:08:30 rpmi: librest-0.8.0-alt1 1460981119 installed <13>Jan 26 09:08:31 rpmi: libgtk+3-3.22.7-alt1 1484604993 installed <13>Jan 26 09:08:32 rpmi: libwebkitgtk3-2.4.11-alt1 1471643689 installed <13>Jan 26 09:08:33 rpmi: libwxGTK3.0-3.0.3-alt7.git20160409 1461196039 installed <13>Jan 26 09:08:33 rpmi: libwxGTK3.0-gl-3.0.3-alt7.git20160409 1461196039 installed <13>Jan 26 09:08:33 rpmi: libwxGTK3.0-media-3.0.3-alt7.git20160409 1461196039 installed <13>Jan 26 09:08:34 rpmi: libgtk+4-3.89.3-alt1 1485229937 installed <13>Jan 26 09:08:34 rpmi: libgtk+4-gir-3.89.3-alt1 1485229937 installed <13>Jan 26 09:08:34 rpmi: libgtk+2-2.24.31-alt1 1473461664 installed <13>Jan 26 09:08:34 rpmi: python-module-SQLAlchemy-1.0.12-alt1 1461160349 installed <13>Jan 26 09:08:34 rpmi: python-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Jan 26 09:08:34 rpmi: python-module-cycler-0.9.0-alt1.post1.git20150822.1 1457911560 installed <13>Jan 26 09:08:34 rpmi: python-module-singledispatch-3.4.0.3-alt1.1.1 1458110852 installed <13>Jan 26 09:08:34 rpmi: python-modules-bsddb-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:34 rpmi: python-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:34 rpmi: python-strict-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:35 rpmi: python-dev-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:35 rpmi: python-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 09:08:35 rpmi: python-module-pygobject-2.28.6-alt4 1459475902 installed <13>Jan 26 09:08:35 rpmi: python-module-numpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 09:08:35 rpmi: python-module-numpy-testing-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 09:08:35 rpmi: python-module-pygobject3-3.22.0-alt1 1475030118 installed <13>Jan 26 09:08:35 rpmi: python-module-pycairo-1.10.1-alt2.git20120522 1349930181 installed <13>Jan 26 09:08:35 rpmi: python-module-pygtk-2.24.0-alt6 1380567735 installed <13>Jan 26 09:08:35 rpmi: python-module-idna-2.1-alt1 1469450470 installed <13>Jan 26 09:08:35 rpmi: python-module-pyasn1-0.1.8-alt2.1.1.1 1460405470 installed <13>Jan 26 09:08:35 rpmi: python-module-pymongo-3.4.0-alt1 1482148599 installed <13>Jan 26 09:08:35 rpmi: python-module-bson-3.4.0-alt1 1482148599 installed <13>Jan 26 09:08:35 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Jan 26 09:08:35 rpmi: python-module-future-0.15.0-alt1.git20150725.1.1 1457958859 installed <13>Jan 26 09:08:36 rpmi: python-module-pyglet-1.3.0-alt4.a1.hg20150730.1.1.1 1460413686 installed <13>Jan 26 09:08:36 rpmi: python-module-greenlet-0.4.11-alt1 1484263010 installed <13>Jan 26 09:08:36 rpmi: python-module-pexpect-4.2.1-alt1 1484670469 installed <13>Jan 26 09:08:36 rpmi: python-module-pycparser-2.14-alt1.1 1458071180 installed <13>Jan 26 09:08:36 rpmi: python-module-cffi-1.4.2-alt1.1 1459590369 installed <13>Jan 26 09:08:36 rpmi: python-module-gevent-1.1.0-alt2.b4.dev0.git20150825.3 1461736705 installed <13>Jan 26 09:08:36 rpmi: python-module-zmq-16.0.2-alt1 1480509684 installed <13>Jan 26 09:08:36 rpmi: python-module-jupyter_client-4.0.0-alt2.1.1 1458050319 installed <13>Jan 26 09:08:36 rpmi: python-module-Pillow-3.0.0-alt2.dev0.git20150806.1 1464002641 installed <13>Jan 26 09:08:36 rpmi: python-module-dateutil-2.4.2-alt1 1438325427 installed <13>Jan 26 09:08:36 rpmi: python-module-pyparsing-2.0.3-alt1 1423469752 installed <13>Jan 26 09:08:37 rpmi: python-module-matplotlib-1.5.0-alt5.git20150829 1464448387 installed <13>Jan 26 09:08:37 rpmi: python-module-matplotlib-gtk3-1.5.0-alt5.git20150829 1464448387 installed <13>Jan 26 09:08:37 rpmi: python-module-zc-1.0.0-alt6.2 1458024175 installed <13>Jan 26 09:08:37 rpmi: python-module-zope-3.3.0-alt8.4 1458261152 installed <13>Jan 26 09:08:37 rpmi: python-module-zope.interface-4.3.3-alt1 1484368232 installed <13>Jan 26 09:08:37 rpmi: python-module-genshi-0.7-alt1.1.1.1 1460400448 installed <13>Jan 26 09:08:37 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Jan 26 09:08:37 rpmi: python-module-html5lib-1:0.999999-alt1.1.1.1 1460400556 installed <13>Jan 26 09:08:37 rpmi: python-module-lxml-3.5.0-alt2.beta1.git20150727 1462232478 installed <13>Jan 26 09:08:37 rpmi: python-module-docutils-0.13.1-alt1 1484230885 installed <13>Jan 26 09:08:37 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jan 26 09:08:38 rpmi: python-module-babel-1:2.3.4-alt1 1477346033 installed <13>Jan 26 09:08:38 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Jan 26 09:08:38 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jan 26 09:08:39 rpmi: python-module-OpenGL-3.1.0-alt2.1.1 1460391917 installed <13>Jan 26 09:08:39 rpmi: python-module-enchant-1.6.5-alt5 1460390695 installed <13>Jan 26 09:08:40 rpmi: python-module-wx3.0-1:3.0.2.0-alt1 1462378372 installed <13>Jan 26 09:08:40 rpmi: python-module-functools32-3.2.3.2-alt1.git20150711 1438148996 installed <13>Jan 26 09:08:40 rpmi: python-module-jsonschema-2.5.1-alt1.1 1458050079 installed <13>Jan 26 09:08:40 rpmi: python-module-nbformat-4.0.0-alt1.1.1 1457992243 installed <13>Jan 26 09:08:40 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459594456 installed <13>Jan 26 09:08:40 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 09:08:40 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 09:08:40 rpmi: python-module-alabaster-0.7.6-alt2.git20150703 1461344248 installed <13>Jan 26 09:08:40 rpmi: python-module-sphinx-1:1.4.1-alt2 1461380581 installed <13>Jan 26 09:08:40 rpmi: python-module-Pygments-2.1.3-alt1 1461350990 installed <13>Jan 26 09:08:40 rpmi: python-module-backports-3.5.0.1-alt1.1 1464090963 installed <13>Jan 26 09:08:40 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt1.1 1464090963 installed <13>Jan 26 09:08:40 rpmi: python-modules-wsgiref-2.7.11-alt3 1460726037 installed <13>Jan 26 09:08:41 rpmi: python-module-chardet-2.3.0-alt1.1.1 1460394196 installed <13>Jan 26 09:08:41 rpmi: python-module-ndg-0.4.2-alt1 1484251937 installed <13>Jan 26 09:08:41 rpmi: python-module-ipaddress-1.0.18-alt1 1484265761 installed <13>Jan 26 09:08:41 rpmi: python-module-cryptography-1.7.1-alt1 1481885339 installed <13>Jan 26 09:08:41 rpmi: python-module-OpenSSL-16.2.0-alt1 1484254789 installed <13>Jan 26 09:08:41 rpmi: python-module-ndg-httpsclient-0.4.2-alt1 1484251937 installed <13>Jan 26 09:08:41 rpmi: python-module-urllib3-2:1.15.1-alt1 1461161189 installed <13>Jan 26 09:08:41 rpmi: python-module-requests-2.12.4-alt3 1484583851 installed <13>Jan 26 09:08:41 rpmi: python-module-path-7.2-alt1.git20150122.1 1458058906 installed <13>Jan 26 09:08:41 rpmi: python-module-pickleshare-0.7.4-alt1 1484637354 installed <13>Jan 26 09:08:41 rpmi: libcurl-7.52.1-alt1.S1 1482481746 installed <13>Jan 26 09:08:41 rpmi: python-module-pycurl-7.43.0-alt1 1461362604 installed <13>Jan 26 09:08:41 rpmi: python-module-tornado-4.4.2-alt2 1479679051 installed <13>Jan 26 09:08:41 rpmi: python-module-tornado_xstatic-0.1-alt1.git20140929.1.1 1458145551 installed <13>Jan 26 09:08:41 rpmi: python-module-terminado-0.5-alt1.git20150717.1 1458135120 installed <13>Jan 26 09:08:41 rpmi: python-module-ipykernel-4.0.3-alt2.1.1 1458030461 installed <13>Jan 26 09:08:41 rpmi: python-module-nbconvert-4.0.0-alt2.1.1 1458011562 installed <13>Jan 26 09:08:41 rpmi: python-module-notebook-4.0.4-alt2.1 1458020383 installed <13>Jan 26 09:08:41 rpmi: python-module-ipyparallel-4.1.0-alt1.dev.git20150819.1.1 1458030566 installed <13>Jan 26 09:08:42 rpmi: ipython-4.0.0-alt3.1.1 1460391227 installed <13>Jan 26 09:08:42 rpmi: python3-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 09:08:42 rpmi: rpm-macros-sphinx-1:1.4.1-alt2 1461380581 installed Installing python-module-patsy-0.4.0-alt1.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.46932 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-patsy-0.4.0 + echo 'Source #0 (python-module-patsy-0.4.0.tar):' Source #0 (python-module-patsy-0.4.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-patsy-0.4.0.tar + cd python-module-patsy-0.4.0 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-patsy-0.4.0 + 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: Refactored ./doc/conf.py RefactoringTool: No changes to ./doc/_examples/example_treatment.py RefactoringTool: No changes to ./doc/_examples/example_lm.py RefactoringTool: Refactored ./tools/check-API-refs.py RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./patsy/version.py RefactoringTool: Refactored ./patsy/util.py RefactoringTool: Refactored ./patsy/user_util.py RefactoringTool: No changes to ./patsy/tokens.py RefactoringTool: Refactored ./patsy/test_state.py RefactoringTool: No changes to ./patsy/test_splines_crs_data.py RefactoringTool: No changes to ./patsy/test_splines_bs_data.py RefactoringTool: No changes to ./patsy/test_regressions.py RefactoringTool: No changes to ./patsy/test_highlevel.py RefactoringTool: Refactored ./patsy/test_build.py --- ./doc/conf.py (original) +++ ./doc/conf.py (refactored) @@ -1,27 +1,27 @@ # -*- coding: utf-8 -*- # General information about the project. -project = u'patsy' -copyright = u'2011-2015, Nathaniel J. Smith' +project = 'patsy' +copyright = '2011-2015, Nathaniel J. Smith' import sys -print "python exec:", sys.executable -print "sys.path:", sys.path +print("python exec:", sys.executable) +print("sys.path:", sys.path) try: import numpy - print "numpy: %s, %s" % (numpy.__version__, numpy.__file__) + print("numpy: %s, %s" % (numpy.__version__, numpy.__file__)) except ImportError: - print "no numpy" + print("no numpy") try: import matplotlib - print "matplotlib: %s, %s" % (matplotlib.__version__, matplotlib.__file__) + print("matplotlib: %s, %s" % (matplotlib.__version__, matplotlib.__file__)) except ImportError: - print "no matplotlib" + print("no matplotlib") try: import IPython - print "ipython: %s, %s" % (IPython.__version__, IPython.__file__) + print("ipython: %s, %s" % (IPython.__version__, IPython.__file__)) except ImportError: - print "no ipython" + print("no ipython") # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -206,8 +206,8 @@ # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ - ('index', 'patsy.tex', u'patsy Documentation', - u'Nathaniel J. Smith', 'manual'), + ('index', 'patsy.tex', 'patsy Documentation', + 'Nathaniel J. Smith', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of --- ./tools/check-API-refs.py (original) +++ ./tools/check-API-refs.py (refactored) @@ -33,13 +33,13 @@ missed = exported.difference(documented) extra = documented.difference(exported) if missed: - print("DOCS MISSING FROM %s:" % (patsy_ref,)) + print(("DOCS MISSING FROM %s:" % (patsy_ref,))) for m in sorted(missed): - print(" %s" % (m,)) + print((" %s" % (m,))) if extra: - print("EXTRA DOCS IN %s:" % (patsy_ref,)) + print(("EXTRA DOCS IN %s:" % (patsy_ref,))) for m in sorted(extra): - print(" %s" % (m,)) + print((" %s" % (m,))) if missed or extra: sys.exit(1) --- ./patsy/util.py (original) +++ ./patsy/util.py (refactored) @@ -312,7 +312,7 @@ def push_back(self, obj): self._pushed.append(obj) - def next(self): + def __next__(self): if self._pushed: return self._pushed.pop() else: --- ./patsy/user_util.py (original) +++ ./patsy/user_util.py (refactored) @@ -48,7 +48,7 @@ level_count = kwargs[name] levels.append(["%s%s" % (name, i) for i in range(1, level_count + 1)]) # zip(*...) does an "unzip" - values = zip(*itertools.product(*levels)) + values = list(zip(*itertools.product(*levels))) data = {} for name, value in zip(names, values): data[name] = list(value) * repeat --- ./patsy/test_state.py (original) +++ ./patsy/test_state.py (refactored) @@ -2,7 +2,7 @@ # Copyright (C) 2012-2013 Nathaniel Smith # See file LICENSE.txt for license information. -from __future__ import print_function + import numpy as np from patsy.state import Center, Standardize, center from patsy.util import atleast_2d_column_default --- ./patsy/test_build.py (original) +++ ./patsy/test_build.py (refactored) @@ -7,7 +7,7 @@ # still not exhaustive end-to-end tests, though -- for that see # test_highlevel.py.) -from __future__ import print_function + import six import numpy as np @@ -698,7 +698,7 @@ # Compatibility: six.PY2 wasn't added until 1.4.0, but six.PY3 exists in # all versions. if not six.PY3: - t([unicode("x"), unicode("y"), unicode("z")], + t([str("x"), str("y"), str("z")], ["x", "y", "z"], slice(None)) t(all_terms, ["x", "y", "z"], slice(None)) t([all_terms[0], "y", all_termRefactoringTool: No changes to ./patsy/state.py RefactoringTool: No changes to ./patsy/splines.py RefactoringTool: Refactored ./patsy/redundancy.py RefactoringTool: Refactored ./patsy/parse_formula.py RefactoringTool: No changes to ./patsy/origin.py RefactoringTool: No changes to ./patsy/missing.py RefactoringTool: No changes to ./patsy/mgcv_cubic_splines.py RefactoringTool: Refactored ./patsy/infix_parser.py RefactoringTool: No changes to ./patsy/highlevel.py RefactoringTool: Refactored ./patsy/eval.py RefactoringTool: Refactored ./patsy/design_info.py s[2]], ["x", "y", "z"], slice(None)) @@ -708,7 +708,7 @@ # Compatibility: six.PY2 wasn't added until 1.4.0, but six.PY3 exists in # all versions. if not six.PY3: - t([unicode("x"), unicode("z")], ["x", "z"], [0, 3]) + t([str("x"), str("z")], ["x", "z"], [0, 3]) t([all_terms[0], all_terms[2]], ["x", "z"], [0, 3]) t([all_terms[0], "z"], ["x", "z"], [0, 3]) --- ./patsy/redundancy.py (original) +++ ./patsy/redundancy.py (refactored) @@ -40,7 +40,7 @@ # () + a-: reduced to just a-, which is what we code # () + a- + b- + a-:b-: reduced to b- + a-:b-, which is simplified to a+:b-. -from __future__ import print_function + from patsy.util import no_pickling @@ -166,7 +166,7 @@ assert list(_subsets_sorted((1, 2))) == [(), (1,), (2,), (1, 2)] assert (list(_subsets_sorted((1, 2, 3))) == [(), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3), (1, 2, 3)]) - assert len(list(_subsets_sorted(range(5)))) == 2 ** 5 + assert len(list(_subsets_sorted(list(range(5))))) == 2 ** 5 def _simplify_one_subterm(subterms): # We simplify greedily from left to right. --- ./patsy/parse_formula.py (original) +++ ./patsy/parse_formula.py (refactored) @@ -7,7 +7,7 @@ # uses the machinery in patsy.parse_core to do the heavy-lifting -- its # biggest job is to handle tokenization. -from __future__ import print_function + __all__ = ["parse_formula"] @@ -57,7 +57,7 @@ origins.append(origin) # Either we found an end_token, or we hit the end of the string if bracket_level == 0: - expr_text = pretty_untokenize(zip(pytypes, token_strings)) + expr_text = pretty_untokenize(list(zip(pytypes, token_strings))) if expr_text == "0": token_type = "ZERO" elif expr_text == "1": --- ./patsy/infix_parser.py (original) +++ ./patsy/infix_parser.py (refactored) @@ -28,7 +28,7 @@ # plausible, maybe better ways to write this -- (outcome | group) ~ x1 + x2? # "outcome ~ x1 + x2", group="group"? etc. -from __future__ import print_function + __all__ = ["Token", "ParseNode", "Operator", "parse"] --- ./patsy/eval.py (original) +++ ./patsy/eval.py (refactored) @@ -740,8 +740,8 @@ return {"a": "b", "foo": "_internal.foo.process"}.get(token, token) def t1(code, expected): replaced = replace_bare_funcalls(code, replacer1) - print("%r -> %r" % (code, replaced)) - print("(wanted %r)" % (expected,)) + print(("%r -> %r" % (code, replaced))) + print(("(wanted %r)" % (expected,))) assert replaced == expected t1("foobar()", "foobar()") t1("a()", "b()") --- ./patsy/design_info.py (original) +++ ./patsy/design_info.py (refactored) @@ -18,7 +18,7 @@ # build_design_matrices too). Ditto for highlevel dbuilder functions. -from __future__ import print_function + # These are made available in the patsy.* namespace __all__ = ["DesignInfo", "FactorInfo", "SubtermInfo", "DesignMatrix"] @@ -258,8 +258,8 @@ def __init__(self, column_names, factor_infos=None, term_codings=None): - self.column_name_indexes = OrderedDict(zip(column_names, - range(len(column_names)))) + self.column_name_indexes = OrderedDict(list(zip(column_names, + list(range(len(column_names)))))) if (factor_infos is None) != (term_codings is None): raise ValueError("Must specify either both or neither of " @@ -331,7 +331,7 @@ # We invent one term per column, with the same name as the column term_names = column_names slices = [slice(i, i + 1) for i in range(len(column_names))] - self.term_name_slices = OrderedDict(zip(term_names, slices)) + self.term_name_slices = OrderedDict(list(zip(term_names, slices))) else: # Need to derive term information from term_codings self.term_slices = OrderedDict() @@ -670,7 +670,7 @@ arr = atleast_2d_column_defRefactoringTool: Refactored ./patsy/desc.py RefactoringTool: Refactored ./patsy/contrasts.py RefactoringTool: Refactored ./patsy/constraint.py RefactoringTool: Refactored ./patsy/compat_ordereddict.py ault(array_like, preserve_pandas=True) if arr.ndim > 2: raise ValueError("design matrix can't have >2 dimensions") - columns = getattr(arr, "columns", range(arr.shape[1])) + columns = getattr(arr, "columns", list(range(arr.shape[1]))) if (hasattr(columns, "dtype") and not safe_issubdtype(columns.dtype, np.integer)): column_names = [str(obj) for obj in columns] --- ./patsy/desc.py (original) +++ ./patsy/desc.py (refactored) @@ -6,7 +6,7 @@ # level, as a list of interactions of factors. It also has the code to convert # a formula parse tree (from patsy.parse_formula) into a ModelDesc. -from __future__ import print_function + import six from patsy import PatsyError --- ./patsy/contrasts.py (original) +++ ./patsy/contrasts.py (refactored) @@ -5,7 +5,7 @@ # http://www.ats.ucla.edu/stat/r/library/contrast_coding.htm # http://www.ats.ucla.edu/stat/sas/webbooks/reg/chapter5/sasreg5.htm -from __future__ import print_function + # These are made available in the patsy.* namespace __all__ = ["ContrastMatrix", "Treatment", "Poly", "Sum", "Helmert", "Diff"] @@ -18,6 +18,7 @@ from patsy.util import (repr_pretty_delegate, repr_pretty_impl, safe_issubdtype, no_pickling, assert_no_pickling) +import collections class ContrastMatrix(object): """A simple container for a matrix used for coding categorical factors. @@ -75,7 +76,7 @@ return obj.decode("utf-8") except UnicodeDecodeError: return repr(obj) - elif sys.version_info < (3,) and isinstance(obj, unicode): + elif sys.version_info < (3,) and isinstance(obj, str): try: return obj.encode("ascii") except UnicodeEncodeError: @@ -95,12 +96,12 @@ if sys.version_info >= (3,): # we can use "foo".encode here b/c this is python 3! # a utf-8 encoded euro-sign comes out as a real euro sign. - t("\u20ac".encode("utf-8"), six.u("\u20ac")) + t("\\u20ac".encode("utf-8"), six.u("\\u20ac")) # but a iso-8859-15 euro sign can't be decoded, and we fall back on # repr() - t("\u20ac".encode("iso-8859-15"), "b'\\xa4'") + t("\\u20ac".encode("iso-8859-15"), "b'\\xa4'") else: - t(six.u("\u20ac"), "u'\\u20ac'") + t(six.u("\\u20ac"), "u'\\u20ac'") def _name_levels(prefix, levels): return ["[%s%s]" % (prefix, _obj_to_readable_str(level)) for level in levels] @@ -583,14 +584,14 @@ def code_contrast_matrix(intercept, levels, contrast, default=None): if contrast is None: contrast = default - if callable(contrast): + if isinstance(contrast, collections.Callable): contrast = contrast() if isinstance(contrast, ContrastMatrix): return contrast as_array = np.asarray(contrast) if safe_issubdtype(as_array.dtype, np.number): return ContrastMatrix(as_array, - _name_levels("custom", range(as_array.shape[1]))) + _name_levels("custom", list(range(as_array.shape[1])))) if intercept: return contrast.code_with_intercept(levels) else: --- ./patsy/constraint.py (original) +++ ./patsy/constraint.py (refactored) @@ -4,7 +4,7 @@ # Interpreting linear constraints like "2*x1 + x2 = 0" -from __future__ import print_function + # These are made available in the patsy.* namespace __all__ = ["LinearConstraint"] --- ./patsy/compat_ordereddict.py (original) +++ ./patsy/compat_ordereddict.py (refactored) @@ -6,7 +6,7 @@ #http://code.activestate.com/recipes/576693/ revision 9, downloaded 2012-03-28 try: - from thread import get_ident as _get_ident + from _thread import get_ident as _get_ident except ImportError: # Hacked by njs -- I don't have dummy_thread and py3 doesn't have thread, # so the import fails when nosetests3 tries to load this file. @@ -86,7 +86,7 @@ def clear(self): 'od.clear() -> None. Remove all items from od.' try: - for nodRefactoringTool: No changes to ./patsy/compat.py RefactoringTool: Refactored ./patsy/categorical.py RefactoringTool: No changes to ./patsy/builtins.py RefactoringTool: Refactored ./patsy/build.py RefactoringTool: No changes to ./patsy/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./doc/conf.py RefactoringTool: ./doc/_examples/example_treatment.py RefactoringTool: ./doc/_examples/example_lm.py RefactoringTool: ./tools/check-API-refs.py RefactoringTool: ./setup.py RefactoringTool: ./patsy/version.py RefactoringTool: ./patsy/util.py RefactoringTool: ./patsy/user_util.py RefactoringTool: ./patsy/tokens.py RefactoringTool: ./patsy/test_state.py RefactoringTool: ./patsy/test_splines_crs_data.py RefactoringTool: ./patsy/test_splines_bs_data.py RefactoringTool: ./patsy/test_regressions.py RefactoringTool: ./patsy/test_highlevel.py RefactoringTool: ./patsy/test_build.py RefactoringTool: ./patsy/state.py RefactoringTool: ./patsy/splines.py RefactoringTool: ./patsy/redundancy.py RefactoringTool: ./patsy/parse_formula.py RefactoringTool: ./patsy/origin.py RefactoringTool: ./patsy/missing.py RefactoringTool: ./patsy/mgcv_cubic_splines.py RefactoringTool: ./patsy/infix_parser.py RefactoringTool: ./patsy/highlevel.py RefactoringTool: ./patsy/eval.py RefactoringTool: ./patsy/design_info.py RefactoringTool: ./patsy/desc.py RefactoringTool: ./patsy/contrasts.py RefactoringTool: ./patsy/constraint.py RefactoringTool: ./patsy/compat_ordereddict.py RefactoringTool: ./patsy/compat.py RefactoringTool: ./patsy/categorical.py RefactoringTool: ./patsy/builtins.py RefactoringTool: ./patsy/build.py RefactoringTool: ./patsy/__init__.py e in self.__map.itervalues(): + for node in self.__map.values(): del node[:] root = self.__root root[:] = [root, root, None] @@ -169,12 +169,12 @@ for key in other: self[key] = other[key] elif hasattr(other, 'keys'): - for key in other.keys(): + for key in list(other.keys()): self[key] = other[key] else: for key, value in other: self[key] = value - for key, value in kwds.items(): + for key, value in list(kwds.items()): self[key] = value __update = update # let subclasses override update without breaking __init__ @@ -210,7 +210,7 @@ try: if not self: return '%s()' % (self.__class__.__name__,) - return '%s(%r)' % (self.__class__.__name__, self.items()) + return '%s(%r)' % (self.__class__.__name__, list(self.items())) finally: del _repr_running[call_key] @@ -245,7 +245,7 @@ ''' if isinstance(other, OrderedDict): - return len(self)==len(other) and self.items() == other.items() + return len(self)==len(other) and list(self.items()) == list(other.items()) return dict.__eq__(self, other) def __ne__(self, other): --- ./patsy/categorical.py (original) +++ ./patsy/categorical.py (refactored) @@ -327,7 +327,7 @@ data = _categorical_shape_fix(data) try: - level_to_int = dict(zip(levels, range(len(levels)))) + level_to_int = dict(list(zip(levels, list(range(len(levels)))))) except TypeError: raise PatsyError("Error interpreting categorical data: " "all items must be hashable", origin) --- ./patsy/build.py (original) +++ ./patsy/build.py (refactored) @@ -206,7 +206,7 @@ def _column_combinations(columns_per_factor): # For consistency with R, the left-most item iterates fastest: - iterators = [range(n) for n in reversed(columns_per_factor)] + iterators = [list(range(n)) for n in reversed(columns_per_factor)] for reversed_combo in itertools.product(*iterators): yield reversed_combo[::-1] @@ -489,7 +489,7 @@ def __iter__(self): return self - def next(self): + def __next__(self): self.i += 1 if self.i > 1: raise StopIteration @@ -520,7 +520,7 @@ it = DataIterMaker() (num_column_counts, cat_levels_contrasts, - ) = _examine_factor_types(factor_states.keys(), factor_states, it, + ) = _examine_factor_types(list(factor_states.keys()), factor_states, it, NAAction()) assert it.i == 2 iterations = 0 @@ -924,7 +924,7 @@ num_rows = new_values[0].shape[0] if return_type == "dataframe" and num_rows is not None: pandas_index = new_values.pop() - factor_info_to_values = dict(zip(factor_info_to_values, new_values)) + factor_info_to_values = dict(list(zip(factor_info_to_values, new_values))) # Build factor values into matrices results = [] for design_info in design_infos: + install -pm644 /usr/share/python-sphinx/objects.inv ./ + '[' -e ./conf.py ']' + cp -u /usr/lib/python2.7/site-packages/sphinx/conf.py.template ./conf.py + ln -s ../objects.inv doc/ + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58438 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-patsy-0.4.0 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python2.7 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/patsy copying patsy/version.py -> build/lib/patsy copying patsy/util.py -> build/lib/patsy copying patsy/user_util.py -> build/lib/patsy copying patsy/tokens.py -> build/lib/patsy copying patsy/test_state.py -> build/lib/patsy copying patsy/test_splines_crs_data.py -> build/lib/patsy copying patsy/test_splines_bs_data.py -> build/lib/patsy copying patsy/test_regressions.py -> build/lib/patsy copying patsy/test_highlevel.py -> build/lib/patsy copying patsy/test_build.py -> build/lib/patsy copying patsy/state.py -> build/lib/patsy copying patsy/splines.py -> build/lib/patsy copying patsy/redundancy.py -> build/lib/patsy copying patsy/parse_formula.py -> build/lib/patsy copying patsy/origin.py -> build/lib/patsy copying patsy/missing.py -> build/lib/patsy copying patsy/mgcv_cubic_splines.py -> build/lib/patsy copying patsy/infix_parser.py -> build/lib/patsy copying patsy/highlevel.py -> build/lib/patsy copying patsy/eval.py -> build/lib/patsy copying patsy/design_info.py -> build/lib/patsy copying patsy/desc.py -> build/lib/patsy copying patsy/contrasts.py -> build/lib/patsy copying patsy/constraint.py -> build/lib/patsy copying patsy/compat_ordereddict.py -> build/lib/patsy copying patsy/compat.py -> build/lib/patsy copying patsy/categorical.py -> build/lib/patsy copying patsy/builtins.py -> build/lib/patsy copying patsy/build.py -> build/lib/patsy copying patsy/__init__.py -> build/lib/patsy + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-patsy-0.4.0 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/patsy copying patsy/version.py -> build/lib/patsy copying patsy/util.py -> build/lib/patsy copying patsy/user_util.py -> build/lib/patsy copying patsy/tokens.py -> build/lib/patsy copying patsy/test_state.py -> build/lib/patsy copying patsy/test_splines_crs_data.py -> build/lib/patsy copying patsy/test_splines_bs_data.py -> build/lib/patsy copying patsy/test_regressions.py -> build/lib/patsy copying patsy/test_highlevel.py -> build/lib/patsy copying patsy/test_build.py -> build/lib/patsy copying patsy/state.py -> build/lib/patsy copying patsy/splines.py -> build/lib/patsy copying patsy/redundancy.py -> build/lib/patsy copying patsy/parse_formula.py -> build/lib/patsy copying patsy/origin.py -> build/lib/patsy copying patsy/missing.py -> build/lib/patsy copying patsy/mgcv_cubic_splines.py -> build/lib/patsy copying patsy/infix_parser.py -> build/lib/patsy copying patsy/highlevel.py -> build/lib/patsy copying patsy/eval.py -> build/lib/patsy copying patsy/design_info.py -> build/lib/patsy copying patsy/desc.py -> build/lib/patsy copying patsy/contrasts.py -> build/lib/patsy copying patsy/constraint.py -> build/lib/patsy copying patsy/compat_ordereddict.py -> build/lib/patsy copying patsy/compat.py -> build/lib/patsy copying patsy/categorical.py -> build/lib/patsy copying patsy/builtins.py -> build/lib/patsy copying patsy/build.py -> build/lib/patsy copying patsy/__init__.py -> build/lib/patsy + popd ~/RPM/BUILD/python-module-patsy-0.4.0 + make -C doc pickle make: Entering directory `/usr/src/RPM/BUILD/python-module-patsy-0.4.0/doc' sphinx-build -b pickle -d _build/doctrees . _build/pickle Running Sphinx v1.4.1 making output directory... WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead. Extension error: Could not import extension IPython.sphinxext.ipython_directive (exception: No module named pathlib2) python exec: /usr/bin/python sys.path: ['/usr/bin', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/PIL', '/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages/wx-3.0-gtk3'] numpy: 1.11.0.dev0+a1122e0, /usr/lib/python2.7/site-packages/numpy/__init__.pyc matplotlib: 1.5.dev1, /usr/lib/python2.7/site-packages/matplotlib/__init__.pyc no ipython make: *** [pickle] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/python-module-patsy-0.4.0/doc' error: Bad exit status from /usr/src/tmp/rpm-tmp.58438 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.58438 (%build) Command exited with non-zero status 1 14.60user 0.60system 0:15.20elapsed 99%CPU (0avgtext+0avgdata 35732maxresident)k 0inputs+0outputs (0major+72102minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-patsy-0.4.0-alt1.1.1.src.rpm' failed. Command exited with non-zero status 1 57.11user 8.97system 1:08.00elapsed 97%CPU (0avgtext+0avgdata 134172maxresident)k 103008inputs+0outputs (0major+550310minor)pagefaults 0swaps