<86>Jan 26 03:20:45 userdel[2658]: delete user 'rooter' <86>Jan 26 03:20:45 userdel[2658]: removed group 'rooter' owned by 'rooter' <86>Jan 26 03:20:45 userdel[2658]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 26 03:20:45 groupadd[2672]: group added to /etc/group: name=rooter, GID=516 <86>Jan 26 03:20:45 groupadd[2672]: group added to /etc/gshadow: name=rooter <86>Jan 26 03:20:45 groupadd[2672]: new group: name=rooter, GID=516 <86>Jan 26 03:20:45 useradd[2685]: new user: name=rooter, UID=516, GID=516, home=/root, shell=/bin/bash <86>Jan 26 03:20:45 userdel[2703]: delete user 'builder' <86>Jan 26 03:20:45 userdel[2703]: removed group 'builder' owned by 'builder' <86>Jan 26 03:20:45 userdel[2703]: removed shadow group 'builder' owned by 'builder' <86>Jan 26 03:20:45 groupadd[2723]: group added to /etc/group: name=builder, GID=517 <86>Jan 26 03:20:45 groupadd[2723]: group added to /etc/gshadow: name=builder <86>Jan 26 03:20:45 groupadd[2723]: new group: name=builder, GID=517 <86>Jan 26 03:20:45 useradd[2736]: new user: name=builder, UID=517, GID=517, home=/usr/src, shell=/bin/bash <13>Jan 26 03:20:53 rpmi: libjpeg-2:1.3.1-alt0.1 1388074039 installed <13>Jan 26 03:20:53 rpmi: libpng15-1.5.28-alt1 1484572069 installed <13>Jan 26 03:20:53 rpmi: liblcms2-2.8-alt1 1471601532 installed <13>Jan 26 03:20:53 rpmi: perl-Encode-2.88-alt1 1482254760 installed <13>Jan 26 03:20:53 rpmi: libexpat-2.1.0-alt1 1347469773 installed <13>Jan 26 03:20:53 rpmi: libsigc++2-2.10.0-alt1 1475034891 installed <13>Jan 26 03:20:53 rpmi: ca-certificates-2016.09.28-alt1 1475233825 installed <13>Jan 26 03:20:53 rpmi: libcrypto10-1.0.2j-alt1 1474898021 installed <13>Jan 26 03:20:53 rpmi: libtiff5-4.0.3-alt1 1348347501 installed <13>Jan 26 03:20:53 rpmi: librevenge-0.0.4-alt1 1483045367 installed <13>Jan 26 03:20:53 rpmi: libwayland-client-1.12.0-alt1 1475000260 installed <13>Jan 26 03:20:53 rpmi: xorg-xproto-devel-7.0.31-alt1 1480491055 installed <13>Jan 26 03:20:53 rpmi: perl-HTTP-Date-6.02-alt1 1348645274 installed <13>Jan 26 03:20:54 rpmi: libsqlite3-3.15.2-alt1 1480432278 installed <13>Jan 26 03:20:54 rpmi: libopenblas-0.2.14-alt1.git20150324 1433158703 installed <13>Jan 26 03:20:54 rpmi: perl-XML-NamespaceSupport-1.11-alt3 1322003535 installed <13>Jan 26 03:20:54 rpmi: libtasn1-4.9-alt1 1469555632 installed <13>Jan 26 03:20:54 rpmi: libICE-1.0.9-alt1 1409902721 installed <13>Jan 26 03:20:54 rpmi: libSM-1.2.2-alt1 1391072690 installed <13>Jan 26 03:20:54 rpmi: poppler-data-0.4.7-alt1 1415971818 installed <13>Jan 26 03:20:54 rpmi: libopenjpeg-1.3-alt1.3 1349374484 installed <13>Jan 26 03:20:54 rpmi: libnumpy-py3-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:20:54 rpmi: libnumpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:20:54 rpmi: libgraphene-1.5.4-alt1 1484064194 installed <13>Jan 26 03:20:54 rpmi: libquadmath0-6.3.1-alt1 1484277945 installed <13>Jan 26 03:20:54 rpmi: libgfortran3-6.3.1-alt1 1484277945 installed <13>Jan 26 03:20:55 rpmi: libicu56-1:5.6.1-alt1.1 1458012365 installed <13>Jan 26 03:20:55 rpmi: libwmflite-0.2.8.4-alt12 1391506959 installed <13>Jan 26 03:20:55 rpmi: libltdl7-2.4.2-alt5 1450059754 installed <13>Jan 26 03:20:55 rpmi: libopenjpeg2.0-2.1.2-alt1 1475313267 installed <13>Jan 26 03:20:55 rpmi: ilmbase12-common-2.2.0-alt1.1 1434452921 installed <13>Jan 26 03:20:55 rpmi: libiex12-2.2.0-alt1.1 1434452921 installed <13>Jan 26 03:20:55 rpmi: perl-LWP-MediaTypes-6.02-alt1 1329754558 installed <13>Jan 26 03:20:55 rpmi: perl-Compress-Raw-Zlib-2.071-alt1 1484413310 installed <13>Jan 26 03:20:55 rpmi: perl-libnet-1:3.10-alt1 1474400822 installed <13>Jan 26 03:20:55 rpmi: perl-URI-1.71-alt1 1455181348 installed <13>Jan 26 03:20:55 rpmi: perl-XML-SAX-Base-1.08-alt1 1317871344 installed <13>Jan 26 03:20:55 rpmi: libnettle6-3.3-alt1 1475520030 installed <13>Jan 26 03:20:55 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>Jan 26 03:20:55 rpmi: xml-utils-1:2.9.3.0.5.6511-alt1.1.1 1460073215 installed <13>Jan 26 03:20:55 rpmi: liblz4-r131-alt1 1447866716 installed <13>Jan 26 03:20:55 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jan 26 03:20:55 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>Jan 26 03:20:56 rpmi: docbook-style-xsl-1.78.1-alt2 1405081050 installed <13>Jan 26 03:20:56 rpmi: libhogweed4-3.3-alt1 1475520030 installed <13>Jan 26 03:20:56 rpmi: perl-WWW-RobotRules-6.02-alt1 1329756211 installed <13>Jan 26 03:20:56 rpmi: libilmthread12-2.2.0-alt1.1 1434452921 installed <13>Jan 26 03:20:56 rpmi: libhalf12-2.2.0-alt1.1 1434452921 installed <13>Jan 26 03:20:56 rpmi: libcdr-0.1.2-alt1 1455642543 installed <13>Jan 26 03:20:56 rpmi: libvisio-0.1.3-alt1.2 1455363346 installed <13>Jan 26 03:20:56 rpmi: libhdf5-8-seq-1.8.13-alt1.qa1 1460140625 installed <13>Jan 26 03:20:56 rpmi: libquadmath5-devel-5.3.1-alt4 1484296665 installed <13>Jan 26 03:20:56 rpmi: libICE-devel-1.0.9-alt1 1409902721 installed <13>Jan 26 03:20:56 rpmi: libSM-devel-1.2.2-alt1 1391072690 installed <13>Jan 26 03:20:56 rpmi: perl-File-Listing-6.04-alt1 1329758996 installed <13>Jan 26 03:20:56 rpmi: libwayland-cursor-1.12.0-alt1 1475000260 installed <13>Jan 26 03:20:56 rpmi: libwpd10-0.10.0-alt2 1463135366 installed <13>Jan 26 03:20:56 rpmi: libwpg-0.3.1-alt1 1451770916 installed <13>Jan 26 03:20:56 rpmi: libssh2-1.4.3-alt2 1448445219 installed <13>Jan 26 03:20:56 rpmi: perl-Encode-Locale-1.05-alt1 1444608613 installed <13>Jan 26 03:20:56 rpmi: perl-IO-HTML-1.001-alt1 1404821752 installed <13>Jan 26 03:20:56 rpmi: libjasper-1.900.13-alt1 1482328269 installed <13>Jan 26 03:20:56 rpmi: java-stub-javadoc-0.1-alt1 1229813340 installed <13>Jan 26 03:20:56 rpmi: desktop-file-utils-0.22.0.patchset1-alt1 1412210844 installed <13>Jan 26 03:20:56 rpmi: python-module-Pyrex-pickles-0.9.9-alt1.1 1321363834 installed <13>Jan 26 03:20:56 rpmi: libxapian-1.2.23-alt1 1459318489 installed <13>Jan 26 03:20:56 rpmi: python-module-xapian-1.2.23-alt2 1475504928 installed <13>Jan 26 03:20:56 rpmi: python-module-google-0.4.2-alt2 1484663741 installed <13>Jan 26 03:20:56 rpmi: python-module-imagesize-0.7.1-alt1 1461387704 installed <13>Jan 26 03:20:56 rpmi: python-sphinx-objects.inv-1:2.3.7.20170117-alt1 1484721065 installed <13>Jan 26 03:20:56 rpmi: pytz-zoneinfo-1:2016.10-alt1 1484291011 installed <13>Jan 26 03:20:56 rpmi: liblzo2-2.08-alt1 1405435918 installed <13>Jan 26 03:20:57 rpmi: libxblas-1.0.248-alt1 1322010690 installed <13>Jan 26 03:20:57 rpmi: liblapack-1:3.5.0-alt1 1401382336 installed <13>Jan 26 03:20:57 rpmi: zlib-devel-1.2.8-alt1 1371079011 installed <13>Jan 26 03:20:57 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Jan 26 03:20:57 rpmi: libstdc++6-devel-6.3.1-alt1 1484277945 installed <13>Jan 26 03:20:57 rpmi: gcc-fortran-common-1.4.20-alt1 1432315196 installed <13>Jan 26 03:20:57 rpmi: libgfortran5-devel-5.3.1-alt4 1484296665 installed <13>Jan 26 03:20:57 rpmi: libxkbcommon-0.7.1-alt1 1485226913 installed <13>Jan 26 03:20:57 rpmi: vulkan-filesystem-1.0.37-alt0.3 1482962895 installed <13>Jan 26 03:20:57 rpmi: libgudev-1:230-alt1 1434908202 installed <13>Jan 26 03:20:57 rpmi: udev-rules-1:232-alt1 1485301381 installed <13>Jan 26 03:20:58 rpmi: libgsl-1.16-alt1.git20150121.1 1449191824 installed <13>Jan 26 03:20:58 rpmi: libgc-7.6.0-alt1 1471997168 installed <13>Jan 26 03:20:58 rpmi: libepoxy-1.3.1-alt1 1460399707 installed <13>Jan 26 03:20:58 rpmi: libhunspell-1.3.1-alt1 1297079098 installed <13>Jan 26 03:20:58 rpmi: libenchant-1.6.0-alt3.qa1 1460409853 installed <13>Jan 26 03:20:58 rpmi: libnghttp2-1.15.0-alt1 1474972278 installed <13>Jan 26 03:20:58 rpmi: libusb-1.0.21-alt1 1483126208 installed <13>Jan 26 03:20:58 rpmi: libsnappy-1.1.3-alt1 1450962245 installed <13>Jan 26 03:20:58 rpmi: libblosc-1.6.1-alt1.dev.git20150428 1430235700 installed <13>Jan 26 03:20:58 rpmi: libaspell-0.60.6.1-alt1.1 1449671377 installed <13>Jan 26 03:20:58 rpmi: libwebp6-0.5.2-alt1 1482953285 installed <13>Jan 26 03:20:58 rpmi: liblqr-0.4.2-alt1 1383038438 installed <13>Jan 26 03:20:58 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Jan 26 03:20:58 rpmi: libgts-0.7.6-alt2.drc20130205 1360123649 installed <13>Jan 26 03:20:58 rpmi: libpng12-1.2.50-alt2 1347753435 installed <13>Jan 26 03:20:58 rpmi: libpaper-1.1.24-alt4 1315383465 installed <13>Jan 26 03:20:58 rpmi: libgtk+2-locales-2.24.31-alt1 1473461664 installed <13>Jan 26 03:20:58 rpmi: libdatrie-0.2.8-alt1_5 1410185970 installed <13>Jan 26 03:20:58 rpmi: libthai-0.1.25-alt1_1 1482119595 installed <13>Jan 26 03:20:58 rpmi: libpixman-3:0.34.0-alt1 1480491657 installed <13>Jan 26 03:20:58 rpmi: openexr22-common-2.2.0-alt1.1 1434453376 installed <13>Jan 26 03:20:58 rpmi: libilmimf22-2.2.0-alt1.1 1434453376 installed <13>Jan 26 03:20:58 rpmi: libwayland-server-1.12.0-alt1 1475000260 installed <13>Jan 26 03:20:58 rpmi: libxshmfence-1.2-alt1 1420972190 installed <13>Jan 26 03:20:58 rpmi: libpciaccess-1:0.13.4-alt1 1431681690 installed <13>Jan 26 03:20:59 rpmi: libdrm-1:2.4.74-alt1 1484221443 installed <13>Jan 26 03:20:59 rpmi: libgbm-4:13.0.3-alt1 1484223040 installed <13>Jan 26 03:20:59 rpmi: xorg-kbproto-devel-1.0.6-alt1 1332531929 installed <13>Jan 26 03:20:59 rpmi: libgif-4.1.6-alt3 1299634261 installed <13>Jan 26 03:20:59 rpmi: libalsa-1:1.1.3-alt3 1482850950 installed <13>Jan 26 03:20:59 rpmi: icon-theme-hicolor-0.15-alt1 1427614911 installed <13>Jan 26 03:20:59 rpmi: perl-IO-Socket-IP-0.38-alt1 1474806598 installed <13>Jan 26 03:20:59 rpmi: perl-Compress-Raw-Bzip2-2.070-alt1 1483040387 installed <13>Jan 26 03:20:59 rpmi: perl-IO-Compress-2.070-alt1 1483042572 installed <13>Jan 26 03:20:59 rpmi: perl-HTTP-Message-6.11-alt1 1444616672 installed <13>Jan 26 03:20:59 rpmi: perl-HTTP-Cookies-6.01-alt1 1329759964 installed <13>Jan 26 03:20:59 rpmi: perl-HTTP-Negotiate-6.01-alt1 1329760563 installed <13>Jan 26 03:20:59 rpmi: perl-Net-HTTP-6.12-alt1 1484598721 installed <13>Jan 26 03:20:59 rpmi: perl-HTML-Tagset-3.20-alt2 1317725093 installed <13>Jan 26 03:20:59 rpmi: perl-HTML-Parser-3.72-alt1 1455170565 installed <13>Jan 26 03:20:59 rpmi: perl-libwww-6.15-alt1 1449505512 installed <13>Jan 26 03:20:59 rpmi: perl-XML-LibXML-2.0128-alt1 1469793023 installed <13>Jan 26 03:20:59 rpmi: perl-XML-SAX-0.99-alt2 1384805188 installed <13>Jan 26 03:20:59 rpmi: perl-XML-Simple-2.22-alt1 1449506808 installed <13>Jan 26 03:20:59 rpmi: icon-naming-utils-0.8.90-alt1 1236573102 installed <13>Jan 26 03:21:00 rpmi: icon-theme-adwaita-3.22.0-alt1 1475001651 installed <13>Jan 26 03:21:02 rpmi: gnome-icon-theme-3.12.0-alt1 1396472723 installed <13>Jan 26 03:21:02 rpmi: icc-profiles-1.0.1-alt1 1200930093 installed <13>Jan 26 03:21:02 rpmi: libgdk-pixbuf-locales-2.36.4-alt1 1484599807 installed <13>Jan 26 03:21:02 rpmi: gtk+3-themes-incompatible-3.20-alt3 1461944560 installed <13>Jan 26 03:21:02 rpmi: libproxy-0.4.14-alt1 1484898143 installed <13>Jan 26 03:21:02 rpmi: libnspr-1:4.13.1-alt1 1477067643 installed <13>Jan 26 03:21:02 rpmi: libnss-3.27.1-alt1 1477068087 installed <13>Jan 26 03:21:02 rpmi: libp11-kit-trust-0.23.3-alt1 1482509533 installed <13>Jan 26 03:21:02 rpmi: libp11-kit-0.23.3-alt1 1482509533 installed <13>Jan 26 03:21:02 rpmi: libidn-1.33-alt2.1 1484243044 installed <13>Jan 26 03:21:02 rpmi: libgnutls30-3.5.8-alt1 1484157811 installed <13>Jan 26 03:21:02 rpmi: t1lib-5.1.2-alt5 1326979780 installed <13>Jan 26 03:21:02 rpmi: libkpathsea-2008.0-alt0.15.6 1449446966 installed <13>Jan 26 03:21:02 rpmi: djvu-common-3.5.25.3-alt1 1365826139 installed <13>Jan 26 03:21:02 rpmi: libdjvu-3.5.25.3-alt1 1365826139 installed <13>Jan 26 03:21:03 rpmi: eclipse-equinox-osgi-1:4.6.0-alt0.1jpp 1481827780 installed <13>Jan 26 03:21:03 rpmi: libapr1-1.5.2-alt1 1461182080 installed <13>Jan 26 03:21:03 rpmi: publicsuffix-list-20160713-alt1_1 1469662958 installed <13>Jan 26 03:21:03 rpmi: libatk-locales-2.22.0-alt1 1475000161 installed <13>Jan 26 03:21:03 rpmi: libatk-2.22.0-alt1 1475000161 installed <13>Jan 26 03:21:03 rpmi: rpm-build-xdg-0.2-alt1 1250461503 installed <13>Jan 26 03:21:03 rpmi: shared-mime-info-1.8-alt1 1482128522 installed <13>Jan 26 03:21:03 rpmi: gsettings-desktop-schemas-data-3.22.0-alt1 1474999772 installed <13>Jan 26 03:21:03 rpmi: libgio-2.50.2-alt1 1478537771 installed <13>Jan 26 03:21:03 rpmi: gsettings-desktop-schemas-3.22.0-alt1 1474999772 installed <13>Jan 26 03:21:03 rpmi: libgdk-pixbuf-2.36.4-alt1 1484599807 installed <13>Jan 26 03:21:03 rpmi: gobject-introspection-1.50.0-alt1 1474999706 installed <13>Jan 26 03:21:03 rpmi: libglibmm-2.50.0-alt1 1475035482 installed <13>Jan 26 03:21:03 rpmi: libatkmm-2.24.2-alt1 1448847324 installed <13>Jan 26 03:21:03 rpmi: gobject-introspection-x11-1.50.0-alt1 1474999706 installed <13>Jan 26 03:21:03 rpmi: gtk-update-icon-cache-2.24.31-alt1 1473461664 installed <13>Jan 26 03:21:03 rpmi: libgusb-0.2.9-alt1 1458988445 installed <13>Jan 26 03:21:03 rpmi: libcolord-1.3.4-alt1 1480239173 installed <13>Jan 26 03:21:03 rpmi: libatk-gir-2.22.0-alt1 1475000161 installed <13>Jan 26 03:21:03 rpmi: libgdk-pixbuf-gir-2.36.4-alt1 1484599807 installed <13>Jan 26 03:21:03 rpmi: libgraphene-gir-1.5.4-alt1 1484064194 installed <13>Jan 26 03:21:03 rpmi: glib-networking-2.50.0-alt1 1475002318 installed <13>Jan 26 03:21:03 rpmi: libjson-glib-1.2.2-alt1 1469787424 installed <13>Jan 26 03:21:03 rpmi: libX11-locales-3:1.6.4-alt1 1480493483 installed <13>Jan 26 03:21:03 rpmi: libXdmcp-1.1.1-alt1 1334617701 installed <13>Jan 26 03:21:03 rpmi: libXau-1.0.8-alt1 1369565808 installed <13>Jan 26 03:21:03 rpmi: libxcb-1.12-alt1 1471592579 installed <13>Jan 26 03:21:03 rpmi: libX11-3:1.6.4-alt1 1480493483 installed <13>Jan 26 03:21:03 rpmi: libXext-1.3.3-alt1 1409902959 installed <13>Jan 26 03:21:03 rpmi: libXrender-0.9.8-alt1 1371312112 installed <13>Jan 26 03:21:03 rpmi: libXfixes-5.0.1-alt1 1369809608 installed <13>Jan 26 03:21:03 rpmi: libXi-1.7.4-alt1 1409902879 installed <13>Jan 26 03:21:03 rpmi: libXdamage-1.1.3-alt4 1297162593 installed <13>Jan 26 03:21:03 rpmi: libXcursor-1.1.14-alt1 1369901598 installed <13>Jan 26 03:21:03 rpmi: libXrandr-1.5.0-alt1 1431936189 installed <13>Jan 26 03:21:03 rpmi: libXtst-1.2.2-alt1 1369984893 installed <13>Jan 26 03:21:03 rpmi: libXinerama-1.1.3-alt1 1369984572 installed <13>Jan 26 03:21:03 rpmi: libXt-1.1.4-alt1 1369984722 installed <13>Jan 26 03:21:03 rpmi: libXcomposite-0.4.3-alt3 1297306936 installed <13>Jan 26 03:21:03 rpmi: libXpm-3.5.11-alt1 1391072398 installed <13>Jan 26 03:21:03 rpmi: libXxf86vm-1.1.3-alt1 1369984835 installed <13>Jan 26 03:21:03 rpmi: libGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 03:21:03 rpmi: libEGL-4:13.0.3-alt1 1484223040 installed <13>Jan 26 03:21:04 rpmi: libwayland-egl-4:13.0.3-alt1 1484223040 installed <13>Jan 26 03:21:05 rpmi: libxcb-devel-1.12-alt1 1471592579 installed <13>Jan 26 03:21:05 rpmi: libX11-devel-3:1.6.4-alt1 1480493483 installed <13>Jan 26 03:21:05 rpmi: libXt-devel-1.1.4-alt1 1369984722 installed <13>Jan 26 03:21:05 rpmi: vulkan-1.0.37-alt0.3 1482962895 installed <13>Jan 26 03:21:05 rpmi: libgraphite2-1.3.9-alt1 1482128024 installed <13>Jan 26 03:21:05 rpmi: libharfbuzz-1.4.2-alt1 1485254798 installed <13>Jan 26 03:21:05 rpmi: libfreetype-2.6.3-alt1 1455987209 installed <13>Jan 26 03:21:05 rpmi: fontconfig-2.12.1-alt1 1471005373 installed Updating fonts cache: <29>Jan 26 03:21:06 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Jan 26 03:21:06 rpmi: libcairo-1:1.14.4-alt1 1447005511 installed <13>Jan 26 03:21:06 rpmi: libcairomm-1.12.0-alt1 1443033847 installed <13>Jan 26 03:21:06 rpmi: libgd2-2.0.35-alt6 1366289715 installed <13>Jan 26 03:21:06 rpmi: dvipng-1.14-alt1.qa1.1 1449176657 installed <13>Jan 26 03:21:06 rpmi: libcairo-gobject-1:1.14.4-alt1 1447005511 installed <13>Jan 26 03:21:06 rpmi: fonts-type1-xorg-7.0.0-alt4 1188553211 installed <13>Jan 26 03:21:07 rpmi: libXft-2.3.2-alt1 1409902660 installed <13>Jan 26 03:21:07 rpmi: libpango-1.40.3-alt1 1473777869 installed <13>Jan 26 03:21:07 rpmi: librsvg-1:2.40.16-alt1 1465454166 installed <13>Jan 26 03:21:07 rpmi: libpangomm-2.40.1-alt1 1473012889 installed <13>Jan 26 03:21:07 rpmi: liblasi-1.1.2-alt1.qa1 1460141148 installed <13>Jan 26 03:21:07 rpmi: libpango-gir-1.40.3-alt1 1473777869 installed <13>Jan 26 03:21:07 rpmi: fonts-type1-urw-3:1.0.7pre44-alt2 1419342366 installed <13>Jan 26 03:21:07 rpmi: libwmf-0.2.8.4-alt12 1391506959 installed <13>Jan 26 03:21:07 rpmi: wmf-utils-0.2.8.4-alt12 1391506959 installed <13>Jan 26 03:21:07 rpmi: ca-certificates-java-0.01-alt1 1316102488 installed <13>Jan 26 03:21:07 rpmi: liblksctp-1.0.17-alt1 1462863655 installed <13>Jan 26 03:21:07 rpmi: lksctp-tools-1.0.17-alt1 1462863655 installed <13>Jan 26 03:21:07 rpmi: tzdata-java-2016j-alt1 1479985838 installed <13>Jan 26 03:21:07 rpmi: libgpg-error-1.20-alt1.1 1449204244 installed <13>Jan 26 03:21:07 rpmi: libgcrypt20-1.6.6-alt1 1471552782 installed <13>Jan 26 03:21:07 rpmi: libxslt-1.1.28-alt4 1448210408 installed <13>Jan 26 03:21:08 rpmi: libsystemd-1:232-alt1 1485301381 installed <13>Jan 26 03:21:08 rpmi: libdbus-1.10.12-alt1 1476116348 installed <13>Jan 26 03:21:08 rpmi: libat-spi2-core-2.22.0-alt1 1475095398 installed <13>Jan 26 03:21:08 rpmi: dbus-tools-1.10.12-alt1 1476116348 installed <86>Jan 26 03:21:08 groupadd[29553]: group added to /etc/group: name=messagebus, GID=499 <86>Jan 26 03:21:08 groupadd[29553]: group added to /etc/gshadow: name=messagebus <86>Jan 26 03:21:08 groupadd[29553]: new group: name=messagebus, GID=499 <86>Jan 26 03:21:08 useradd[29561]: new user: name=messagebus, UID=499, GID=499, home=/run/dbus, shell=/dev/null <13>Jan 26 03:21:08 rpmi: dbus-1.10.12-alt1 1476116348 installed <13>Jan 26 03:21:08 rpmi: dbus-tools-gui-1.10.12-alt1 1476116348 installed <13>Jan 26 03:21:08 rpmi: at-spi2-core-2.22.0-alt1 1475095398 installed <13>Jan 26 03:21:08 rpmi: at-spi2-atk-2.22.0-alt1 1475095491 installed <13>Jan 26 03:21:08 rpmi: libavahi-0.6.31-alt7 1455303496 installed <13>Jan 26 03:21:08 rpmi: libpolkit-0.113-alt2 1469643484 installed <86>Jan 26 03:21:08 groupadd[29697]: group added to /etc/group: name=colord, GID=498 <86>Jan 26 03:21:08 groupadd[29697]: group added to /etc/gshadow: name=colord <86>Jan 26 03:21:08 groupadd[29697]: new group: name=colord, GID=498 <86>Jan 26 03:21:08 useradd[29721]: new user: name=colord, UID=498, GID=498, home=/var/colord, shell=/dev/null <13>Jan 26 03:21:08 rpmi: colord-1.3.4-alt1 1480239173 installed <13>Jan 26 03:21:08 rpmi: rpm-macros-java-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 03:21:08 rpmi: lua5.3-5.3.3-alt4 1482339534 installed <13>Jan 26 03:21:08 rpmi: javapackages-tools-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 03:21:08 rpmi: apache-commons-logging-0:1.2-alt1_5jpp8 1479860544 installed <13>Jan 26 03:21:08 rpmi: plexus-utils-0:3.0.22-alt2_3jpp8 1480043455 installed <13>Jan 26 03:21:08 rpmi: apache-commons-io-1:2.4-alt6_15jpp8 1481139898 installed <13>Jan 26 03:21:08 rpmi: maven-wagon-provider-api-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 03:21:08 rpmi: apache-commons-lang-0:2.6-alt5_18jpp8 1479859888 installed <13>Jan 26 03:21:08 rpmi: aether-api-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 03:21:08 rpmi: aether-spi-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 03:21:08 rpmi: aether-util-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 03:21:08 rpmi: apache-commons-codec-0:1.10-alt1_3jpp8 1479854116 installed <13>Jan 26 03:21:08 rpmi: atinject-0:1-alt7_22.20100611svn86jpp8 1479868297 installed <13>Jan 26 03:21:08 rpmi: glassfish-servlet-api-3.1.0-alt3_11jpp8 1481937687 installed <13>Jan 26 03:21:08 rpmi: guava-18.0-alt2_8jpp8 1482219772 installed <13>Jan 26 03:21:08 rpmi: httpcomponents-core-4.4.5-alt1_2jpp8 1482214793 installed <13>Jan 26 03:21:08 rpmi: httpcomponents-client-4.5.2-alt1_4jpp8 1482216990 installed <13>Jan 26 03:21:08 rpmi: plexus-classworlds-0:2.5.2-alt2_5jpp8 1481988166 installed <13>Jan 26 03:21:08 rpmi: slf4j-0:1.7.21-alt1_2jpp8 1482105667 installed <13>Jan 26 03:21:09 rpmi: ant-lib-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 03:21:09 rpmi: aopalliance-0:1.0-alt6_12jpp8 1479853061 installed <13>Jan 26 03:21:09 rpmi: apache-commons-cli-0:1.3.1-alt1_4jpp8 1481919937 installed <13>Jan 26 03:21:09 rpmi: jsr-305-1:0-alt4_0.19.20130910svnjpp8 1479984463 installed <13>Jan 26 03:21:09 rpmi: glassfish-el-api-3.0.1-alt1_0.3.b08jpp8 1482069199 installed <13>Jan 26 03:21:09 rpmi: jsoup-1.9.2-alt1_1jpp8 1482084966 installed <13>Jan 26 03:21:09 rpmi: maven-wagon-http-shared-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 03:21:09 rpmi: plexus-containers-component-annotations-0:1.6-alt3_6jpp8 1481989329 installed <13>Jan 26 03:21:09 rpmi: plexus-cipher-1.7-alt3_11jpp8 1480039075 installed <13>Jan 26 03:21:09 rpmi: plexus-sec-dispatcher-1.4-alt4_21jpp8 1480043196 installed <13>Jan 26 03:21:09 rpmi: maven-wagon-http-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 03:21:09 rpmi: maven-shared-utils-3.0.0-alt1_3jpp8 1481815074 installed <13>Jan 26 03:21:09 rpmi: google-guice-0:4.0-alt1_5jpp8 1481951744 installed <13>Jan 26 03:21:09 rpmi: aether-connector-basic-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 03:21:09 rpmi: aether-impl-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 03:21:09 rpmi: aether-transport-wagon-1:1.0.2-alt1_4jpp8 1479846327 installed <13>Jan 26 03:21:09 rpmi: maven-wagon-file-0:2.10-alt1_2jpp8 1480451095 installed <13>Jan 26 03:21:09 rpmi: apache-commons-lang3-3.4-alt4_5jpp8 1481928700 installed <13>Jan 26 03:21:09 rpmi: plexus-interpolation-0:1.22-alt1_6jpp8 1481989989 installed <13>Jan 26 03:21:09 rpmi: beust-jcommander-1.47-alt1_3jpp8 1479826922 installed <13>Jan 26 03:21:09 rpmi: jzlib-0:1.1.3-alt1_4jpp8 1479991862 installed <13>Jan 26 03:21:09 rpmi: jetty-util-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 03:21:09 rpmi: hawtjni-runtime-0:1.10-alt1_6jpp8 1479909530 installed <13>Jan 26 03:21:09 rpmi: jansi-native-0:1.5-alt2_10jpp8 1479924664 installed <13>Jan 26 03:21:09 rpmi: jetty-http-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 03:21:09 rpmi: jetty-io-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 03:21:09 rpmi: jetty-server-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 03:21:09 rpmi: jetty-security-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 03:21:09 rpmi: jetty-servlet-9.4.0-alt1_0.2.M0jpp8 1482345355 installed <13>Jan 26 03:21:09 rpmi: jsch-0:0.1.54-alt1_2jpp8 1482084709 installed <13>Jan 26 03:21:09 rpmi: glassfish-jsp-api-2.3.2-alt1_0.4.b01jpp8 1479893045 installed <13>Jan 26 03:21:09 rpmi: glassfish-el-3.0.1-alt1_0.3.b08jpp8 1482069199 installed <13>Jan 26 03:21:09 rpmi: glassfish-jsp-2.3.3-alt1_0.5.b02jpp8 1481937090 installed <13>Jan 26 03:21:09 rpmi: apache-commons-httpclient-1:3.1-alt6_23jpp8 1454494549 installed <13>Jan 26 03:21:09 rpmi: xmlgraphics-commons-0:2.0.1-alt1_2jpp8 1480080964 installed <13>Jan 26 03:21:09 rpmi: fontbox-0:1.8.12-alt1_1jpp8 1482102313 installed <13>Jan 26 03:21:09 rpmi: java-common-1.5.0-alt1 1329330500 installed <13>Jan 26 03:21:13 rpmi: java-1.8.0-openjdk-headless-0:1.8.0.71-alt6_1.b15jpp8 1481075670 installed <13>Jan 26 03:21:15 rpmi: java-1.8.0-openjdk-0:1.8.0.71-alt6_1.b15jpp8 1481075670 installed <13>Jan 26 03:21:16 rpmi: java-1.8.0-openjdk-devel-0:1.8.0.71-alt6_1.b15jpp8 1481075670 installed <13>Jan 26 03:21:16 rpmi: hamcrest-core-0:1.3-alt3_14jpp8 1479907433 installed <13>Jan 26 03:21:16 rpmi: junit-1:4.12-alt1_5jpp8 1481839636 installed <13>Jan 26 03:21:16 rpmi: apache-commons-compress-0:1.12-alt1_1jpp8 1482331901 installed <13>Jan 26 03:21:16 rpmi: apache-ivy-0:2.4.0-alt1_5jpp8 1480345826 installed <13>Jan 26 03:21:16 rpmi: args4j-2.33-alt1_1jpp8 1482065100 installed <13>Jan 26 03:21:16 rpmi: geronimo-jms-1.1.1-alt3_22jpp8 1479886818 installed <13>Jan 26 03:21:16 rpmi: javamail-1.5.2-alt1_3jpp8 1479903341 installed <13>Jan 26 03:21:16 rpmi: avalon-logkit-0:2.1-alt2_24jpp8 1479868833 installed <13>Jan 26 03:21:16 rpmi: avalon-framework-0:4.3-alt4_16jpp8 1481924810 installed <13>Jan 26 03:21:16 rpmi: geronimo-annotation-1.0-alt4_18jpp8 1481822574 installed <13>Jan 26 03:21:16 rpmi: jboss-interceptors-1.2-api-1.0.0-alt1_5jpp8 1481960058 installed <13>Jan 26 03:21:16 rpmi: cdi-api-1.1-alt3_13jpp8 1481822258 installed <13>Jan 26 03:21:16 rpmi: maven-filesystem-0.01-alt2.1 1460115697 installed <13>Jan 26 03:21:16 rpmi: qdox-1:2.0-alt1_0.5.M3jpp8 1480047041 installed <13>Jan 26 03:21:16 rpmi: xpp3-minimal-1:1.1.4-alt1_11.cjpp8 1480083673 installed <13>Jan 26 03:21:16 rpmi: felix-osgi-core-0:1.4.0-alt5_20jpp8 1482186628 installed <13>Jan 26 03:21:17 rpmi: jcsp-1.1-alt1_0.5.rc5jpp8 1479961259 installed <13>Jan 26 03:21:17 rpmi: extra166y-1.7.0-alt1_5jpp8 1479876358 installed <13>Jan 26 03:21:17 rpmi: multiverse-0.7.0-alt1_5jpp8 1480022624 installed <13>Jan 26 03:21:17 rpmi: google-gson-2.3.1-alt1_4jpp8 1481951384 installed <13>Jan 26 03:21:17 rpmi: javaewah-0.8.4-alt1_7jpp8 1481957140 installed <13>Jan 26 03:21:17 rpmi: jgit-4.3.0-alt0.1jpp 1481826612 installed <13>Jan 26 03:21:17 rpmi: batik-css-0:1.8-alt3_6jpp8 1480458398 installed <13>Jan 26 03:21:17 rpmi: libtinfo-devel-5.9-alt8 1456756589 installed <13>Jan 26 03:21:17 rpmi: libncurses-devel-5.9-alt8 1456756589 installed <13>Jan 26 03:21:17 rpmi: python-modules-curses-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:17 rpmi: libverto-0.2.6-alt1_6 1455633232 installed <13>Jan 26 03:21:17 rpmi: libkeyutils-1.5.9-alt2 1464351238 installed <13>Jan 26 03:21:17 rpmi: libcom_err-1.42.13-alt2 1449075923 installed <13>Jan 26 03:21:17 rpmi: libkrb5-1.14.2-alt2 1465464128 installed <13>Jan 26 03:21:17 rpmi: libssl10-1.0.2j-alt1 1474898021 installed <13>Jan 26 03:21:17 rpmi: python-modules-compiler-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:17 rpmi: python-modules-email-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:17 rpmi: python-modules-unittest-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:17 rpmi: python-modules-encodings-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:18 rpmi: python-modules-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:18 rpmi: rpm-build-python3-0.1.11-alt1 1484131403 installed <13>Jan 26 03:21:18 rpmi: python3-3.5.1-alt7 1462447642 installed <13>Jan 26 03:21:19 rpmi: python3-base-3.5.1-alt7 1462447642 installed <13>Jan 26 03:21:19 rpmi: python-modules-xml-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:19 rpmi: python-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 03:21:19 rpmi: python3-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 03:21:19 rpmi: python-modules-ctypes-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:19 rpmi: python-modules-multiprocessing-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:19 rpmi: python-modules-logging-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:19 rpmi: python-modules-json-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:19 rpmi: libcups-2.2.1-alt1 1480317617 installed <13>Jan 26 03:21:19 rpmi: libgtk+2-2.24.31-alt1 1473461664 installed <13>Jan 26 03:21:19 rpmi: python3-module-six-1.10.0-alt1 1483422782 installed <13>Jan 26 03:21:19 rpmi: python3-module-sugarbowl-0.52.1-alt1.git20141130.1 1458039107 installed <13>Jan 26 03:21:19 rpmi: python-modules-hotshot-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:19 rpmi: libcurl-7.52.1-alt1.S1 1482481746 installed <13>Jan 26 03:21:19 rpmi: libsoup-2.56.0-alt1 1475002497 installed <13>Jan 26 03:21:19 rpmi: libsoup-gnome-2.56.0-alt1 1475002497 installed <13>Jan 26 03:21:19 rpmi: librest-0.8.0-alt1 1460981119 installed <13>Jan 26 03:21:20 rpmi: libgtk+4-3.89.3-alt1 1485229937 installed <13>Jan 26 03:21:20 rpmi: libgtk+4-gir-3.89.3-alt1 1485229937 installed <13>Jan 26 03:21:21 rpmi: libpoppler59-0.42.0-alt3 1469200698 installed <13>Jan 26 03:21:21 rpmi: libpoppler64-0.48.0-alt1 1476786410 installed <13>Jan 26 03:21:21 rpmi: libpoppler8-glib-0.48.0-alt1 1476786410 installed <13>Jan 26 03:21:21 rpmi: libgtkmm2-2.24.5-alt1 1475043238 installed <13>Jan 26 03:21:21 rpmi: libgtkspell-2.0.16-alt2 1306243387 installed <13>Jan 26 03:21:21 rpmi: libgs-9.20-alt1 1481713422 installed <13>Jan 26 03:21:21 rpmi: libgraphviz-2.40.1-alt1.1 1484336446 installed <13>Jan 26 03:21:22 rpmi: libImageMagick-6.9.6.2-alt1 1476279340 installed <13>Jan 26 03:21:22 rpmi: python-tools-2to3-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:22 rpmi: python-module-whoosh-2.7.0-alt1.hg20150805.1.1 1457859779 installed <13>Jan 26 03:21:22 rpmi: python3-module-coverage-4.0-alt1.a7.git20150730.1.3 1483382960 installed <13>Jan 26 03:21:22 rpmi: python-module-cycler-0.9.0-alt1.post1.git20150822.1 1457911560 installed <13>Jan 26 03:21:22 rpmi: scons-2.3.3-alt1 1408936573 installed <13>Jan 26 03:21:22 rpmi: python3-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Jan 26 03:21:22 rpmi: python3-module-genshi-0.7-alt1.1.1.1 1460400448 installed <13>Jan 26 03:21:22 rpmi: python3-module-html5lib-1:0.999999-alt1.1.1.1 1460400556 installed <13>Jan 26 03:21:22 rpmi: python3-module-lxml-3.5.0-alt2.beta1.git20150727 1462232478 installed <13>Jan 26 03:21:22 rpmi: python3-module-javapackages-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 03:21:22 rpmi: rpm-build-java-1:4.6.0-alt10_14jpp8 1481282571 installed <13>Jan 26 03:21:22 rpmi: xml-commons-apis-1.4.01-alt3_20jpp8 1480080160 installed <13>Jan 26 03:21:22 rpmi: xpp3-1:1.1.4-alt1_11.cjpp8 1480083673 installed <13>Jan 26 03:21:23 rpmi: xstream-0:1.4.9-alt1_3jpp8 1482001905 installed <13>Jan 26 03:21:23 rpmi: jai-imageio-core-1.2-alt1_0.18.20100217cvsjpp8 1479919741 installed <13>Jan 26 03:21:23 rpmi: python3-module-markupsafe-0.23-alt1.2.1 1459594456 installed <13>Jan 26 03:21:23 rpmi: python3-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 03:21:23 rpmi: python3-module-jinja2-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 03:21:23 rpmi: python3-module-clyde-0.8.0-alt1.git20141130.1.1.1 1463999610 installed <13>Jan 26 03:21:23 rpmi: python3-module-runfile-0.46.1-alt1.git20141130.1 1458039066 installed <13>Jan 26 03:21:23 rpmi: objectweb-asm-0:5.1-alt1_4jpp8 1482101902 installed <13>Jan 26 03:21:23 rpmi: sisu-inject-1:0.3.2-alt0.1jpp 1481830130 installed <13>Jan 26 03:21:23 rpmi: sisu-plexus-1:0.3.2-alt0.1jpp 1481830391 installed <13>Jan 26 03:21:23 rpmi: antlr-tool-0:2.7.7-alt12_43jpp8 1481918402 installed <13>Jan 26 03:21:23 rpmi: maven-0:3.3.9-alt1_6jpp8 1481975126 installed <13>Jan 26 03:21:23 rpmi: maven-lib-0:3.3.9-alt1_6jpp8 1481975126 installed <13>Jan 26 03:21:23 rpmi: maven-shared-io-1:3.0.0-alt1_2jpp8 1481291189 installed <13>Jan 26 03:21:23 rpmi: maven-file-management-1:3.0.0-alt1_2jpp8 1480363122 installed <13>Jan 26 03:21:23 rpmi: xml-commons-resolver-0:1.2-alt1_19jpp8 1480080445 installed <13>Jan 26 03:21:23 rpmi: xalan-j2-0:2.7.1-alt4_28jpp8 1480077104 installed <13>Jan 26 03:21:24 rpmi: xerces-j2-0:2.11.0-alt3_24jpp8 1480078978 installed <13>Jan 26 03:21:24 rpmi: ant-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 03:21:24 rpmi: bsf-1:2.4.0-alt3_23jpp8 1479835416 installed <13>Jan 26 03:21:24 rpmi: bsh-0:1.3.0-alt6_35jpp8 1481926402 installed <13>Jan 26 03:21:24 rpmi: testng-0:6.9.11-alt1_1jpp8 1482107785 installed <13>Jan 26 03:21:24 rpmi: ant-antlr-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 03:21:24 rpmi: ant-junit-0:1.9.6-alt3_3jpp8 1481895414 installed <13>Jan 26 03:21:24 rpmi: python3-module-numpy-testing-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:21:24 rpmi: python3-module-numpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:21:24 rpmi: python3-module-numexpr-tests-1:2.4.4-alt1.dev0.git20150815.1.1 1459637188 installed <13>Jan 26 03:21:24 rpmi: python3-module-numexpr-1:2.4.4-alt1.dev0.git20150815.1.1 1459637188 installed <13>Jan 26 03:21:24 rpmi: libpython3-3.5.1-alt7 1462447642 installed <13>Jan 26 03:21:25 rpmi: python3-dev-3.5.1-alt7 1462447642 installed <13>Jan 26 03:21:25 rpmi: python-modules-bsddb-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:25 rpmi: python-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:25 rpmi: python-strict-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:25 rpmi: python-dev-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:25 rpmi: python-module-setuptools-1:18.1-alt4 1469693421 installed <13>Jan 26 03:21:25 rpmi: python-module-numpy-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:21:25 rpmi: python-module-numpy-testing-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:21:25 rpmi: python-module-numexpr-1:2.4.4-alt1.dev0.git20150815.1.1 1459637188 installed <13>Jan 26 03:21:25 rpmi: python-module-numexpr-tests-1:2.4.4-alt1.dev0.git20150815.1.1 1459637188 installed <13>Jan 26 03:21:25 rpmi: python-module-coverage-4.0-alt1.a7.git20150730.1.3 1483382960 installed <13>Jan 26 03:21:25 rpmi: python-module-genshi-0.7-alt1.1.1.1 1460400448 installed <13>Jan 26 03:21:25 rpmi: python-module-cssselect-0.9.1-alt1.1 1457858257 installed <13>Jan 26 03:21:25 rpmi: python-module-html5lib-1:0.999999-alt1.1.1.1 1460400556 installed <13>Jan 26 03:21:26 rpmi: python-module-lxml-3.5.0-alt2.beta1.git20150727 1462232478 installed <13>Jan 26 03:21:26 rpmi: python-module-docutils-0.13.1-alt1 1484230885 installed <13>Jan 26 03:21:26 rpmi: python-module-dateutil-2.4.2-alt1 1438325427 installed <13>Jan 26 03:21:26 rpmi: python-module-pyparsing-2.0.3-alt1 1423469752 installed <13>Jan 26 03:21:27 rpmi: python-module-matplotlib-1.5.0-alt5.git20150829 1464448387 installed <13>Jan 26 03:21:27 rpmi: python-module-matplotlib-gtk3-1.5.0-alt5.git20150829 1464448387 installed <13>Jan 26 03:21:27 rpmi: python-module-pytz-1:2016.10-alt1 1484291011 installed <13>Jan 26 03:21:27 rpmi: python-module-babel-1:2.3.4-alt1 1477346033 installed <13>Jan 26 03:21:27 rpmi: python-module-PyStemmer-1.0.1-alt1.2.1 1321388303 installed <13>Jan 26 03:21:27 rpmi: python-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Jan 26 03:21:27 rpmi: python-module-simplejson-3.10.0-alt1 1484334605 installed <13>Jan 26 03:21:27 rpmi: python-module-markupsafe-0.23-alt1.2.1 1459594456 installed <13>Jan 26 03:21:27 rpmi: python-module-jinja2-tests-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 03:21:27 rpmi: python-module-jinja2-2.9-alt1.dev.git20150726.1.1.1.1 1484417882 installed <13>Jan 26 03:21:28 rpmi: python-modules-sqlite3-2.7.11-alt3 1460726037 installed <13>Jan 26 03:21:28 rpmi: python-module-SQLAlchemy-1.0.12-alt1 1461160349 installed <13>Jan 26 03:21:28 rpmi: python-module-alabaster-0.7.6-alt2.git20150703 1461344248 installed <13>Jan 26 03:21:28 rpmi: python-module-Pygments-2.1.3-alt1 1461350990 installed <13>Jan 26 03:21:28 rpmi: python-module-sphinx-1:1.4.1-alt2 1461380581 installed <13>Jan 26 03:21:28 rpmi: python-module-numpydoc-1:0.6-alt1.dev.git20150712 1440938301 installed <13>Jan 26 03:21:28 rpmi: libnumpy-devel-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:21:28 rpmi: netty-tcnative-1.1.30-alt2_3jpp8 1480027414 installed <13>Jan 26 03:21:29 rpmi: netty3-3.9.3-alt1_4jpp8 1480026611 installed <13>Jan 26 03:21:29 rpmi: gpars-1.2.1-alt1_6jpp8 1481807931 installed <13>Jan 26 03:21:29 rpmi: jline-0:2.13-alt1_2jpp8 1481811277 installed <13>Jan 26 03:21:29 rpmi: jansi-0:1.11-alt1_10jpp8 1479924342 installed <13>Jan 26 03:21:30 rpmi: groovy-lib-0:2.4.5-alt1_7jpp8 1481808824 installed <13>Jan 26 03:21:30 rpmi: xbean-0:4.5-alt1_3jpp8 1482110774 installed <13>Jan 26 03:21:30 rpmi: plexus-containers-container-default-0:1.6-alt3_6jpp8 1481989329 installed <13>Jan 26 03:21:30 rpmi: maven-scm-0:1.9.4-alt1_5jpp8 1481979401 installed <13>Jan 26 03:21:30 rpmi: fusesource-pom-0:1.9-alt1_13jpp8 1481933186 installed <13>Jan 26 03:21:30 rpmi: rhino-1:1.7.7.1-alt1_1jpp8 1482105112 installed <13>Jan 26 03:21:31 rpmi: batik-0:1.8-alt3_6jpp8 1480458398 installed <13>Jan 26 03:21:31 rpmi: fop-0:2.0-alt1_3jpp8 1479881906 installed <13>Jan 26 03:21:31 rpmi: libnumpy-py3-devel-2.0.0-alt15.git20150829.2.1 1459632297 installed <13>Jan 26 03:21:33 rpmi: inkscape-0.91-alt5 1460390013 installed <13>Jan 26 03:21:34 rpmi: python-module-Cython-0.25.2-alt1 1481422925 installed <13>Jan 26 03:21:34 rpmi: python-module-Pyrex-0.9.9-alt1.1 1321363834 installed <13>Jan 26 03:21:34 rpmi: java-devel-default-1.7.0-alt1 1454012839 installed <13>Jan 26 03:21:34 rpmi: python3-module-Cython-0.25.2-alt1 1481422925 installed <13>Jan 26 03:21:34 rpmi: xsltproc-1.1.28-alt4 1448210408 installed <13>Jan 26 03:21:34 rpmi: libblosc-devel-1.6.1-alt1.dev.git20150428 1430235700 installed <13>Jan 26 03:21:34 rpmi: libhdf5-devel-1.8.13-alt1.qa1 1460140625 installed <13>Jan 26 03:21:34 rpmi: liblzo2-devel-2.08-alt1 1405435918 installed <13>Jan 26 03:21:34 rpmi: docbook-tldp-xsl-20050304-alt2 1278930320 installed <13>Jan 26 03:21:34 rpmi: w3c-markup-validator-libs-1.2-alt1 1316525214 installed <13>Jan 26 03:21:34 rpmi: bzlib-devel-1:1.0.6-alt4 1449156905 installed Installing pytables-3.2.2-alt1.dev0.git20150828.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.90900 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf pytables-3.2.2 + echo 'Source #0 (pytables-3.2.2.tar.gz):' Source #0 (pytables-3.2.2.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/pytables-3.2.2.tar.gz + /bin/tar -xf - + cd pytables-3.2.2 + /bin/chmod -c -Rf u+rwX,go-w . + rm -rf ../python3 + cp -a . ../python3 + find ../python3 -type f -name '*.py' -exec sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' '{}' + + find ../python3 -type f -name '*.py' -exec sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' '{}' + + find ../python3 -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 ../python3/setup.py RefactoringTool: Refactored ../python3/tables/vlarray.py RefactoringTool: Refactored ../python3/tables/utils.py RefactoringTool: No changes to ../python3/tables/unimplemented.py RefactoringTool: No changes to ../python3/tables/undoredo.py RefactoringTool: Refactored ../python3/tables/table.py --- ../python3/setup.py (original) +++ ../python3/setup.py (refactored) @@ -3,7 +3,7 @@ """Setup script for the tables package""" -from __future__ import print_function + import os import re --- ../python3/tables/vlarray.py (original) +++ ../python3/tables/vlarray.py (refactored) @@ -325,7 +325,7 @@ # Check the chunkshape parameter if new and chunkshape is not None: - if isinstance(chunkshape, (int, numpy.integer, long)): + if isinstance(chunkshape, (int, numpy.integer)): chunkshape = (chunkshape,) try: chunkshape = tuple(chunkshape) @@ -606,7 +606,7 @@ self.nrow = SizeType(self._start - self._step) # row number - def next(self): + def __next__(self): """Get the next element of the array during an iteration. The element is returned as a list of objects of the current @@ -773,7 +773,7 @@ elif isinstance(key, slice): (start, stop, step) = self._process_range( key.start, key.stop, key.step) - coords = range(start, stop, step) + coords = list(range(start, stop, step)) # Try with a boolean or point selection elif type(key) in (list, tuple) or isinstance(key, numpy.ndarray): coords = self._point_selection(key) @@ -821,7 +821,7 @@ """Read rows specified in `coords`.""" rows = [] for coord in coords: - rows.append(self.read(long(coord))[0]) + rows.append(self.read(int(coord))[0]) return rows def _g_copy_with_stats(self, group, name, start, stop, step, @@ -848,7 +848,7 @@ atomsize = self.atom.base.size else: atomsize = self.atom.size - for start2 in xrange(start, stop, step * nrowsinbuf): + for start2 in range(start, stop, step * nrowsinbuf): # Save the records on disk stop2 = start2 + step * nrowsinbuf if stop2 > stop: --- ../python3/tables/utils.py (original) +++ ../python3/tables/utils.py (refactored) @@ -12,7 +12,7 @@ """Utility functions.""" -from __future__ import print_function + import os import sys import warnings @@ -48,7 +48,7 @@ def is_idx(index): """Checks if an object can work as an index or not.""" - if type(index) in (int, long): + if type(index) in (int, int): return True elif hasattr(index, "__index__"): # Only works on Python 2.5 (PEP 357) # Exclude the array([idx]) as working as an index. Fixes #303. @@ -77,7 +77,7 @@ """Convert a possible index into a long int.""" try: - return long(index) + return int(index) except: raise TypeError("not an integer type.") @@ -318,7 +318,7 @@ def string_to_classes(s): if s == '*': - c = sorted(tracked_classes.iterkeys()) + c = sorted(tracked_classes.keys()) return c else: return s.split() @@ -353,7 +353,7 @@ obj = ref() if obj is not None: file.write(' %s:\n' % obj) - for key, value in obj.__dict__.iteritems(): + for key, value in obj.__dict__.items(): file.write(' %20s : %s\n' % (key, value)) @@ -373,7 +373,7 @@ if len(self) > self.maxentries: # Remove a 10% of (arbitrary) elements from the cache entries_to_remove = self.maxentries / 10 - for k in self.keys()[:entries_to_remove]: + for k in list(self.keys())[:entries_to_remove]: super(CacheDict, self).__delitem__(k) super(CacheDict, self).__setitem__(key, value) @@ -427,7 +427,7 @@ if len(cache) > self.maxentries: # Remove a 10% of (arbitrary) elements from the cache entries_to_remove = self.maxentries // 10 - for k in cache.keys()[:entries_to_remove]: + for k in list(cache.keys())[:entries_to_remove]: del cache[k] cache[key] = value --- ../python3/tables/table.py (original) +++ ../python3/tables/table.py (refactored) @@ -64,7 +64,7 @@ from numexpr.necompiler import int_, long_ except ImportError: int_ = int - long_ = long + long_ = int # Maps NumPy types to the types used by Numexpr. _nxtype_from_nptype = { @@ -166,7 +166,7 @@ # Get the values in expression that are not columns values = [] - for key, value in condvars.iteritems(): + for key, value in condvars.items(): if isinstance(value, numpy.ndarray): values.append((key, value.item())) # Build a key for the sequence cache @@ -209,7 +209,7 @@ if index.reduction == 1 and ncoords == 0: # No values from index condition, thus the chunkmap should be empty nrowsinchunk = self.chunkshape[0] - nchunks = long(math.ceil(float(self.nrows) / nrowsinchunk)) + nchunks = int(math.ceil(float(self.nrows) / nrowsinchunk)) chunkmap = numpy.zeros(shape=nchunks, dtype="bool") else: # Get the chunkmap from the index @@ -353,7 +353,7 @@ def __repr__(self): """Gives a detailed Description column representation.""" - rep = [' \"%s\": %s' % (k, self[k]) for k in self.iterkeys()] + rep = [' \"%s\": %s' % (k, self[k]) for k in self.keys()] return '{\n %s}' % (',\n '.join(rep)) @@ -566,14 +566,14 @@ # First, do a check to see whether we need to set default values # different from 0 or not. - for coldflt in self.coldflts.itervalues(): + for coldflt in self.coldflts.values(): if isinstance(coldflt, numpy.ndarray) or coldflt: break else: # No default different from 0 found. Returning None. return None wdflts = self._get_container(1) - for colname, coldflt in self.coldflts.iteritems(): + for colname, coldflt in self.coldflts.items(): ra = get_nested_field(wdflts, colname) ra[:] = coldflt return wdflts @@ -822,7 +822,7 @@ # Check the chunkshape parameter if new and chunkshape is not None: - if isinstance(chunkshape, (int, numpy.integer, long)): + if isinstance(chunkshape, (int, numpy.integer)): chunkshape = (chunkshape,) try: chunkshape = tuple(chunkshape) @@ -1218,7 +1218,7 @@ # Protection against growing the cache too much if len(exprvarscache) > 256: # Remove 10 (arbitrary) elements from the cache - for k in exprvarscache.keys()[:10]: + for k in list(exprvarscache.keys())[:10]: del exprvarscache[k] cexpr = compile(expression, '', 'eval') exprvars = [var for var in cexpr.co_names @@ -1286,7 +1286,7 @@ "not allowed in conditions" % var) else: # only non-column values are converted to arrays # XXX: not 100% sure about this - if isinstance(val, unicode): + if isinstance(val, str): val = numpy.asarray(val.encode('ascii')) else: val = numpy.asarray(val) @@ -1307,7 +1307,7 @@ colnames, varnames = [], [] # Column paths and types for each of the previous variable. colpaths, vartypes = [], [] - for (var, val) in condvars.iteritems(): + for (var, val) in condvars.items(): if hasattr(val, 'pathname'): # column colnames.append(var) colpaths.append(val.pathname) @@ -1349,7 +1349,7 @@ (condition, colnames, varnames, colpaths, vartypes) = condkey # Extract more information from referenced columns. - typemap = dict(zip(varnames, vartypes)) # start with normal variables + typemap = dict(list(zip(varnames, vartypes))) # start with normal variables indexedcols = [] for colname in colnames: col = condvars[colname] @@ -1824,7 +1824,7 @@ return nra return numpy.empty(shape=0, dtype=dtype_field) - nrows = len(xrange(0, stop - start, step)) + nrows = len(range(0, stop - start, step)) if out is None: # Compute the shape of the resulting column object @@ -2340,7 +2340,7 @@ raise IndexError("This modification will exceed the length of " "the table. Giving up.") # Compute the number of rows to read. - nrows = len(xrange(0, stop - start, step)) + nrows = len(range(0, stop - start, step)) if len(rows) != nrows: raise ValueError("The value has different elements than the " "specified range") @@ -2427,7 +2427,7 @@ raise IndexError("This modification will exceed the length of " "the table. Giving up.") # Compute the number of rows to read. - nrows = len(xrange(0, stop - start, step)) + nrows = len(range(0, stop - start, step)) if len(column) < nrows: raise ValueError("The value has not enough elements to fill-in " "the specified range") @@ -2503,7 +2503,7 @@ raise IndexError("This modification will exceed the length of " "the table. Giving up.") # Compute the number of rows to read. - nrows = len(xrange(0, stop - start, step)) + nrows = len(range(0, stop - start, step)) if len(recarray) < nrows: raise ValueError("The value has not enough elements to fill-in " "the specified range") @@ -2535,7 +2535,7 @@ # Update the number of unsaved indexed rows start = self._indexedrows nrows = self._unsaved_indexedrows - for (colname, colindexed) in self.colindexed.iteritems(): + for (colname, colindexed) in self.colindexed.items(): if colindexed: col = self.cols._g_col(colname) if nrows > 0 and not col.index.dirty: @@ -2761,7 +2761,7 @@ """Common code for `reindex()` and `reindex_dirty()`.""" indexedrows = 0 - for (colname, colindexed) in self.colindexed.iteritems(): + for (colname, colindexed) in self.colindexed.items(): if colindexed: indexcol = self.cols._g_col(colname) indexedrows = indexcol._do_reindex(dirty) @@ -2810,7 +2810,7 @@ start, stop = stop + 1, start + 1 if sortby is not None: index = self._check_sortby_csi(sortby, checkCSI) - for start2 in xrange(start, stop, absstep * lenbuf): + for start2 in range(start, stop, absstep * lenbuf): stop2 = start2 + absstep * lenbuf if stop2 > stop: stop2 = stop @@ -2831,7 +2831,7 @@ nrowsinbuf = self.nrowsinbuf object._open_append(self._v_iobuf) nrowsdest = object.nrows - for start2 in xrange(start, stop, step * nrowsinbuf): + for start2 in range(start, stop, step * nrowsinbuf): # Save the records on disk stop2 = start2 + step * nrowsinbuf if stop2 > stop: @@ -2873,7 +2873,7 @@ (start, stop, step) = self._process_range_read( start, stop, step, warn_negstep=sortby is None) # And the number of final rows - nrows = len(xrange(0, stop - start, step)) + nrows = len(range(0, stop - start, step)) # Create the new table and copy the selected data. newtable = Table(group, name, self.description, title=title, filters=filters, expectedrows=nrows, @@ -3499,7 +3499,7 @@ nrowsinbuf = table._v_file.params['IO_BUFFER_SIZE'] // itemsize buf = numpy.empty((nrowsinbuf, ), self._itemtype) max_row = len(self) - for start_row in xrange(0, len(self), nrowsinbuf): + for start_row in range(0, len(self), nrRefactoringTool: No changes to ../python3/tables/req_versions.py RefactoringTool: No changes to ../python3/tables/registry.py RefactoringTool: Refactored ../python3/tables/path.py RefactoringTool: No changes to ../python3/tables/parameters.py RefactoringTool: Refactored ../python3/tables/node.py RefactoringTool: No changes to ../python3/tables/link.py RefactoringTool: Refactored ../python3/tables/leaf.py RefactoringTool: No changes to ../python3/tables/indexes.py RefactoringTool: Refactored ../python3/tables/index.py owsinbuf): end_row = min(start_row + nrowsinbuf, max_row) buf_slice = buf[0:end_row - start_row] table.read(start_row, end_row, 1, field=self.pathname, @@ -3613,7 +3613,7 @@ kinds = ['ultralight', 'light', 'medium', 'full'] if kind not in kinds: raise ValueError("Kind must have any of these values: %s" % kinds) - if (not isinstance(optlevel, (int, long)) or + if (not isinstance(optlevel, int) or (optlevel < 0 or optlevel > 9)): raise ValueError("Optimization level must be an integer in the " "range 0-9") --- ../python3/tables/path.py (original) +++ ../python3/tables/path.py (refactored) @@ -96,7 +96,7 @@ ... ValueError: the empty string is not allowed as an object name """ - if not isinstance(name, basestring): # Python >= 2.3 + if not isinstance(name, str): # Python >= 2.3 raise TypeError("object name is not a string: %r" % (name,)) if name == '': --- ../python3/tables/node.py (original) +++ ../python3/tables/node.py (refactored) @@ -91,7 +91,7 @@ class_id_dict[cid] = class_ -class Node(object): +class Node(object, metaclass=MetaNode): """Abstract base class for all PyTables nodes. This is the base class for *all* nodes in a PyTables hierarchy. It is an @@ -145,9 +145,6 @@ The *_v_objectID* attribute has been renamed into *_v_object_id*. """ - - # This makes this class and all derived subclasses be handled by MetaNode. - __metaclass__ = MetaNode # By default, attributes accept Undo/Redo. _AttributeSet = AttributeSet --- ../python3/tables/leaf.py (original) +++ ../python3/tables/leaf.py (refactored) @@ -347,7 +347,7 @@ chunkshape[maindim] = chunknitems // newchunknitems else: # No, so start trimming other dimensions as well - for j in xrange(len(chunkshape)): + for j in range(len(chunkshape)): # Check whether trimming this dimension is enough chunkshape[j] = 1 newchunknitems = numpy.prod(chunkshape, dtype=SizeType) @@ -404,7 +404,7 @@ #if stop is not None: stop = long(stop) #if step is not None: step = long(step) - return slice(start, stop, step).indices(long(nrows)) + return slice(start, stop, step).indices(int(nrows)) # This method is appropriate for calls to read() methods def _process_range_read(self, start, stop, step, warn_negstep=True): --- ../python3/tables/index.py (original) +++ ../python3/tables/index.py (refactored) @@ -12,7 +12,7 @@ """Here is defined the Index class.""" -from __future__ import print_function + import sys from time import time, clock import os @@ -406,8 +406,8 @@ attrs = self._v_attrs # Coerce NumPy scalars to Python scalars in order # to avoid undesired upcasting operations. - self.superblocksize = long(attrs.superblocksize) - self.blocksize = long(attrs.blocksize) + self.superblocksize = int(attrs.superblocksize) + self.blocksize = int(attrs.blocksize) self.slicesize = int(attrs.slicesize) self.chunksize = int(attrs.chunksize) self.blocksizes = (self.superblocksize, self.blocksize, @@ -589,7 +589,7 @@ # Fill the idx with the bucket indices offset = lbucket - ((nrow * (slicesize % lbucket)) % lbucket) idx[0:offset] = 0 - for i in xrange(offset, slicesize, lbucket): + for i in range(offset, slicesize, lbucket): idx[i:i + lbucket] = (i + lbucket - 1) // lbucket if indsize == 2: # Add a second offset in this case @@ -861,12 +861,12 @@ sremain = numpy.array([], dtype=self.dtype) iremain = numpy.array([], dtype='u%d' % self.indsize) starts = numpy.zeros(shape=nslices, dtype=numpy.int_) - for i in xrange(nslices): + for i in range(nslices): # Find the overlapping elements for slice i sover = numpy.array([], dtype=self.dtype) iover = numpy.array([], dtype='u%d' % self.indsize) prev_end = ranges[i, 1] - for j in xrange(i + 1, nslices): + for j in range(i + 1, nslices): stj = starts[j] if ((j < self.nslices and stj == ss) or (j == self.nslices and stj == nelementsLR)): @@ -1095,7 +1095,7 @@ cs = self.chunksize // reduction ncs = self.nchunkslice tmp = self.tmp - for i in xrange(self.nslices): + for i in range(self.nslices): # Copy sorted & indices slices sorted = tmp.sorted[i][::reduction].copy() self.sorted.append(sorted.reshape(1, sorted.size)) @@ -1155,13 +1155,13 @@ ncs = ncs2 = self.nchunkslice self_nslices = self.nslices tmp = numpy.empty(shape=self.slicesize, dtype=dtype) - for i in xrange(nslices): + for i in range(nslices): ns = offset + i if ns == self_nslices: # The number of complete chunks in the last row ncs2 = self.nelementsILR // cs # Get slices in new order - for j in xrange(ncs2): + for j in range(ncs2): idx = neworder[i * ncs + j] ins = idx // ncs inc = (idx - ins * ncs) * cs @@ -1203,7 +1203,7 @@ ncb2 = ncb boundsobj = tmp._f_get_child(boundsnames[mode]) can_cross_bbounds = (self.indsize == 8 and self.nelementsILR > 0) - for nblock in xrange(self.nblocks): + for nblock in range(self.nblocks): # Protection for last block having less chunks than ncb remainingchunks = self.nchunks - nblock * ncb if remainingchunks < ncb: @@ -1355,7 +1355,7 @@ nslice = 0 # Just in case the loop behind executes nothing # Loop over the remainding slices in block - for nslice in xrange(1, sorted.nrows): + for nslice in range(1, sorted.nrows): self.reorder_slice(nslice, sorted, indices, ssorted, sindices, tmp_sorted, tmp_indices) @@ -1388,7 +1388,7 @@ else: # Iterate over each block. No data should cross block # boundaries to avoid adressing problems with short indices. - for nb in xrange(nblocks): + for nb in range(nblocks): # Bootstrap the process for reordering # Read the first slice in buffers nrow = nb * nsb @@ -1400,7 +1400,7 @@ if lrb > nslices: lrb = nslices nslice = nrow # Just in case the loop behind executes nothing - for nslice in xrange(nrow + 1, lrb): + for nslice in range(nrow + 1, lrb): self.reorder_slice(nslice, sorted, indices, ssorted, sindices, tmp_sorted, tmp_indices) @@ -1422,7 +1422,7 @@ ncs = self.nchunkslice nss = self.superblocksize // self.slicesize nss2 = nss - for sblock in xrange(self.nsuperblocks): + for sblock in range(self.nsuperblocks): # Protection for last superblock having less slices than nss remainingslices = self.nslices - sblock * nss if remainingslices < nss: @@ -1447,7 +1447,7 @@ continue ns = sblock * nss2 # Swap sorted and indices slices following the new order - for i in xrange(nss2): + for i in range(nss2): idx = sranges_idx[i] # Swap sorted & indices slices oi = ns + i @@ -1468,7 +1468,7 @@ tmp.zbounds2[j:jn] = tmp.zbounds[xj:xjn] tmp.mbounds2[j:jn] = tmp.mbounds[xj:xjn] # tmp -> originals - for i in xrange(nss2): + for i in range(nss2): # Copy sorted & indices slices oi = ns + i sorted[oi] = tmp_sorted[oi] @@ -1551,9 +1551,9 @@ multiplicity = numpy.zeros(shape=nslices, dtype="int_") overlaps = multiplicity.copy() starts = multiplicity.copy() - for i in xrange(nslices): + for i in range(nslices): prev_end = ranges[i, 1] - for j in xrange(i + 1, nslices): + for j in range(i + 1, nslices): stj = starts[j] assert stj <= ss if stj == ss: @@ -1639,8 +1639,8 @@ soverlap = 0. toverlap = -1. multiplicity = numpy.zeros(shape=nslices, dtype="int_") - for i in xrange(nslices): - for j in xrange(i + 1, nslices): + for i in range(nslices): + for j in range(i + 1, nslices): if ranges[i, 1] > ranges[j, 0]: noverlaps += 1 multiplicity[j - i] += 1 @@ -1699,7 +1699,7 @@ tlen = stop - start bstart = 0 ilen = 0 - for nrow in xrange(nrow_start, nrow_stop + 1): + for nrow in range(nrow_start, nrow_stop + 1): blen = ss - istart if ilen + blen > tlen: blen = tlen - ilen @@ -1745,7 +1745,7 @@ # Special case for the behaviour of PyTables iterators stop = idx2long(start + 1) if start is None: - start = 0L + start = 0 else: start = idx2long(start) if stop is None: @@ -1753,7 +1753,7 @@ else: stop = idx2long(stop) if step is None: - step = 1L + step = 1 else: step = idx2long(step) return (start, stop, step) @@ -1842,7 +1842,7 @@ # Reset the lengths array (not necessary for starts) self.lengths[:] = 0 # Now, set the interesting rows - for nrow in xrange(len(startlengths)): + for nrow in range(len(startlengths)): nrow2, start, length = startlengths[nrow] self.starts[nrow2] = start self.lengths[nrow2] = length @@ -1920,7 +1920,7 @@ tlen = 0 # Do the lookup for values fullfilling the conditions - for i in xrange(self.nslices): + for i in range(self.nslices): (start, stop) = sorted._search_bin(i, item) self.starts[i] = start self.lengths[i] = stop - start @@ -2011,14 +2011,14 @@ lbucket = self.lbucket indsize = self.indsize bucketsinblock = float(self.blocksize) / lbucket - nchunks = long(math.ceil(float(self.nelements) / lbucket)) + nchunks = int(math.ceil(float(self.nelements) / lbucket)) chunkmap = numpy.zeros(shape=nchunks, dtype="bool") reduction = self.reduction starts = (self.starts - 1) * reduction + 1 stops = (self.starts + self.lengths) * reduction starts[starts < 0] = 0 # All negative values set to zero indices = self.indices - for nslice in xrange(self.nrows): + for nslice in range(self.nrows): start = starts[nslice] stop = stops[nslice] if stop > start: @@ -2032,7 +2032,7 @@ elif indsize == 2: # The chunkmap size cannot be never larger than 'int_' idx = idx.astype("int_") - offset = long((nslice // nsb) * bucketsinblock) + offset = int((nslice // nsb) * bucketsinblock) idx += offset elif indsize == 1: # The chunkmap size cannot be never larger than 'int_' @@ -2045,7 +2045,7 @@ if lbucket != nrowsinchunk: # Map the 'coarse grain' chunkmap into the 'true' chunkmap nelements = self.nelements - tnchunksRefactoringTool: Refactored ../python3/tables/idxutils.py RefactoringTool: Refactored ../python3/tables/group.py = long(math.ceil(float(nelements) / nrowsinchunk)) + tnchunks = int(math.ceil(float(nelements) / nrowsinchunk)) tchunkmap = numpy.zeros(shape=tnchunks, dtype="bool") ratio = float(lbucket) / nrowsinchunk idx = chunkmap.nonzero()[0] --- ../python3/tables/idxutils.py (original) +++ ../python3/tables/idxutils.py (refactored) @@ -476,7 +476,7 @@ direction.""" assert direction in [-1, 0, +1] - assert dtype.kind == "S" or type(x) in (bool, int, long, float) + assert dtype.kind == "S" or type(x) in (bool, int, int, float) if direction == 0: return x --- ../python3/tables/group.py (original) +++ ../python3/tables/group.py (refactored) @@ -647,7 +647,7 @@ (srcparent, dstparent) = parentstack.pop() if use_hardlinks: - for srcchild in srcparent._v_children.itervalues(): + for srcchild in srcparent._v_children.values(): addr, rc = srcchild._get_obj_info() if rc > 1 and addr in address_map: where, name = address_map[addr][0] @@ -674,7 +674,7 @@ (dstparent._v_pathname, srcchild.name) ] else: - for srcchild in srcparent._v_children.itervalues(): + for srcchild in srcparent._v_children.values(): dstchild = srcchild._g_copy_as_child(dstparent, **kwargs) if isinstance(srcchild, Group): parentstack.append((srcchild, dstchild)) @@ -726,22 +726,22 @@ if not classname: # Returns all the children alphanumerically sorted - names = sorted(self._v_children.iterkeys()) + names = sorted(self._v_children.keys()) for name in names: yield self._v_children[name] elif classname == 'Group': # Returns all the groups alphanumerically sorted - names = sorted(self._v_groups.iterkeys()) + names = sorted(self._v_groups.keys()) for name in names: yield self._v_groups[name] elif classname == 'Leaf': # Returns all the leaves alphanumerically sorted - names = sorted(self._v_leaves.iterkeys()) + names = sorted(self._v_leaves.keys()) for name in names: yield self._v_leaves[name] elif classname == 'Link': # Returns all the links alphanumerically sorted - names = sorted(self._v_links.iterkeys()) + names = sorted(self._v_links.keys()) for name in names: yield self._v_links[name] elif classname == 'IndexArray': @@ -751,7 +751,7 @@ class_ = get_class_by_name(classname) children = self._v_children - childnames = sorted(children.iterkeys()) + childnames = sorted(children.keys()) for childname in childnames: childnode = children[childname] @@ -775,7 +775,7 @@ # Iterate over the descendants while stack: objgroup = stack.pop() - groupnames = sorted(objgroup._v_groups.iterkeys()) + groupnames = sorted(objgroup._v_groups.keys()) # Sort the groups before delivering. This uses the groups names # for groups in tree (in order to sort() can classify them). for groupname in groupnames: @@ -1028,7 +1028,7 @@ if use_hardlinks: address_map = kwargs.setdefault('address_map', {}) - for child in self._v_children.itervalues(): + for child in self._v_children.values(): addr, rc = child._get_obj_info() if rc > 1 and addr in address_map: where, name = address_map[addr][0] @@ -1051,7 +1051,7 @@ (dstparent._v_pathname, child.name) ] else: - for child in self._v_children.itervalRefactoringTool: Refactored ../python3/tables/flavor.py RefactoringTool: Refactored ../python3/tables/filters.py RefactoringTool: Refactored ../python3/tables/file.py ues(): + for child in self._v_children.values(): child._f_copy(dstparent, None, overwrite, recursive, **kwargs) @@ -1091,7 +1091,7 @@ rep = [ '%r (%s)' % (childname, child.__class__.__name__) - for (childname, child) in self._v_children.iteritems() + for (childname, child) in self._v_children.items() ] childlist = '[%s]' % (', '.join(rep)) @@ -1254,7 +1254,7 @@ """ # Remove action storage nodes. - for child in self._v_children.values(): + for child in list(self._v_children.values()): child._g_remove(True, True) # Remove action storage attributes. --- ../python3/tables/flavor.py (original) +++ ../python3/tables/flavor.py (refactored) @@ -294,7 +294,7 @@ """Deregister aliases of a given `flavor` (no checks).""" rm_aliases = [] - for (an_alias, a_flavor) in alias_map.iteritems(): + for (an_alias, a_flavor) in alias_map.items(): if a_flavor == flavor: rm_aliases.append(an_alias) for an_alias in rm_aliases: --- ../python3/tables/filters.py (original) +++ ../python3/tables/filters.py (refactored) @@ -169,7 +169,7 @@ kwargs = dict(complevel=0, shuffle=False, fletcher32=False, # all off least_significant_digit=None, _new=False) - for (name, values) in filters_dict.iteritems(): + for (name, values) in filters_dict.items(): if name == 'deflate': name = 'zlib' if name in all_complibs: --- ../python3/tables/file.py (original) +++ ../python3/tables/file.py (refactored) @@ -20,7 +20,7 @@ """ -from __future__ import print_function + import os import sys import time @@ -90,7 +90,7 @@ @property def filenames(self): - return self._name_mapping.keys() + return list(self._name_mapping.keys()) @property def handlers(self): @@ -478,7 +478,7 @@ # Only iter on the nodes in the registry since nodes in the cahce # should always have an entry in the registry closed_keys = [] - for path, node in self.registry.items(): + for path, node in list(self.registry.items()): if not node._v_isopen: closed_keys.append(path) elif '/_i_' not in path: # Indexes are not necessary to be flushed @@ -753,14 +753,14 @@ "'r', 'r+', 'a' and 'w'" % mode) # Get all the parameters in parameter file(s) - params = dict([(k, v) for k, v in parameters.__dict__.iteritems() + params = dict([(k, v) for k, v in parameters.__dict__.items() if k.isupper() and not k.startswith('_')]) # Update them with possible keyword arguments if [k for k in kwargs if k.isupper()]: warnings.warn("The use of uppercase keyword parameters is " "deprecated", DeprecationWarning) - kwargs = dict([(k.upper(), v) for k, v in kwargs.iteritems()]) + kwargs = dict([(k.upper(), v) for k, v in kwargs.items()]) params.update(kwargs) # If MAX_ * _THREADS is not set yet, set it to the number of cores @@ -1580,7 +1580,7 @@ basepath = where._v_pathname nodepath = join_path(basepath, name or '') or '/' node = where._v_file._get_node(nodepath) - elif isinstance(where, (basestring, numpy.str_)): + elif isinstance(where, (str, numpy.str_)): if not where.startswith('/'): raise NameError("``where`` must start with a slash ('/')") @@ -2362,7 +2362,7 @@ self._curmark)) mnode._g_reset() # Delete the marker groups with backup objects - for mark in xrange(self._curmark + 1, self._nmarks): + for mark in range(self._curmark + 1, self._nmarks): mnode = self.get_node(_markPath % (self._curtransaction, mark)) mnode._g_remove(recursiveRefactoringTool: Refactored ../python3/tables/expression.py =1) # Update the new number of marks @@ -2400,7 +2400,7 @@ markid = mark elif isinstance(mark, str): if mark not in self._markers: - lmarkers = sorted(self._markers.iterkeys()) + lmarkers = sorted(self._markers.keys()) raise UndoRedoError("The mark that you have specified has not " "been found in the internal marker list: " "%r" % lmarkers) @@ -2443,7 +2443,7 @@ # Uncomment this for debugging # print("curaction, finalaction, direction", \ # self._curaction, finalaction, direction) - for i in xrange(len(actionlog)): + for i in range(len(actionlog)): if actionlog['opcode'][i] != _op_to_code["MARK"]: # undo/redo the action if direction > 0: --- ../python3/tables/expression.py (original) +++ ../python3/tables/expression.py (refactored) @@ -12,7 +12,7 @@ """Here is defined the Expr class.""" -from __future__ import print_function + import sys import warnings @@ -177,8 +177,8 @@ self.names, _ = getExprNames(expr, context) # Raise a ValueError in case we have unsupported objects - for name, var in vars_.iteritems(): - if type(var) in (int, long, float, str): + for name, var in vars_.items(): + if type(var) in (int, int, float, str): continue if not isinstance(var, (tb.Leaf, tb.Column)): if hasattr(var, "dtype"): @@ -192,7 +192,7 @@ # NumPy arrays to be copied? (we don't need to worry about # PyTables objects, as the reads always return contiguous and # aligned objects, or at least I think so). - for name, var in vars_.iteritems(): + for name, var in vars_.items(): if isinstance(var, np.ndarray): # See numexpr.necompiler.evaluate for a rational # of the code below @@ -258,7 +258,7 @@ # Protection against growing the cache too much if len(exprvars_cache) > 256: # Remove 10 (arbitrary) elements from the cache - for k in exprvars_cache.keys()[:10]: + for k in list(exprvars_cache.keys())[:10]: del exprvars_cache[k] cexpr = compile(expression, '', 'eval') exprvars = [var for var in cexpr.co_names @@ -469,7 +469,7 @@ (start, stop, step) = slice( self.start, self.stop, self.step).indices(shape[maindim]) shape[maindim] = min( - shape[maindim], len(xrange(0, stop - start, step))) + shape[maindim], len(range(0, stop - start, step))) i_nrows = shape[maindim] else: start, stop, step = 0, 0, None @@ -498,7 +498,7 @@ s = slice(self.o_start, self.o_stop, self.o_step) o_start, o_stop, o_step = s.indices(o_shape[o_maindim]) o_shape[o_maindim] = min(o_shape[o_maindim], - len(xrange(o_start, o_stop, o_step))) + len(range(o_start, o_stop, o_step))) # Check that the shape of output is consistent with inputs tr_oshape = list(o_shape) # this implies a copy @@ -593,7 +593,7 @@ val._v_convert = False # Start the computation itself - for start2 in xrange(start, stop, step * nrowsinbuf): + for start2 in range(start, stop, step * nrowsinbuf): stop2 = start2 + step * nrowsinbuf if stop2 > stop: stop2 = stop @@ -659,7 +659,7 @@ val._v_convert = False # Start the computation itself - for start2 in xrange(start, stop, step * nrowsinbuf): + for start2 in range(start, stop, step * nrowsinbuf): stop2 = start2 + step * nrowsinbuf if stop2 > stop: RefactoringTool: Refactored ../python3/tables/exceptions.py RefactoringTool: Refactored ../python3/tables/earray.py RefactoringTool: Refactored ../python3/tables/description.py RefactoringTool: No changes to ../python3/tables/conditions.py RefactoringTool: Refactored ../python3/tables/carray.py stop2 = stop --- ../python3/tables/exceptions.py (original) +++ ../python3/tables/exceptions.py (refactored) @@ -161,7 +161,7 @@ "End of HDF5 error back trace" ]) - if len(self.args) == 1 and isinstance(self.args[0], basestring): + if len(self.args) == 1 and isinstance(self.args[0], str): msg = super(HDF5ExtError, self).__str__() msg = "%s\n\n%s" % (bt, msg) elif self.h5backtrace[-1][-1]: --- ../python3/tables/earray.py (original) +++ ../python3/tables/earray.py (refactored) @@ -220,7 +220,7 @@ shape = list(self.shape) shape[maindim] = 0 # The number of final rows - nrows = len(xrange(0, stop - start, step)) + nrows = len(range(0, stop - start, step)) # Build the new EArray object object = EArray( group, name, atom=self.atom, shape=shape, title=title, @@ -234,7 +234,7 @@ # when copying buffers self._v_convert = False # Start the copy itself - for start2 in xrange(start, stop, step * nrowsinbuf): + for start2 in range(start, stop, step * nrowsinbuf): # Save the records on disk stop2 = start2 + step * nrowsinbuf if stop2 > stop: --- ../python3/tables/description.py (original) +++ ../python3/tables/description.py (refactored) @@ -14,7 +14,7 @@ # Imports # ======= -from __future__ import print_function + import sys import copy import warnings @@ -48,7 +48,7 @@ # Column classes # ============== -class Col(atom.Atom): +class Col(atom.Atom, metaclass=type): """Defines a non-nested column. Col instances are used as a means to declare the different properties of a @@ -89,9 +89,6 @@ """ - # Avoid mangling atom class data. - __metaclass__ = type - _class_from_prefix = {} # filled as column classes are created """Maps column prefixes to column classes.""" @@ -247,12 +244,12 @@ # Abstract classes are not in the class map. cprefixes = ['Int', 'UInt', 'Float', 'Time'] - for (kind, kdata) in atom.atom_map.iteritems(): + for (kind, kdata) in atom.atom_map.items(): if hasattr(kdata, 'kind'): # atom class: non-fixed item size atomclass = kdata cprefixes.append(atomclass.prefix()) else: # dictionary: fixed item size - for atomclass in kdata.itervalues(): + for atomclass in kdata.values(): cprefixes.append(atomclass.prefix()) # Bottom-level complex classes are not in the type map, of course. @@ -460,7 +457,7 @@ cols_no_pos = [] # just column names # Check for special variables and convert column descriptions - for (name, descr) in classdict.iteritems(): + for (name, descr) in classdict.items(): if name.startswith('_v_'): if name in newdict: # print("Warning!") @@ -651,7 +648,7 @@ # children lists, a string signals that no more children # remain to be processed, so we are done with the # description at the top of the stack. - assert isinstance(head, basestring) + assert isinstance(head, str) # Assign the computed set of descendent column paths. desc._v_pathnames = cols if len(stack) > 0: @@ -731,7 +728,7 @@ -class IsDescription(object): +class IsDescription(object, metaclass=MetaIsDescription): """Description of the structure of a table or nested column. This class is designed to be used as an easy, yet meaningful way to @@ -774,8 +771,6 @@ be accessed as normal class variables after its creation. """ - - __metaclass__ = MetaIsDescription def descr_from_dtype(dtype_): --- ../python3/tables/carray.py (original) +++ ../python3/tables/carray.py (refactored) @@ -252,7 +252,7 @@ (start, stop, step) = self._process_range_read(start, stop, step) maindim = self.maindim RefactoringTool: Refactored ../python3/tables/attributeset.py RefactoringTool: Refactored ../python3/tables/atom.py shape = list(self.shape) - shape[maindim] = len(xrange(0, stop - start, step)) + shape[maindim] = len(range(0, stop - start, step)) # Now, fill the new carray with values from source nrowsinbuf = self.nrowsinbuf # The slices parameter for self.__getitem__ @@ -265,7 +265,7 @@ title=title, filters=filters, chunkshape=chunkshape, _log=_log) # Start the copy itself - for start2 in xrange(start, stop, step * nrowsinbuf): + for start2 in range(start, stop, step * nrowsinbuf): # Save the records on disk stop2 = start2 + step * nrowsinbuf if stop2 > stop: --- ../python3/tables/attributeset.py (original) +++ ../python3/tables/attributeset.py (refactored) @@ -15,7 +15,7 @@ import re import sys import warnings -import cPickle +import pickle import numpy from tables import hdf5extension @@ -309,7 +309,7 @@ # This format was used during the first 1.2 releases, just # for string defaults. try: - retval = cPickle.loads(value) + retval = pickle.loads(value) retval = numpy.array(retval) except ImportError: retval = None # signal error avoiding exception @@ -317,10 +317,10 @@ # This is a big hack, but we don't have other way to recognize # pickled filters of PyTables 1.x files. value = _old_filters_re.sub(_new_filters_sub, value, 1) - retval = cPickle.loads(value) # pass unpickling errors through + retval = pickle.loads(value) # pass unpickling errors through elif maybe_pickled: try: - retval = cPickle.loads(value) + retval = pickle.loads(value) # except cPickle.UnpicklingError: # It seems that pickle may raise other errors than UnpicklingError # Perhaps it would be better just an "except:" clause? @@ -337,7 +337,7 @@ # explaining how the user can tell where the problem was. retval = value # Additional check for allowing a workaround for #307 - if isinstance(retval, unicode) and retval == u'': + if isinstance(retval, str) and retval == '': retval = numpy.array(retval)[()] elif name == 'FILTERS' and format_version >= (2, 0): retval = Filters._unpack(value) @@ -347,7 +347,7 @@ retval = value else: retval = value.decode('utf-8') - elif (issysattrname(name) and isinstance(value, (bytes, unicode)) and + elif (issysattrname(name) and isinstance(value, (bytes, str)) and not isinstance(value, str) and not _field_fill_re.match(name)): # system attributes should always be str if sys.version_info[0] < 3: @@ -390,11 +390,11 @@ # (only in case it has not been converted yet) # Fixes ticket #59 if (stvalue is value and - type(value) in (bool, bytes, int, float, complex, unicode, + type(value) in (bool, bytes, int, float, complex, str, numpy.unicode_)): # Additional check for allowing a workaround for #307 - if isinstance(value, unicode) and len(value) == 0: - stvalue = numpy.array(u'') + if isinstance(value, str) and len(value) == 0: + stvalue = numpy.array('') else: stvalue = numpy.array(value) value = stvalue[()] --- ../python3/tables/atom.py (original) +++ ../python3/tables/atom.py (refactored) @@ -17,7 +17,7 @@ import re import sys import inspect -import cPickle +import pickle import numpy @@ -117,7 +117,7 @@ def _normalize_shape(shape): """Check that the `shape` is safe to be used and return it as a tuple.""" - if isinstance(shape, (int, numpy.integer, long)): + if isinstance(shape, (int, numpy.iRefactoringTool: Refactored ../python3/tables/array.py nteger)): if shape < 1: raise ValueError("shape value must be greater than 0: %d" % shape) @@ -219,7 +219,7 @@ # Atom classes # ============ -class Atom(object): +class Atom(object, metaclass=MetaAtom): """Defines the type of atomic cells stored in a dataset. The meaning of *atomic* is that individual elements of a cell can @@ -313,9 +313,6 @@ True """ - - # Register data for all subclasses. - __metaclass__ = MetaAtom # Class methods # ~~~~~~~~~~~~~ @@ -782,10 +779,8 @@ Atom.__init__(self, self.type, shape, dflt) -class _ComplexErrorAtom(ComplexAtom): +class _ComplexErrorAtom(ComplexAtom, metaclass=type): """Reminds the user to stop using the old complex atom names.""" - - __metaclass__ = type # do not register anything about this class def __init__(self, shape=(), dflt=ComplexAtom._defvalue): raise TypeError( @@ -1121,7 +1116,7 @@ base = UInt8Atom() def _tobuffer(self, object_): - if not isinstance(object_, basestring): + if not isinstance(object_, str): raise TypeError("object is not a string: %r" % (object_,)) return numpy.string_(object_) @@ -1161,9 +1156,9 @@ # NumPy ticket #525). Since ``_tobuffer()`` can't return an # array, we must override ``toarray()`` itself. def toarray(self, object_): - if not isinstance(object_, basestring): + if not isinstance(object_, str): raise TypeError("object is not a string: %r" % (object_,)) - ustr = unicode(object_) + ustr = str(object_) uarr = numpy.array(ustr, dtype='U') return numpy.ndarray( buffer=uarr, dtype=self.base.dtype, shape=len(ustr)) @@ -1172,14 +1167,14 @@ # This works (and is used) only with UCS-4 builds of Python, # where the width of the internal representation of a # character matches that of the base atoms. - if not isinstance(object_, basestring): + if not isinstance(object_, str): raise TypeError("object is not a string: %r" % (object_,)) return numpy.unicode_(object_) def fromarray(self, array): length = len(array) if length == 0: - return u'' # ``array.view('U0')`` raises a `TypeError` + return '' # ``array.view('U0')`` raises a `TypeError` return array.view('U%d' % length).item() @@ -1204,7 +1199,7 @@ base = UInt8Atom() def _tobuffer(self, object_): - return cPickle.dumps(object_, cPickle.HIGHEST_PROTOCOL) + return pickle.dumps(object_, pickle.HIGHEST_PROTOCOL) def fromarray(self, array): # We have to check for an empty array because of a possible @@ -1212,4 +1207,4 @@ # record when in fact it is empty. if array.size == 0: return None - return cPickle.loads(array.tostring()) + return pickle.loads(array.tostring()) --- ../python3/tables/array.py (original) +++ ../python3/tables/array.py (refactored) @@ -324,7 +324,7 @@ self.nrow = SizeType(self._start - self._step) # row number - def next(self): + def __next__(self): """Get the next element of the array during an iteration. The element is returned as an object of the current flavor. @@ -380,7 +380,7 @@ ellipsis = 0 # Sentinel if isinstance(key, type(Ellipsis)): ellipsis = 1 - for diml in xrange(dim, len(self.shape) - (nkeys - dim) + 1): + for diml in range(dim, len(self.shape) - (nkeys - dim) + 1): startl[dim] = 0 stopl[dim] = self.shape[diml] stepl[dim] = 1 @@ -411,7 +411,7 @@ # Complete the other dimensions, if needed if dim < len(self.shape): - for diml in xrange(dim, len(self.shape)): + for diml in range(dim, len(self.shape)): startl[dim] = 0 RefactoringTool: No changes to ../python3/tables/__init__.py RefactoringTool: Refactored ../python3/tables/tests/test_vlarray.py stopl[dim] = self.shape[diml] stepl[dim] = 1 @@ -419,7 +419,7 @@ # Compute the shape for the container properly. Fixes #1288792 shape = [] - for dim in xrange(len(self.shape)): + for dim in range(len(self.shape)): # The negative division operates differently with python scalars # and numpy scalars (which are similar to C conventions). See: # http://www.python.org/doc/faq/programming.html#why-does-22-10-return-3 @@ -431,7 +431,7 @@ # Switch to `lrange` to allow long ranges (see #99). # use xrange, since it supports large integers as of Python 2.6 # see github #181 - new_dim = len(xrange(startl[dim], stopl[dim], stepl[dim])) + new_dim = len(range(startl[dim], stopl[dim], stepl[dim])) if not (new_dim == 1 and stop_None[dim]): shape.append(new_dim) @@ -455,7 +455,7 @@ """Validate a list member for the given axis length.""" try: - num = long(num) + num = int(num) except TypeError: raise TypeError("Illegal index: %r" % num) if num > length - 1: @@ -494,15 +494,15 @@ if start is None: start = 0 else: - start = long(start) + start = int(start) if stop is None: stop = length else: - stop = long(stop) + stop = int(stop) if step is None: step = 1 else: - step = long(step) + step = int(step) if step < 1: raise IndexError("Step must be >= 1 (got %d)" % step) @@ -566,7 +566,7 @@ else: list_seen = True else: - if (not isinstance(exp[0], (int, long, numpy.integer)) or + if (not isinstance(exp[0], (int, numpy.integer)) or (isinstance(exp[0], numpy.ndarray) and not numpy.issubdtype(exp[0].dtype, numpy.integer))): raise TypeError("Only integer coordinates allowed.") @@ -590,7 +590,7 @@ corrected_idx = sum(1 for x in mshape if x != 0) - 1 reorder = (corrected_idx, neworder) nexp = nexp[neworder] - for select_idx in xrange(len(nexp) + 1): + for select_idx in range(len(nexp) + 1): # This crazy piece of code performs a list selection # using HDF5 hyperslabs. # For each index, perform a "NOTB" selection on every @@ -834,7 +834,7 @@ def _read(self, start, stop, step, out=None): """Read the array from disk without slice or flavor processing.""" - nrowstoread = len(xrange(0, stop - start, step)) + nrowstoread = len(range(0, stop - start, step)) shape = list(self.shape) if shape: shape[self.maindim] = nrowstoread --- ../python3/tables/tests/test_vlarray.py (original) +++ ../python3/tables/tests/test_vlarray.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: latin-1 -*- -from __future__ import print_function + import sys import numpy @@ -1262,12 +1262,12 @@ '/', "VLStringAtom", atom=VLStringAtom()) vlarray.append("asd") vlarray.append("asd\xe4") - vlarray.append(u"aaana") + vlarray.append("aaana") vlarray.append("") # Check for ticket #62. self.assertRaises(TypeError, vlarray.append, ["foo", "bar"]) # `VLStringAtom` makes no encoding assumptions. See ticket #51. - self.assertRaises(UnicodeEncodeError, vlarray.append, u"asd\xe4") + self.assertRaises(UnicodeEncodeError, vlarray.append, "asd\xe4") if self.reopen: name = vlarray._v_pathname @@ -1302,7 +1302,7 @@ vlarray = self.h5file.create_vlaWARNING: couldn't encode ../python3/tables/tests/test_vlarray.py's diff for your terminal RefactoringTool: Refactored ../python3/tables/tests/test_types.py RefactoringTool: Refactored ../python3/tables/tests/test_tree.py RefactoringTool: Refactored ../python3/tables/tests/test_timetype.py RefactoringTool: Refactored ../python3/tables/tests/test_tablesMD.py rray( '/', "VLStringAtom", atom=VLStringAtom()) vlarray.append("asd") - vlarray.append(u"aaana") + vlarray.append("aaana") # Modify values vlarray[0] = "as4" @@ -1338,7 +1338,7 @@ vlarray = self.h5file.create_vlarray( '/', "Object", atom=ObjectAtom()) --- ../python3/tables/tests/test_types.py (original) +++ ../python3/tables/tests/test_types.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import sys import numpy --- ../python3/tables/tests/test_tree.py (original) +++ ../python3/tables/tests/test_tree.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys import time @@ -51,7 +51,7 @@ # Get the record object associated with the new table d = table.row # Fill the table - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): d['var1'] = '%04d' % (self.expectedrows - i) d['var2'] = i d['var3'] = i % maxshort @@ -440,7 +440,7 @@ self.h5file = tables.open_file(self.h5fname, "r") self.assertRaises(TypeError, - self.h5file.walk_nodes('/', 'NoSuchClass').next) + self.h5file.walk_nodes('/', 'NoSuchClass').__next__) groups = [] tables1 = [] --- ../python3/tables/tests/test_timetype.py (original) +++ ../python3/tables/tests/test_timetype.py (refactored) @@ -12,7 +12,7 @@ """Unit test for the Time datatypes.""" -from __future__ import print_function + import numpy @@ -208,7 +208,7 @@ # the I/O with multiple buffers. # nrows = 10 - for i in xrange(nrows): + for i in range(nrows): j = i * 2 vla.append((j + 0.012, j + 1 + 0.012)) self._reopen() @@ -263,7 +263,7 @@ # nrows = 10 row = tbl.row - for i in xrange(nrows): + for i in range(nrows): row['t32col'] = i j = i * 2 row['t64col'] = (j + 0.012, j+1+0.012) @@ -323,7 +323,7 @@ # the I/O with multiple buffers. # nrows = 10 - for i in xrange(nrows): + for i in range(nrows): j = i * 2 ea.append(((j + 0.012, j + 1 + 0.012),)) self._reopen() @@ -364,7 +364,7 @@ # nrows = 10 row = tbl.row - for i in xrange(nrows): + for i in range(nrows): row['i8col'] = i row['t32col'] = i j = i * 2 --- ../python3/tables/tests/test_tablesMD.py (original) +++ ../python3/tables/tests/test_tablesMD.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import sys import numpy as np @@ -90,7 +90,7 @@ row = record[0] buflist = [] # Fill the recarray - for i in xrange(self.expectedrows + 1): + for i in range(self.expectedrows + 1): tmplist = [] # Both forms (list or chararray) works var0 = ['%04d' % (self.expectedrows - i)] * 2 @@ -145,7 +145,7 @@ row = table.row # Fill the table - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): s = '%04d' % (self.expectedrows - i) row['var0'] = s.encode('ascii') row['var1'] = s.encode('ascii') @@ -372,7 +372,7 @@ print("Record Format ==>", table.description._v_nested_formats) print("Record Size ==>", table.rowsize) # Append some rows - for i in xrange(self.appendrows): + for i in range(self.appendrows): s = '%04d' % (self.appendrows - i) row['var0'] = s.encode('ascii') row['var1'] = s.encode('ascii') @@ -583,7 +583,7 @@ row = table.row # Fill the table - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): row['var1'] = '%04d' % (self.expectedrows - i) row['var7'] = row['var1'][0][0][-1] row['var2'] = i @@ -615,7 +615,7 @@ table.nrowsinbuf = self.nrowsinbuf resrange = slice(self.start, self.stop, self.step).indices(table.nrows) - reslength = len(range(*resrange)) + reslength = len(list(range(*resrange))) if self.checkrecarray: recarray = table.read(self.start, self.stop, self.step) result = [] @@ -681,10 +681,10 @@ print("Total number of selected records ==>", len(result)) print("Selected records:\n", result) print("Selected records should look like:\n", - range(startr, stopr, self.step)) + list(range(startr, stopr, self.step))) print("start, stop, step ==>", startr, stopr, self.step) - self.assertEqual(result, range(startr, stopr, self.step)) + self.assertEqual(result, list(range(startr, stopr, self.step))) if not (self.checkrecarray or self.checkgetCol): if startr < stopr and 0 < self.step: r = [r['var2'] for r in table.iterrows(self.start, self.stop, @@ -693,10 +693,10 @@ if self.nrows > self.expectedrows: self.assertEqual( r[0][0], - range(self.start, self.stop, self.step)[-1]) + list(range(self.start, self.stop, self.step))[-1]) else: self.assertEqual(r[0][0], - range(startr, stopr, self.step)[-1]) + list(range(startr, stopr, self.step))[-1]) elif startr > stopr and 0 > self.step: r = [r['var2'] for r in table.iterrows(self.start, self.stop, self.step) @@ -704,11 +704,11 @@ if self.nrows < self.expectedrows: self.assertEqual( r[0][0], - range(self.start, self.stop or -1, self.step)[0]) + list(range(self.start, self.stop or -1, self.step))[0]) else: self.assertEqual( r[0][0], - range(startr, stopr or -1, self.step)[0]) + list(range(startr, stopr or -1, self.step))[0]) # Close the file self.h5file.close() @@ -1222,7 +1222,7 @@ # nrows = int(table.nrowsinbuf * 1.1) nrows = 5 # for test # Fill the table with nrows records - for i in xrange(nrows): + for i in range(nrows): if i == 3 or i == 4: table.row['var2'] = ((2, 2), (2, 2)) # *-* # This injects the row values. @@ -1283,7 +1283,7 @@ table = self.h5file.create_table(self.h5file.root, 'table', RecordT) row = table.row # Fill the table with some rows with default values - for i in xrange(1): + for i in range(1): row.append() # Flush the buffer for this table @@ -2020,7 +2020,7 @@ # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -2038,7 +2038,7 @@ r1 = records.array(None, shape=nrows, formats=formats, names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): r1['col1'][i] = i r1['col2'][i] = 'b'+str(i) r1['col3'][i] = 0.0 @@ -2065,7 +2065,7 @@ # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -2RefactoringTool: Refactored ../python3/tables/tests/test_tables.py 083,7 +2083,7 @@ r1 = records.array(None, shape=nrows, formats=formats, names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): r1['col1'][i] = i-1 r1['col2'][i] = 'a'+str(i-1) r1['col3'][i] = -1.0 @@ -2110,7 +2110,7 @@ # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -2129,7 +2129,7 @@ r1 = records.array(None, shape=nrows, formats=formats, names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): r1['col1'][i] = i-1 r1['col2'][i] = 'a'+str(i-1) r1['col3'][i] = -1.0 @@ -2161,7 +2161,7 @@ # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -2179,7 +2179,7 @@ r1 = records.array(None, shape=nrows, formats=formats, names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): if i % 10 > 0: r1['col1'][i] = i-1 r1['col2'][i] = 'a'+str(i-1) --- ../python3/tables/tests/test_tables.py (original) +++ ../python3/tables/tests/test_tables.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys import tempfile @@ -137,7 +137,7 @@ row = record[0] buflist = [] # Fill the recarray - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): tmplist = [] var1 = '%04d' % (self.expectedrows - i) tmplist.append(var1) @@ -226,7 +226,7 @@ # Get the row object associated with the new table row = table.row # Fill the table - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): s = '%04d' % (self.expectedrows - i) row['var1'] = s.encode('ascii') row['var7'] = s[-1].encode('ascii') @@ -468,7 +468,7 @@ print("Total selected records in table ==> ", len(result)) print("All results ==>", result) self.assertEqual(len(result), 20) - self.assertEqual(result, range(20)) + self.assertEqual(result, list(range(20))) def test01a_extslice(self): """Checking table read (using Row[::2])""" @@ -740,7 +740,7 @@ print("Record Format ==>", table.description._v_nested_formats) print("Record Size ==>", table.rowsize) # Append some rows - for i in xrange(self.appendrows): + for i in range(self.appendrows): s = '%04d' % (self.appendrows - i) row['var1'] = s.encode('ascii') row['var7'] = s[-1].encode('ascii') @@ -839,7 +839,7 @@ print("Record Format ==>", table.description._v_nested_formats) print("Record Size ==>", table.rowsize) # Append some rows - for i in xrange(self.appendrows): + for i in range(self.appendrows): row['var1'] = '%04d' % (self.appendrows - i) row['var7'] = row['var1'][-1] row['var2'] = i @@ -937,7 +937,7 @@ row = table.row # Append some rows (3 * table.nrowsinbuf is enough for # checking purposes) - for i in xrange(3 * table.nrowsinbuf): + for i in range(3 * table.nrowsinbuf): s = '%04d' % (self.appendrows - i) row['var1'] = s.encode('ascii') row['var7'] = s[-1].encode('ascii') @@ -1053,13 +1053,13 @@ # Get their row object row = table.row # Append some rows - for i in xrange(10): + for i in range(10): row['var2'] = 100 + i row.append() # Force a flush table.flush() # Add new rows - for i in xrange(9): + for i in range(9): row['var2'] = 110 + i row.append() table.flush() # XXX al eliminar... @@ -1317,7 +1317,7 @@ # Append some rows row = table.row - for i in xrange(10, 15): + for i in range(10, 15): row['var1'] = '%04d' % (self.appendrows - i) # This line gives problems on Windows. Why? # row['var7'] = row['var1'][-1] @@ -1558,7 +1558,7 @@ @unittest.skipIf(sys.version_info >= (3,), 'requires Python 2') class DictWriteTestCase2(DictWriteTestCase): record = RecordDescriptionDict.copy() - record[unicode('var1')] = record.pop('var1') + record[str('var1')] = record.pop('var1') # Pure NumPy dtype @@ -2107,7 +2107,7 @@ row = table.row # Fill the table - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): row['var1'] = '%04d' % (self.expectedrows - i) row['var7'] = row['var1'][-1] row['var2'] = i @@ -2141,13 +2141,13 @@ table.nrowsinbuf = self.nrowsinbuf resrange = slice(self.start, self.stop, self.step).indices(table.nrows) - reslength = len(range(*resrange)) + reslength = len(list(range(*resrange))) #print "self.checkrecarray = ", self.checkrecarray #print "self.checkgetCol = ", self.checkgetCol if self.checkrecarray: recarray = table.read(self.start, self.stop, self.step) result = [] - for nrec in xrange(len(recarray)): + for nrec in range(len(recarray)): if recarray['var2'][nrec] < self.nrows and 0 < self.step: result.append(recarray['var2'][nrec]) elif recarray['var2'][nrec] > self.nrows and 0 > self.step: @@ -2155,7 +2155,7 @@ elif self.checkgetCol: column = table.read(self.start, self.stop, self.step, 'var2') result = [] - for nrec in xrange(len(column)): + for nrec in range(len(column)): if column[nrec] < self.nrows and 0 < self.step: result.append(column[nrec]) elif column[nrec] > self.nrows and 0 > self.step: @@ -2208,11 +2208,11 @@ print("Total number of selected records ==>", len(result)) print("Selected records:\n", result) print("Selected records should look like:\n", - range(startr, stopr, self.step)) + list(range(startr, stopr, self.step))) print("start, stop, step ==>", self.start, self.stop, self.step) print("startr, stopr, step ==>", startr, stopr, self.step) - self.assertEqual(result, range(startr, stopr, self.step)) + self.assertEqual(result, list(range(startr, stopr, self.step))) if not (self.checkrecarray or self.checkgetCol): if startr < stopr and 0 < self.step: rec = [r for r in table.iterrows(self.start, self.stop, @@ -2221,11 +2221,11 @@ if self.nrows < self.expectedrows: self.assertEqual( rec['var2'], - range(self.start, self.stop, self.step)[-1]) + list(range(self.start, self.stop, self.step))[-1]) else: self.assertEqual( rec['var2'], - range(startr, stopr, self.step)[-1]) + list(range(startr, stopr, self.step))[-1]) elif startr > stopr and 0 > self.step: rec = [r['var2'] for r in table.iterrows(self.start, self.stop, self.step) @@ -2233,11 +2233,11 @@ if self.nrows < self.expectedrows: self.assertEqual( rec, - range(self.start, self.stop or -1, self.step)[0]) + list(range(self.start, self.stop or -1, self.step))[0]) else: self.assertEqual( rec, - range(startr, stopr or -1, self.step)[0]) + list(range(startr, stopr or -1, self.step))[0]) # Close the file self.h5file.close() @@ -2578,7 +2578,7 @@ row = table.row # Fill the table - for i in xrange(self.expectedrows): + for i in range(self.expectedrows): row['var1'] = '%04d' % (self.expectedrows - i) row['var7'] = row['var1'][-1] row['var2'] = i @@ -2693,15 +2693,15 @@ self.h5file = tables.open_file(self.h5fname, "r") table = self.h5file.root.table0 result = table[2:6] - self.assertEqual(result["var2"].tolist(), range(2, 6)) + self.assertEqual(result["var2"].tolist(), list(range(2, 6))) result = table[2:-6] - self.assertEqual(result["var2"].tolist(), range( - 2, self.expectedrows-6)) + self.assertEqual(result["var2"].tolist(), list(range( + 2, self.expectedrows-6))) result = table[2:] - self.assertEqual(result["var2"].tolist(), range(2, self.expectedrows)) + self.assertEqual(result["var2"].tolist(), list(range(2, self.expectedrows))) result = table[-2:] self.assertEqual(result["var2"].tolist(), - range(self.expectedrows-2, self.expectedrows)) + list(range(self.expectedrows-2, self.expectedrows))) def test03_threeItems(self): """Checking __getitem__ method with start, stop, step parameters.""" @@ -2713,15 +2713,15 @@ self.h5file = tables.open_file(self.h5fname, "r") table = self.h5file.root.table0 result = table[2:6:3] - self.assertEqual(result["var2"].tolist(), range(2, 6, 3)) + self.assertEqual(result["var2"].tolist(), list(range(2, 6, 3))) result = table[2::3] - self.assertEqual(result["var2"].tolist(), range( - 2, self.expectedrows, 3)) + self.assertEqual(result["var2"].tolist(), list(range( + 2, self.expectedrows, 3))) result = table[:6:2] - self.assertEqual(result["var2"].tolist(), range(0, 6, 2)) + self.assertEqual(result["var2"].tolist(), list(range(0, 6, 2))) result = table[::] - self.assertEqual(result["var2"].tolist(), range( - 0, self.expectedrows, 1)) + self.assertEqual(result["var2"].tolist(), list(range( + 0, self.expectedrows, 1))) def test04_negativeStep(self): """Checking __getitem__ method with negative step parameter.""" @@ -2776,11 +2776,11 @@ self.h5file = tables.open_file(self.h5fname, "r") table = self.h5file.root.table0 colvar2 = table.cols.var2 - self.assertEqual(colvar2[2:6].tolist(), range(2, 6)) - self.assertEqual(colvar2[2:-6].tolist(), range(2, self.expectedrows-6)) - self.assertEqual(colvar2[2:].tolist(), range(2, self.expectedrows)) + self.assertEqual(colvar2[2:6].tolist(), list(range(2, 6))) + self.assertEqual(colvar2[2:-6].tolist(), list(range(2, self.expectedrows-6))) + self.assertEqual(colvar2[2:].tolist(), list(range(2, self.expectedrows))) self.assertEqual(colvar2[-2:].tolist(), - range(self.expectedrows-2, self.expectedrows)) + list(range(self.expectedrows-2, self.expectedrows))) def test08_threeItemsCol(self): """Checking __getitem__ method in Col with start, stop, step @@ -2794,11 +2794,11 @@ self.h5file = tables.open_file(self.h5fname, "r") table = self.h5file.root.table0 colvar2 = table.cols.var2 - self.assertEqual(colvar2[2:6:3].tolist(), range(2, 6, 3)) - self.assertEqual(colvar2[2::3].tolist(), range( - 2, self.expectedrows, 3)) - self.assertEqual(colvar2[:6:2].tolist(), range(0, 6, 2)) - self.assertEqual(colvar2[::].tolist(), range(0, self.expectedrows, 1)) + self.assertEqual(colvar2[2:6:3].tolist(), list(range(2, 6, 3))) + self.assertEqual(colvar2[2::3].tolist(), list(range( + 2, self.expectedrows, 3))) + self.assertEqual(colvar2[:6:2].tolist(), list(range(0, 6, 2))) + self.assertEqual(colvar2[::].tolist(), list(range(0, self.expectedrows, 1))) def test09_negativeStep(self): """Checking __getitem__ method in Col with negative step parameter.""" @@ -3496,7 +3496,7 @@ nrows = 100 # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -3514,7 +3514,7 @@ r1 = records.array(None, shape=nrows, formats="i4,a3,f8", names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): r1['col1'][i] = i r1['col2'][i] = 'b'+str(i) r1['col3'][i] = 0.0 @@ -3540,7 +3540,7 @@ nrows = 100 # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -3558,7 +3558,7 @@ r1 = records.array(None, shape=nrows, formats="i4,a3,f8", names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): r1['col1'][i] = i-1 r1['col2'][i] = 'a'+str(i-1) r1['col3'][i] = -1.0 @@ -3584,7 +3584,7 @@ nrows = 100 # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -3602,7 +3602,7 @@ r1 = records.array(None, shape=nrows, formats="i4,a3,f8", names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): r1['col1'][i] = i-1 r1['col2'][i] = 'a'+str(i-1) r1['col3'][i] = -1.0 @@ -3633,7 +3633,7 @@ nrows = 100 # append new rows row = table.row - for i in xrange(nrows): + for i in range(nrows): row['col1'] = i-1 row['col2'] = 'a'+str(i-1) row['col3'] = -1.0 @@ -3651,7 +3651,7 @@ r1 = records.array(None, shape=nrows, formats="i4,a3,f8", names="col1,col2,col3") - for i in xrange(nrows): + for i in range(nrows): if i % 10 > 0: r1['col1'][i] = i-1 r1['col2'][i] = 'a'+str(i-1) @@ -4437,7 +4437,7 @@ cinst1, cinst2 = table1.colinstances, table2.colinstances self.assertEqual(len(cinst1), len(cinst2)) - for (cpathname, col1) in cinst1.iteritems(): + for (cpathname, col1) in cinst1.items(): self.assertTrue(cpathname in cinst2) col2 = cinst2[cpathname] self.assertTrue(isinstance(col1, type(col2))) @@ -5100,7 +5100,7 @@ nrows = int(table.nrowsinbuf * 1.1) row = table.row # Fill the table with nrows records - for i in xrange(nrows): + for i in range(nrows): if i == 3: row['var2'] = 2 if i == 4: @@ -5174,7 +5174,7 @@ # Take a number of records a bit greater nrows = int(table.nrowsinbuf * 1.1) # Fill the table with nrows records - for i in xrange(nrows): + for i in range(nrows): if i == 3: table.row[RefactoringTool: Refactored ../python3/tables/tests/test_queries.py 'var2'] = 2 if i == 4: @@ -5269,7 +5269,7 @@ row = table.row # Fill the table - for i in xrange(self.nrows): + for i in range(self.nrows): row.append() # Flush the buffer for this table @@ -5365,7 +5365,7 @@ and r1['v2'] == r2['v2']) # There are no more rows. - self.assertRaises(StopIteration, it2.next) + self.assertRaises(StopIteration, it2.__next__) def test01_compatible(self): """Query with compatible storage.""" @@ -5389,7 +5389,7 @@ and r1['v2'] == r2['v2']) # There are no more rows. - self.assertRaises(StopIteration, it2.next) + self.assertRaises(StopIteration, it2.__next__) def test02_lessPrecise(self): """Query with less precise storage.""" @@ -5412,7 +5412,7 @@ and r1['v2'] == r2['v2']) # There are no more rows. - self.assertRaises(StopIteration, it2.next) + self.assertRaises(StopIteration, it2.__next__) def test03_incompatible(self): """Query with incompatible storage.""" @@ -5492,7 +5492,7 @@ and r1['v2'] == r2['v2']) # There are no more rows. - self.assertRaises(StopIteration, it2.next) + self.assertRaises(StopIteration, it2.__next__) class DerivedTableTestCase(common.TempFileMixin, TestCase): @@ -6020,8 +6020,8 @@ # fill the database observations = np.arange(225) row = table.row - for market_id in xrange(5): - for scenario_id in xrange(3): + for market_id in range(5): + for scenario_id in range(3): for obs in observations: row['market_id'] = market_id row['scenario_id'] = scenario_id --- ../python3/tables/tests/test_queries.py (original) +++ ../python3/tables/tests/test_queries.py (refactored) @@ -54,9 +54,9 @@ 'int16': (numpy.int16, int), 'uint16': (numpy.uint16, int), 'int32': (numpy.int32, int), - 'uint32': (numpy.uint32, long), - 'int64': (numpy.int64, long), - 'uint64': (numpy.uint64, long), + 'uint32': (numpy.uint32, int), + 'int64': (numpy.int64, int), + 'uint64': (numpy.uint64, int), 'float32': (numpy.float32, float), 'float64': (numpy.float64, float), 'complex64': (numpy.complex64, complex), @@ -80,10 +80,10 @@ # type_info['complex256'] = (numpy.complex256, complex) sctype_from_type = dict((type_, info[0]) - for (type_, info) in type_info.iteritems()) + for (type_, info) in type_info.items()) """Maps PyTables types to NumPy scalar types.""" nxtype_from_type = dict((type_, info[1]) - for (type_, info) in type_info.iteritems()) + for (type_, info) in type_info.items()) """Maps PyTables types to Numexpr types.""" heavy_types = frozenset(['uint8', 'int16', 'uint16', 'float32', 'complex64']) @@ -103,7 +103,7 @@ """ heavy = common.heavy - for (itype, type_) in enumerate(sorted(type_info.iterkeys())): + for (itype, type_) in enumerate(sorted(type_info.keys())): if not heavy and type_ in heavy_types: continue # skip heavy type in non-heavy mode colpos = itype + 1 @@ -200,9 +200,9 @@ size = int(numpy.prod(shape, dtype=SizeType)) row, value = table.row, 0 - for nrow in xrange(nrows): + for nrow in range(nrows): data = numpy.arange(value, value + size).reshape(shape) - for (type_, sctype) in sctype_from_type.iteritems(): + for (type_, sctype) in sctype_from_type.items(): if not heavy and type_ in heavy_types: continue # skip heavy type in non-heavy mode colname = 'c_%s' % type_ @@ -342,7 +342,7 @@ condvars = {'bound': right_bound, 'lbound': left_bound, 'rbound': right_bound} - for (bname, bvalue) in condvars.iteritems(): + for (bnRefactoringTool: Refactored ../python3/tables/tests/test_numpy.py RefactoringTool: Refactored ../python3/tables/tests/test_nestedtypes.py RefactoringTool: Refactored ../python3/tables/tests/test_lists.py RefactoringTool: Refactored ../python3/tables/tests/test_links.py ame, bvalue) in condvars.items(): if type_ == 'string': bvalue = str_format % bvalue bvalue = nxtype_from_type[type_](bvalue) --- ../python3/tables/tests/test_numpy.py (original) +++ ../python3/tables/tests/test_numpy.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys import tempfile --- ../python3/tables/tests/test_nestedtypes.py (original) +++ ../python3/tables/tests/test_nestedtypes.py (refactored) @@ -13,7 +13,7 @@ """Test module for nested types under PyTables.""" -from __future__ import print_function + import sys import itertools @@ -162,7 +162,7 @@ if len(cols1) != len(cols2): return False - for (colName, colobj1) in cols1.iteritems(): + for (colName, colobj1) in cols1.items(): colobj2 = cols2[colName] if colName == '_v_pos': # The comparison may not be quite exhaustive! @@ -379,7 +379,7 @@ # All but the last row match the condition. searchedCoords.sort() self.assertEqual(searchedCoords.tolist(), - range(len(self._testAData) - 1), + list(range(len(self._testAData) - 1)), "Search returned incorrect results.") def test02b_whereAppend(self): @@ -406,7 +406,7 @@ # All but the last row match the condition. searchedCoords.sort() self.assertEqual(searchedCoords.tolist(), - range(len(self._testAData) - 1), + list(range(len(self._testAData) - 1)), "Search returned incorrect results.") def test03_colscond(self): @@ -1380,7 +1380,7 @@ '/', 'test', desc, title=self._getMethodName()) row = tbl.row - for i in xrange(1000): + for i in range(1000): row[i1] = i row[i2] = i * 2 row.append() @@ -1405,13 +1405,13 @@ if common.verbose: print("Retrieved values (i1):", i1res) - print("Should look like:", range(10)) + print("Should look like:", list(range(10))) print("Retrieved values (i2):", i2res) - print("Should look like:", range(0, 10, 2)) - - self.assertEqual(i1res, range(10), + print("Should look like:", list(range(0, 10, 2))) + + self.assertEqual(i1res, list(range(10)), "Select for nested column (i1) doesn't match.") - self.assertEqual(i2res, range(0, 10, 2), + self.assertEqual(i2res, list(range(0, 10, 2)), "Select for nested column (i2) doesn't match.") def test02b(self): @@ -1435,7 +1435,7 @@ '/', 'test', desc, title=self._getMethodName()) row = tbl.row - for i in xrange(1000): + for i in range(1000): row[i1] = i row[i2] = i * 2 row.append() @@ -1458,13 +1458,13 @@ if common.verbose: print("Retrieved values (i1):", i1res) - print("Should look like:", range(10)) + print("Should look like:", list(range(10))) print("Retrieved values (i2):", i2res) - print("Should look like:", range(0, 10, 2)) - - self.assertEqual(i1res, range(10), + print("Should look like:", list(range(0, 10, 2))) + + self.assertEqual(i1res, list(range(10)), "Select for nested column (i1) doesn't match.") - self.assertEqual(i2res, range(0, 10, 2), + self.assertEqual(i2res, list(range(0, 10, 2)), "Select for nested column (i2) doesn't match.") --- ../python3/tables/tests/test_lists.py (original) +++ ../python3/tables/tests/test_lists.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import tempfile --- ../python3/tables/tests/test_links.py (original) +++ ../python3/tables/tests/test_links.py (refactored) @@ -12,7 +12,7 @@ """Test module for difeRefactoringTool: Refactored ../python3/tables/tests/test_indexvalues.py RefactoringTool: Refactored ../python3/tables/tests/test_indexes.py rent kind of links under PyTables.""" -from __future__ import print_function + import os import re import tempfile --- ../python3/tables/tests/test_indexvalues.py (original) +++ ../python3/tables/tests/test_indexvalues.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import random import tempfile @@ -74,7 +74,7 @@ filters, self.nrows, chunkshape=(self.chunkshape,)) count = 0 - for i in xrange(0, self.nrows, self.nrep): + for i in range(0, self.nrows, self.nrep): for j in range(self.nrep): if self.random: k = random.randrange(self.nrows) @@ -103,7 +103,7 @@ # Change the buffersize by default table1.nrowsinbuf = self.buffersize # Index all entries: - for col in table1.colinstances.itervalues(): + for col in table1.colinstances.values(): indexrows = col.create_index( kind=self.kind, _blocksizes=self.blocksizes) if verbose: @@ -466,7 +466,7 @@ # Convert the limits to the appropriate type # il = long(self.il) - sl = long(self.sl) + sl = int(self.sl) # Do some selections and check the results t1col = table1.cols.var3 @@ -544,7 +544,7 @@ # Convert the limits to the appropriate type # il = int(self.il) - sl = long(self.sl) + sl = int(self.sl) # Do some selections and check the results t1col = table1.cols.var3 @@ -2268,7 +2268,7 @@ # Append more rows in already created indexes count = 0 - for i in xrange(0, self.nrows//2, self.nrep): + for i in range(0, self.nrows//2, self.nrep): for j in range(self.nrep): if self.random: k = random.randrange(self.nrows) @@ -3187,7 +3187,7 @@ ta.cols.id1.create_index() - for i in xrange(self.nelem): + for i in range(self.nelem): nrow = random.randint(0, self.nelem-1) value = id1[nrow] idx = ta.get_where_list('id1 == %s' % value) @@ -3206,7 +3206,7 @@ ta.cols.id1.create_index() - for i in xrange(self.nelem): + for i in range(self.nelem): nrow = random.randint(0, self.nelem-1) value = id1[nrow] idx = ta.get_where_list('id1 == %s' % value) @@ -3225,7 +3225,7 @@ ta.cols.id1.create_index() - for i in xrange(self.nelem): + for i in range(self.nelem): nrow = random.randint(0, self.nelem-1) value = id1[nrow] idx = ta.get_where_list('id1 == %s' % value) --- ../python3/tables/tests/test_indexes.py (original) +++ ../python3/tables/tests/test_indexes.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import copy import tempfile @@ -68,7 +68,7 @@ table.row.append() table.flush() # Index all entries: - for col in table.colinstances.itervalues(): + for col in table.colinstances.values(): indexrows = col.create_index(_blocksizes=small_blocksizes) if verbose: print("Number of written rows:", self.nrows) @@ -202,7 +202,7 @@ if verbose: print("Selected values:", results) self.assertEqual(len(results), min(10, table.nrows) - 2) - self.assertEqual(results, range(2, min(10, table.nrows))) + self.assertEqual(results, list(range(2, min(10, table.nrows)))) def test04_readIndex(self): """Checking reading an Index (float flavor)""" @@ -228,7 +228,7 @@ print("Selected values:", results) self.assertEqual(len(results), min(10, table.nrows)) self.assertEqual(results, [float(i) for i in - reversed(range(min(10, table.nrows)))]) + reverseRefactoringTool: Refactored ../python3/tables/tests/test_index_backcompat.py RefactoringTool: Refactored ../python3/tables/tests/test_hdf5compat.py RefactoringTool: Refactored ../python3/tables/tests/test_garbage.py RefactoringTool: Refactored ../python3/tables/tests/test_expression.py d(list(range(min(10, table.nrows))))]) def test05_getWhereList(self): """Checking reading an Index with get_where_list (string flavor)""" @@ -612,7 +612,7 @@ table.row.append() table.flush() # Index all entries: - for col in table.colinstances.itervalues(): + for col in table.colinstances.values(): indexrows = col.create_index(_blocksizes=small_blocksizes) self.assertTrue(indexrows is not None) idxcol = table.cols.var1.index @@ -659,7 +659,7 @@ table.row.append() table.flush() # Index all entries: - for col in table.colinstances.itervalues(): + for col in table.colinstances.values(): indexrows = col.create_index(_blocksizes=small_blocksizes) self.assertTrue(indexrows is not None) idxcol = table.cols.var1.index @@ -1695,7 +1695,7 @@ table = self.h5file.create_table('/', 'test', self.MyDescription) table.autoindex = self.oldIndexProps.auto row = table.row - for i in xrange(100): + for i in range(100): row['icol'] = i % 25 row.append() table.flush() @@ -1796,7 +1796,7 @@ table = self.h5file.create_table('/', 'table', self.MyDescription) row = table.row nrows = self.nrows - for i in xrange(nrows): + for i in range(nrows): row['rcol'] = i row['icol'] = nrows - i row.append() @@ -2363,7 +2363,7 @@ table = self.h5file.create_table('/', 'table', self.MyDescription) row = table.row nrows = self.nrows - for i in xrange(nrows): + for i in range(nrows): row['rcol'] = i row['icol'] = nrows - i row.append() @@ -2471,7 +2471,7 @@ self.h5file.flush() # fill table with 10 random numbers - for k in xrange(10): + for k in range(10): row = table.row row['frame'] = numpy.random.random_integers(0, 2**16-1) row['Bar/code'] = numpy.random.random_integers(0, 2**16-1) --- ../python3/tables/tests/test_index_backcompat.py (original) +++ ../python3/tables/tests/test_index_backcompat.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + from tables.tests import common from tables.tests.common import verbose --- ../python3/tables/tests/test_hdf5compat.py (original) +++ ../python3/tables/tests/test_hdf5compat.py (refactored) @@ -298,7 +298,7 @@ h5fname = test_filename('matlab_file.mat') def test_unicode(self): - array = self.h5file.get_node(unicode('/'), unicode('a')) + array = self.h5file.get_node(str('/'), str('a')) self.assertEqual(array.shape, (3, 1)) # in Python 3 this will be the same as the test above --- ../python3/tables/tests/test_garbage.py (original) +++ ../python3/tables/tests/test_garbage.py (refactored) @@ -18,7 +18,7 @@ """ -from __future__ import print_function + import gc from tables.tests import common @@ -46,7 +46,7 @@ else: classCount[objClass] = 1 incidence = ['``%s``: %d' % (cls, cnt) - for (cls, cnt) in classCount.iteritems()] + for (cls, cnt) in classCount.items()] print("Class incidence:", ', '.join(incidence)) self.fail("Possible leak: %d uncollected objects." % garbageLen) --- ../python3/tables/tests/test_expression.py (original) +++ ../python3/tables/tests/test_expression.py (refactored) @@ -12,7 +12,7 @@ """Test module for evaluating expressions under PyTables.""" -from __future__ import print_function + import numpy as np @@ -35,7 +35,7 @@ # Helper functions def get_sliced_vars(npvars, start, stop, step): npvars_ = {} - for name, var in npvars.iteritems(): + for name, var in npvars.items(): if hasattr(var, "__len__"): npvars_[name] = var[start:stop:step] else: @@ -47,7 +47,RefactoringTool: No changes to ../python3/tables/tests/test_enum.py RefactoringTool: Refactored ../python3/tables/tests/test_earray.py RefactoringTool: Refactored ../python3/tables/tests/test_do_undo.py 7 @@ npvars_ = {} slices = [slice(None) for dim in shape] slices[maindim] = slice(start, stop, step) - for name, var in npvars.iteritems(): + for name, var in npvars.items(): npvars_[name] = var.__getitem__(tuple(slices)) return npvars_ @@ -189,7 +189,7 @@ c = np.arange(2 * N, 3*N, dtype='int32').reshape(self.shape) d = np.arange(3 * N, 4*N, dtype='int32').reshape(self.shape) e = np.arange(4 * N, 5*N, dtype='int32').reshape(self.shape) - self.f = f = long(3) # a regular python type + self.f = f = int(3) # a regular python type self.g = g = np.int16(2) # a NumPy scalar type # Original values @@ -1291,7 +1291,7 @@ expr.set_output_range(start, stop, step) expr.eval() r2 = eval("a-b-1") - r[start:stop:step] = r2[:len(xrange(0, stop - start, step))] + r[start:stop:step] = r2[:len(range(0, stop - start, step))] if common.verbose: print("Tested shape:", shape) print("Computed expression:", repr(r1[:]), r1.dtype) @@ -1327,7 +1327,7 @@ r2 = eval("a-b-1") lsl = tuple([slice(None)] * self.maindim) # print "lsl-->", lsl + (slice(start,stop,step),) - l = len(xrange(0, stop - start, step)) + l = len(range(0, stop - start, step)) r.__setitem__(lsl + (slice(start, stop, step),), r2.__getitem__(lsl + (slice(0, l),))) if common.verbose: --- ../python3/tables/tests/test_earray.py (original) +++ ../python3/tables/tests/test_earray.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys @@ -291,11 +291,11 @@ # This conversion made just in case indices are numpy scalars if self.start is not None: - self.start = long(self.start) + self.start = int(self.start) if self.stop is not None: - self.stop = long(self.stop) + self.stop = int(self.stop) if self.step is not None: - self.step = long(self.step) + self.step = int(self.step) # Create an instance of an HDF5 Table if self.reopen: @@ -400,11 +400,11 @@ # This conversion made just in case indices are numpy scalars if self.start is not None: - self.start = long(self.start) + self.start = int(self.start) if self.stop is not None: - self.stop = long(self.stop) + self.stop = int(self.stop) if self.step is not None: - self.step = long(self.step) + self.step = int(self.step) # Create an instance of an HDF5 Table if self.reopen: @@ -516,11 +516,11 @@ # If there is not a slices attribute, create it # This conversion made just in case indices are numpy scalars if self.start is not None: - self.start = long(self.start) + self.start = int(self.start) if self.stop is not None: - self.stop = long(self.stop) + self.stop = int(self.stop) if self.step is not None: - self.step = long(self.step) + self.step = int(self.step) self.slices = (slice(self.start, self.stop, self.step),) # Create an instance of an HDF5 Table @@ -622,11 +622,11 @@ # If there is not a slices attribute, create it # This conversion made just in case indices are numpy scalars if self.start is not None: - self.start = long(self.start) + self.start = int(self.start) if self.stop is not None: - self.stop = long(self.stop) + self.stop = int(self.stop) if self.step is not None: - self.step = long(self.step) + self.step = int(self.step) self.slices = (slice(self.start, self.stop, self.step),) # Create an instance of an HDF5 Table RefactoringTool: Refactored ../python3/tables/tests/test_create.py --- ../python3/tables/tests/test_do_undo.py (original) +++ ../python3/tables/tests/test_do_undo.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import warnings import tables --- ../python3/tables/tests/test_create.py (original) +++ ../python3/tables/tests/test_create.py (refactored) @@ -11,7 +11,7 @@ """ -from __future__ import print_function + import os import sys import hashlib @@ -284,7 +284,7 @@ # Get the record object associated with the new table d = table.row # Fill the table - for i in xrange(self.nrows): + for i in range(self.nrows): d['var1'] = '%04d' % (self.nrows - i) d['var2'] = i d['var3'] = i * 2 @@ -691,7 +691,7 @@ # Get the record object associated with the new table d = table.row # Fill the table - for i in xrange(self.nrows): + for i in range(self.nrows): d['var1'] = '%04d' % (self.nrows - i) d['var2'] = i d['var3'] = i * 2 @@ -762,8 +762,8 @@ # Check that the copy has been done correctly dstgroup = self.h5file2.root - nodelist1 = srcgroup._v_children.keys() - nodelist2 = dstgroup._v_children.keys() + nodelist1 = list(srcgroup._v_children.keys()) + nodelist2 = list(dstgroup._v_children.keys()) # Sort the lists nodelist1.sort() nodelist2.sort() @@ -1033,7 +1033,7 @@ # Get the record object associated with the new table d = table.row # Fill the table - for i in xrange(self.nrows): + for i in range(self.nrows): d['var1'] = '%04d' % (self.nrows - i) d['var2'] = i d['var3'] = i * 2 @@ -1112,8 +1112,8 @@ # Check that the copy has been done correctly srcgroup = self.h5file.root dstgroup = self.h5file2.root - nodelist1 = srcgroup._v_children.keys() - nodelist2 = dstgroup._v_children.keys() + nodelist1 = list(srcgroup._v_children.keys()) + nodelist2 = list(dstgroup._v_children.keys()) # Sort the lists nodelist1.sort() nodelist2.sort() @@ -1156,8 +1156,8 @@ # Check that the copy has been done correctly srcgroup = self.h5file.root dstgroup = self.h5file2.root - nodelist1 = srcgroup._v_children.keys() - nodelist2 = dstgroup._v_children.keys() + nodelist1 = list(srcgroup._v_children.keys()) + nodelist2 = list(dstgroup._v_children.keys()) # Sort the lists nodelist1.sort() @@ -1191,8 +1191,8 @@ # Check that the copy has been done correctly srcgroup = self.h5file.root dstgroup = self.h5file2.root - nodelist1 = srcgroup._v_children.keys() - nodelist2 = dstgroup._v_children.keys() + nodelist1 = list(srcgroup._v_children.keys()) + nodelist2 = list(dstgroup._v_children.keys()) # Sort the lists nodelist1.sort() @@ -1521,7 +1521,7 @@ if sys.version_info[0] > 2: return hex(int(n)) else: - return hex(long(n)).rstrip('L') + return hex(int(n)).rstrip('L') def test_filter_pack_01(self): filter_ = Filters() @@ -2238,7 +2238,7 @@ self.assertEqual(self.h5file.get_node_attr("/table", "TITLE"), "Table") self.assertEqual(self.h5file.root.array.read(), [1, 2]) - self.h5file.create_array(self.h5file.root, 'array2', range(10000), + self.h5file.create_array(self.h5file.root, 'array2', list(range(10000)), title="Array2") self.h5file.root._v_attrs.testattr2 = 42 @@ -2268,7 +2268,7 @@ self.assertEqual(self.h5file.get_node_attr("/table", "TITLE"), "Table") self.assertEqual(self.h5file.root.array.read(), [1, 2]) - dRefactoringTool: Refactored ../python3/tables/tests/test_carray.py RefactoringTool: Refactored ../python3/tables/tests/test_basics.py ata = range(2 * tables.parameters.DRIVER_CORE_INCREMENT) + data = list(range(2 * tables.parameters.DRIVER_CORE_INCREMENT)) self.h5file.create_array(self.h5file.root, 'array2', data, title="Array2") self.h5file.root._v_attrs.testattr2 = 42 @@ -2357,7 +2357,7 @@ self.assertEqual(self.h5file.get_node_attr("/table", "TITLE"), "Table") self.assertEqual(self.h5file.root.array.read(), [1, 2]) - data = range(2 * tables.parameters.DRIVER_CORE_INCREMENT) + data = list(range(2 * tables.parameters.DRIVER_CORE_INCREMENT)) self.h5file.create_array(self.h5file.root, 'array2', data, title="Array2") self.h5file.root._v_attrs.testattr2 = 42 --- ../python3/tables/tests/test_carray.py (original) +++ ../python3/tables/tests/test_carray.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys --- ../python3/tables/tests/test_basics.py (original) +++ ../python3/tables/tests/test_basics.py (refactored) @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys -import Queue +import queue import shutil import platform import tempfile @@ -153,7 +153,7 @@ def test00_newFile_unicode_filename(self): temp_dir = tempfile.mkdtemp() try: - h5fname = unicode(os.path.join(temp_dir, 'test.h5')) + h5fname = str(os.path.join(temp_dir, 'test.h5')) with tables.open_file(h5fname, 'w') as h5file: self.assertTrue(h5file, tables.File) finally: @@ -1402,13 +1402,13 @@ q.put('OK') threads = [] - q = Queue.Queue() - for i in xrange(10): + q = queue.Queue() + for i in range(10): t = threading.Thread(target=run, args=(filename, q)) t.start() threads.append(t) - for i in xrange(10): + for i in range(10): self.assertEqual(q.get(), 'OK') for t in threads: @@ -1631,7 +1631,7 @@ self.h5file.create_group('/', 'test1') self.h5file.create_group('/', 'test2') self.h5file.close() - self.assertRaises(ClosedFileError, self.h5file.walk_nodes().next) + self.assertRaises(ClosedFileError, self.h5file.walk_nodes().__next__) def test15_fileAttrClosed(self): """Test setting and deleting a node attribute in a closed file.""" @@ -1923,7 +1923,7 @@ @unittest.skipIf(sys.getfilesystemencoding() != 'utf-8', 'need utf-8 file-system encoding') class UnicodeFilename(common.TempFileMixin, TestCase): - unicode_prefix = u'para\u0140lel' + unicode_prefix = 'para\u0140lel' def _getTempFileName(self): return tempfile.mktemp(prefix=self.unicode_prefix, suffix='.h5') @@ -1975,7 +1975,7 @@ self.h5file = tables.open_file(self.h5fname, "a") root = self.h5file.root group = self.h5file.create_group(root, 'face_data') - array_name = u'data at 40\N{DEGREE SIGN}C' + array_name = 'data at 40\N{DEGREE SIGN}C' data = numpy.sinh(numpy.linspace(-1.4, 1.4, 500)) with warnings.catch_warnings(): warnings.simplefilter('ignore', NaturalNameWarning) @@ -2111,7 +2111,7 @@ try: size = int(3e5) sa = numpy.fromiter(((i, i**2, i//3) - for i in xrange(size)), 'i4,i8,f8') + for i in range(size)), 'i4,i8,f8') with tables.open_file(h5fname, 'w') as h5file: h5file.create_table( h5file.root, 'table', sa, @@ -2385,13 +2385,13 @@ # see gh-42 # the name used is a valid ASCII identifier passed as unicode # string - d = {unicode('name'): tables.Int16Col()} + d = {str('name'): tables.Int16Col()} descr = Description(d) self.assertEqual(sorted(descr._v_names), sorted(d.keys())) self.assRefactoringTool: Refactored ../python3/tables/tests/test_backcompat.py RefactoringTool: No changes to ../python3/tables/tests/test_aux.py RefactoringTool: Refactored ../python3/tables/tests/test_attributes.py ertTrue(isinstance(descr._v_dtype, numpy.dtype)) keys = [] - for key in d.keys(): - if isinstance(key, unicode): + for key in list(d.keys()): + if isinstance(key, str): keys.append(key.encode()) else: keys.append(key) --- ../python3/tables/tests/test_backcompat.py (original) +++ ../python3/tables/tests/test_backcompat.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import shutil import tempfile --- ../python3/tables/tests/test_attributes.py (original) +++ ../python3/tables/tests/test_attributes.py (refactored) @@ -2,7 +2,7 @@ """This test unit checks node attributes that are persistent (AttributeSet).""" -from __future__ import print_function + import sys from distutils.version import LooseVersion @@ -1277,9 +1277,9 @@ def test06a_setUnicodeAttributes(self): """Checking setting unicode attributes (scalar case)""" - self.array.attrs.pq = u'para\u0140lel' - self.array.attrs.qr = u'' # check #213 or gh-64 - self.array.attrs.rs = u'baz' + self.array.attrs.pq = 'para\u0140lel' + self.array.attrs.qr = '' # check #213 or gh-64 + self.array.attrs.rs = 'baz' # Check the results if common.verbose: @@ -1301,14 +1301,14 @@ self.assertTrue(isinstance(self.array.attrs.pq, numpy.unicode_)) self.assertTrue(isinstance(self.array.attrs.qr, numpy.unicode_)) self.assertTrue(isinstance(self.array.attrs.rs, numpy.unicode_)) - self.assertEqual(self.array.attrs.pq, u'para\u0140lel') - self.assertEqual(self.array.attrs.qr, u'') - self.assertEqual(self.array.attrs.rs, u'baz') + self.assertEqual(self.array.attrs.pq, 'para\u0140lel') + self.assertEqual(self.array.attrs.qr, '') + self.assertEqual(self.array.attrs.rs, 'baz') def test06b_setUnicodeAttributes(self): """Checking setting unicode attributes (unidimensional 1-elem case)""" - self.array.attrs.pq = numpy.array([u'para\u0140lel']) + self.array.attrs.pq = numpy.array(['para\u0140lel']) # Check the results if common.verbose: @@ -1322,7 +1322,7 @@ self.array = self.h5file.root.anarray assert_array_equal(self.array.attrs.pq, - numpy.array([u'para\u0140lel'])) + numpy.array(['para\u0140lel'])) def test06c_setUnicodeAttributes(self): """Checking setting unicode attributes (empty unidimensional @@ -1331,7 +1331,7 @@ # The next raises a `TypeError` when unpickled. See: # http://projects.scipy.org/numpy/ticket/1037 # self.array.attrs.pq = numpy.array([u'']) - self.array.attrs.pq = numpy.array([u''], dtype="U1") + self.array.attrs.pq = numpy.array([''], dtype="U1") # Check the results if common.verbose: @@ -1347,12 +1347,12 @@ print("pq -->", repr(self.array.attrs.pq)) assert_array_equal(self.array.attrs.pq, - numpy.array([u''], dtype="U1")) + numpy.array([''], dtype="U1")) def test06d_setUnicodeAttributes(self): """Checking setting unicode attributes (unidimensional 2-elem case)""" - self.array.attrs.pq = numpy.array([u'para\u0140lel', u'bar3']) + self.array.attrs.pq = numpy.array(['para\u0140lel', 'bar3']) # Check the results if common.verbose: @@ -1366,7 +1366,7 @@ self.array = self.h5file.root.anarray assert_array_equal(self.array.attrs.pq, - numpy.array([u'para\u0140lel', u'bar3'])) + numpy.array(['para\u0140lel', 'bar3'])) def test06e_setUnicodeAttributes(self): """Checking setting unicode attributes (empty unidimensional @@ -1391,8 +1391,8 @@ def test06f_setUnicodeAttributes(self): """Checking setting unicode attributes (bRefactoringTool: Refactored ../python3/tables/tests/test_array.py RefactoringTool: Refactored ../python3/tables/tests/test_all.py RefactoringTool: No changes to ../python3/tables/tests/create_backcompat_indexes.py RefactoringTool: Refactored ../python3/tables/tests/common.py RefactoringTool: Refactored ../python3/tables/tests/check_leaks.py RefactoringTool: No changes to ../python3/tables/tests/__init__.py RefactoringTool: Refactored ../python3/tables/scripts/pttree.py idimensional 4-elem case)""" - self.array.attrs.pq = numpy.array([[u'para\u0140lel', 'foo2'], - ['foo3', u'para\u0140lel4']]) + self.array.attrs.pq = numpy.array([['para\u0140lel', 'foo2'], + ['foo3', 'para\u0140lel4']]) # Check the results if common.verbose: @@ -1406,8 +1406,8 @@ self.array = self.h5file.root.anarray assert_array_equal(self.array.attrs.pq, - numpy.array([[u'para\u0140lel', 'foo2'], - ['foo3', u'para\u0140lel4']])) + numpy.array([['para\u0140lel', 'foo2'], + ['foo3', 'para\u0140lel4']])) def test07a_setRecArrayAttributes(self): """Checking setting RecArray (NumPy) attributes.""" @@ -1601,7 +1601,7 @@ # behaviour of PyTables. self.assertEqual( - self.h5file.get_node_attr('/', 'py2_pickled_unicode'), u'abc') + self.h5file.get_node_attr('/', 'py2_pickled_unicode'), 'abc') class SegFaultPythonTestCase(common.TempFileMixin, TestCase): @@ -1625,7 +1625,7 @@ # See laso gh-371 (https://github.com/PyTables/PyTables/issues/371) def test_unicode(self): - value = u"string with a null byte \x00 in it" + value = "string with a null byte \x00 in it" self.h5file.root._v_attrs.name = value self.assertEqual(self.h5file.root._v_attrs.name, value) @@ -1717,14 +1717,14 @@ @unittest.skipIf(sys.version_info >= (3,), 'requires Python 2') def test02_unicode_title(self): # see gh-370 and gh-374 - title = u'Elevation \N{MINUS SIGN}200m' + title = 'Elevation \N{MINUS SIGN}200m' self.h5file.root._v_title = title self.assertEqual(self.h5file.root._v_title, title) @unittest.skipIf(sys.version_info >= (3,), 'requires Python 2') def test03_unicode_title_reopen(self): # see gh-370 and gh-374 - title = u'Elevation \N{MINUS SIGN}200m' + title = 'Elevation \N{MINUS SIGN}200m' self.h5file.root._v_title = title self._reopen() self.assertEqual(self.h5file.root._v_title, title) --- ../python3/tables/tests/test_array.py (original) +++ ../python3/tables/tests/test_array.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import sys @@ -2279,7 +2279,7 @@ # Create a sample array nparr = numpy.empty(self.shape, dtype=numpy.int32) data = numpy.arange(N * O, dtype=numpy.int32).reshape(N, O) - for i in xrange(M): + for i in range(M): nparr[i] = data * i self.nparr = nparr self.tbarr = self.h5file.create_array(self.h5file.root, 'array', nparr) --- ../python3/tables/tests/test_all.py (original) +++ ../python3/tables/tests/test_all.py (refactored) @@ -2,7 +2,7 @@ """Run all test cases.""" -from __future__ import print_function + import sys import numpy --- ../python3/tables/tests/common.py (original) +++ ../python3/tables/tests/common.py (refactored) @@ -12,7 +12,7 @@ """Utilities for PyTables' test suites.""" -from __future__ import print_function + import os import re import sys @@ -269,7 +269,7 @@ class _AssertWarnsContext(_AssertRaisesBaseContext): def __enter__(self): - for v in sys.modules.values(): + for v in list(sys.modules.values()): if getattr(v, '__warningregistry__', None): v.__warningregistry__ = {} self.warnings_manager = warnings.catch_warnings(record=True) --- ../python3/tables/tests/check_leaks.py (original) +++ ../python3/tables/tests/check_leaks.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import print_function + import os import time --- ../python3/tables/scripts/pttree.py (original) +++ ../python3/tables/scripts/pttree.py (refactored) @@ -111,7 +111,7 @@ with tables.openRefactoringTool: Refactored ../python3/tables/scripts/ptrepack.py RefactoringTool: Refactored ../python3/tables/scripts/ptdump.py RefactoringTool: Refactored ../python3/tables/scripts/pt2to3.py RefactoringTool: No changes to ../python3/tables/scripts/__init__.py RefactoringTool: Refactored ../python3/tables/nodes/filenode.py RefactoringTool: No changes to ../python3/tables/nodes/__init__.py RefactoringTool: Refactored ../python3/tables/nodes/tests/test_filenode.py _file(filename, 'r') as f: tree_str = get_tree_str(f, nodename, **args.__dict__) - print tree_str + print(tree_str) pass @@ -208,7 +208,7 @@ # don't recurse down the same hardlinked branch multiple times! if ref_count[addr] == 1: - stack.extend(node._v_children.values()) + stack.extend(list(node._v_children.values())) hl_targets[addr] = path # if we've already visited this group's address, treat it as a leaf @@ -316,8 +316,8 @@ # root is not in root._v_children pretty[path].sort_by = 0 else: - pretty[path].sort_by = parent._v_children.values( - ).index(node) + pretty[path].sort_by = list(parent._v_children.values( + )).index(node) # exclude root node or we'll get infinite recursions (since '/' is # the parent of '/') --- ../python3/tables/scripts/ptrepack.py (original) +++ ../python3/tables/scripts/ptrepack.py (refactored) @@ -16,7 +16,7 @@ """ -from __future__ import print_function + import sys import time import os.path --- ../python3/tables/scripts/ptdump.py (original) +++ ../python3/tables/scripts/ptdump.py (refactored) @@ -16,7 +16,7 @@ """ -from __future__ import print_function + import argparse @@ -147,7 +147,7 @@ args = parser.parse_args(namespace=options) # Get the options - if isinstance(args.rng, basestring): + if isinstance(args.rng, str): try: options.rng = eval("slice(" + args.rng + ")") except Exception: --- ../python3/tables/scripts/pt2to3.py (original) +++ ../python3/tables/scripts/pt2to3.py (refactored) @@ -465,7 +465,7 @@ #('_v_expectedsizeinMB', '_v_expected_mb'), # --> expectedrows ]) -new2oldnames = dict([(v, k) for k, v in old2newnames.iteritems()]) +new2oldnames = dict([(v, k) for k, v in old2newnames.items()]) # Note that it is tempting to use the ast module here, but then this # breaks transforming cython files. So instead we are going to do the @@ -474,7 +474,7 @@ def make_subs(ns): names = new2oldnames if ns.reverse else old2newnames - s = '(?<=\W)({0})(?=\W)'.format('|'.join(names.keys())) + s = '(?<=\W)({0})(?=\W)'.format('|'.join(list(names.keys()))) if ns.ignore_previous: s += '(?!\s*?=\s*?previous_api(_property)?\()' s += '(?!\* to \*\w+\*)' --- ../python3/tables/nodes/filenode.py (original) +++ ../python3/tables/nodes/filenode.py (refactored) @@ -49,7 +49,7 @@ # have a Python2/3 compatible way to check for string try: - string_types = basestring + string_types = str except NameError: string_types = str @@ -360,7 +360,7 @@ self._checkClosed() self._checkWritable() - if isinstance(b, unicode): + if isinstance(b, str): raise TypeError("can't write str to binary stream") n = len(b) --- ../python3/tables/nodes/tests/test_filenode.py (original) +++ ../python3/tables/nodes/tests/test_filenode.py (refactored) @@ -112,7 +112,7 @@ def test02_Next(self): """Getting the next line of a closed file.""" - self.assertRaises(ValueError, self.fnode.next) + self.assertRaises(ValueError, self.fnode.__next__) def test03_Read(self): """Reading a closed file.""" @@ -290,7 +290,7 @@ fnode.mode, 'r', "File was opened with an invalid mode %s." % repr(fnode.mode)) self.assertEqual( - fnode.tell(), 0L, + fnode.tell(), 0, "Pointer is not positioned at the beginning of the file.") fnode.close() @@ -306,7 +306,7 @@ "File was opened with an invalid mode %s." % repr(fnode.mode)) self.assertEqual( - fnode.tell(), 0L, + fnode.tell(), 0, "Pointer is not positioned at the beginRefactoringTool: No changes to ../python3/tables/nodes/tests/__init__.py RefactoringTool: Refactored ../python3/tables/misc/proxydict.py RefactoringTool: Refactored ../python3/tables/misc/enum.py RefactoringTool: No changes to ../python3/tables/misc/__init__.py RefactoringTool: Refactored ../python3/examples/vlarray4.py RefactoringTool: Refactored ../python3/examples/vlarray3.py RefactoringTool: Refactored ../python3/examples/vlarray2.py ning of the file.") fnode.close() @@ -511,7 +511,7 @@ for line in self.fnode: pass - self.assertRaises(StopIteration, self.fnode.next) + self.assertRaises(StopIteration, self.fnode.__next__) self.fnode.seek(0) --- ../python3/tables/misc/proxydict.py (original) +++ ../python3/tables/misc/proxydict.py (refactored) @@ -47,32 +47,32 @@ def __str__(self): # C implementation does not use `self.__getitem__()`. :( itemFormat = '%r: %r' - itemReprs = [itemFormat % item for item in self.iteritems()] + itemReprs = [itemFormat % item for item in self.items()] return '{%s}' % ', '.join(itemReprs) def values(self): # C implementation does not use `self.__getitem__()`. :( valueList = [] - for key in self.iterkeys(): + for key in self.keys(): valueList.append(self[key]) return valueList def itervalues(self): # C implementation does not use `self.__getitem__()`. :( - for key in self.iterkeys(): + for key in self.keys(): yield self[key] raise StopIteration def items(self): # C implementation does not use `self.__getitem__()`. :( itemList = [] - for key in self.iterkeys(): + for key in self.keys(): itemList.append((key, self[key])) return itemList def iteritems(self): # C implementation does not use `self.__getitem__()`. :( - for key in self.iterkeys(): + for key in self.keys(): yield (key, self[key]) raise StopIteration --- ../python3/tables/misc/enum.py (original) +++ ../python3/tables/misc/enum.py (refactored) @@ -124,10 +124,10 @@ for (value, name) in enumerate(enum): # values become 0, 1, 2... self._check_and_set_pair(name, value) elif isinstance(enum, dict): - for (name, value) in enum.iteritems(): + for (name, value) in enum.items(): self._check_and_set_pair(name, value) elif isinstance(enum, Enum): - for (name, value) in enum._names.iteritems(): + for (name, value) in enum._names.items(): self._check_and_set_pair(name, value) else: raise TypeError("""\ @@ -140,7 +140,7 @@ names = self._names values = self._values - if not isinstance(name, basestring): + if not isinstance(name, str): raise TypeError( "name of enumerated value is not a string: %r" % (name,)) if name.startswith('_'): @@ -267,7 +267,7 @@ """ - if not isinstance(name, basestring): + if not isinstance(name, str): raise TypeError( "name of enumerated value is not a string: %r" % (name,)) return name in self._names @@ -337,7 +337,7 @@ """ - for name_value in self._names.iteritems(): + for name_value in self._names.items(): yield name_value def __eq__(self, other): --- ../python3/examples/vlarray4.py (original) +++ ../python3/examples/vlarray4.py (refactored) @@ -3,7 +3,7 @@ """Example that shows how to easily save a variable number of atoms with a VLArray.""" -from __future__ import print_function + import numpy import tables --- ../python3/examples/vlarray3.py (original) +++ ../python3/examples/vlarray3.py (refactored) @@ -3,7 +3,7 @@ """Example that shows how to easily save a variable number of atoms with a VLArray.""" -from __future__ import print_function + import numpy import tables --- ../python3/examples/vlarray2.py (original) +++ ../python3/examples/vlarray2.py (refactored) @@ -3,7 +3,7 @@ """Small example that shows how to work with variable length arrays of different types, UNICODE strings and general Python objects included.""" -from __future__ import print_function + import numpy as np import tables import pickle @@ -81,7 +81,7 @@ vlarray.append("aaana") vlarray.append("") # TRefactoringTool: Refactored ../python3/examples/vlarray1.py RefactoringTool: No changes to ../python3/examples/undo-redo.py RefactoringTool: No changes to ../python3/examples/tutorial3-2.py RefactoringTool: No changes to ../python3/examples/tutorial3-1.py RefactoringTool: Refactored ../python3/examples/tutorial2.py RefactoringTool: Refactored ../python3/examples/tutorial1-2.py RefactoringTool: Refactored ../python3/examples/tutorial1-1.py RefactoringTool: Refactored ../python3/examples/threading_monkeypatch.py RefactoringTool: Refactored ../python3/examples/table3.py RefactoringTool: Refactored ../python3/examples/table2.py RefactoringTool: Refactored ../python3/examples/table1.py RefactoringTool: Refactored ../python3/examples/table-tree.py RefactoringTool: No changes to ../python3/examples/split.py RefactoringTool: Refactored ../python3/examples/simple_threading.py RefactoringTool: Refactored ../python3/examples/read_array_out_arg.py RefactoringTool: Refactored ../python3/examples/particles.py RefactoringTool: Refactored ../python3/examples/objecttree.py RefactoringTool: Refactored ../python3/examples/nested1.py RefactoringTool: Refactored ../python3/examples/nested-tut.py RefactoringTool: Refactored ../python3/examples/multiprocess_access_queues.py RefactoringTool: Refactored ../python3/examples/multiprocess_access_benchmarks.py he empty string vlarray.append("asd") -vlarray.append("para\u0140lel") +vlarray.append("para\\u0140lel") # Close the file fileh.close() --- ../python3/examples/vlarray1.py (original) +++ ../python3/examples/vlarray1.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables import numpy as np --- ../python3/examples/tutorial2.py (original) +++ ../python3/examples/tutorial2.py (refactored) @@ -5,7 +5,7 @@ """ -from __future__ import print_function + import tables import numpy as np --- ../python3/examples/tutorial1-2.py (original) +++ ../python3/examples/tutorial1-2.py (refactored) @@ -5,7 +5,7 @@ """ -from __future__ import print_function + import tables print() --- ../python3/examples/tutorial1-1.py (original) +++ ../python3/examples/tutorial1-1.py (refactored) @@ -5,7 +5,7 @@ """ -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/threading_monkeypatch.py (original) +++ ../python3/examples/threading_monkeypatch.py (refactored) @@ -129,7 +129,7 @@ thread.join() # print results - print('Mean: {}'.format(mean_)) + print(('Mean: {}'.format(mean_))) if __name__ == '__main__': --- ../python3/examples/table3.py (original) +++ ../python3/examples/table3.py (refactored) @@ -1,5 +1,5 @@ # This is an example on how to use complex columns -from __future__ import print_function + import tables --- ../python3/examples/table2.py (original) +++ ../python3/examples/table2.py (refactored) @@ -1,5 +1,5 @@ # This shows how to use the cols accessors for table columns -from __future__ import print_function + import tables --- ../python3/examples/table1.py (original) +++ ../python3/examples/table1.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables --- ../python3/examples/table-tree.py (original) +++ ../python3/examples/table-tree.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/simple_threading.py (original) +++ ../python3/examples/simple_threading.py (refactored) @@ -93,7 +93,7 @@ thread.join() # print results - print('Mean: {}'.format(mean_)) + print(('Mean: {}'.format(mean_))) if __name__ == '__main__': --- ../python3/examples/read_array_out_arg.py (original) +++ ../python3/examples/read_array_out_arg.py (refactored) @@ -5,9 +5,9 @@ # reused. -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals + + + import time --- ../python3/examples/particles.py (original) +++ ../python3/examples/particles.py (refactored) @@ -1,6 +1,6 @@ """Beware! you need PyTables >= 2.3 to run this script!""" -from __future__ import print_function + from time import time # use clock for Win import numpy as np import tables --- ../python3/examples/objecttree.py (original) +++ ../python3/examples/objecttree.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables --- ../python3/examples/nested1.py (original) +++ ../python3/examples/nested1.py (refactored) @@ -1,7 +1,7 @@ # Example to show how nested types can be dealed with PyTables # F. Alted 2005/05/27 -from __future__ import print_function + import random import tables --- ../python3/examples/nested-tut.py (original) +++ ../python3/examples/nested-tut.py (refactored) @@ -8,7 +8,7 @@ """ -from __future__ import print_function + import numpy import tables --- ../python3/examples/multiprocess_access_queues.py (original) +++ ../python3/examples/multiprocess_access_queues.py (refactored) @@ -1,11 +1,11 @@ """Example showing how to access a PyTables file from multiple processes using queues.""" -from __future__ import print_function + import sys if sys.version < '3': - import Queue as queue + import queue as queue else: import queue --- ../python3/examples/multiprocess_access_benchmarks.py (original) +++ ../python3/examples/multiprocess_access_benchmarks.py (refactoredRefactoringTool: Refactored ../python3/examples/links.py RefactoringTool: No changes to ../python3/examples/inmemory.py RefactoringTool: Refactored ../python3/examples/index.py RefactoringTool: Refactored ../python3/examples/filenodes1.py RefactoringTool: Refactored ../python3/examples/enum.py RefactoringTool: Refactored ../python3/examples/earray2.py RefactoringTool: Refactored ../python3/examples/earray1.py RefactoringTool: Refactored ../python3/examples/carray1.py RefactoringTool: No changes to ../python3/examples/attributes1.py RefactoringTool: Refactored ../python3/examples/array4.py RefactoringTool: Refactored ../python3/examples/array3.py RefactoringTool: Refactored ../python3/examples/array2.py RefactoringTool: Refactored ../python3/examples/array1.py RefactoringTool: Refactored ../python3/examples/add-column.py RefactoringTool: Refactored ../python3/doc/sphinxext/traitsdoc.py RefactoringTool: No changes to ../python3/doc/sphinxext/setup.py RefactoringTool: Refactored ../python3/doc/sphinxext/plot_directive.py ) @@ -12,9 +12,9 @@ # another, and then modified by incrementing each array element. This is meant # to simulate retrieving data and then modifying it. -from __future__ import division -from __future__ import print_function -from __future__ import unicode_literals + + + import multiprocessing import os --- ../python3/examples/links.py (original) +++ ../python3/examples/links.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables as tb # Create a new file with some structural groups --- ../python3/examples/index.py (original) +++ ../python3/examples/index.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import random import tables print('tables.__version__', tables.__version__) --- ../python3/examples/filenodes1.py (original) +++ ../python3/examples/filenodes1.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from tables.nodes import filenode import tables --- ../python3/examples/enum.py (original) +++ ../python3/examples/enum.py (refactored) @@ -3,7 +3,7 @@ # since it contains some statements that raise exceptions. # To run it, paste it as the input of ``python``. -from __future__ import print_function + def COMMENT(string): --- ../python3/examples/earray2.py (original) +++ ../python3/examples/earray2.py (refactored) @@ -3,7 +3,7 @@ """Small example that shows how to work with extendeable arrays of different types, strings included.""" -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/earray1.py (original) +++ ../python3/examples/earray1.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables import numpy --- ../python3/examples/carray1.py (original) +++ ../python3/examples/carray1.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy import tables --- ../python3/examples/array4.py (original) +++ ../python3/examples/array4.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/array3.py (original) +++ ../python3/examples/array3.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/array2.py (original) +++ ../python3/examples/array2.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/array1.py (original) +++ ../python3/examples/array1.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy as np import tables --- ../python3/examples/add-column.py (original) +++ ../python3/examples/add-column.py (refactored) @@ -1,6 +1,6 @@ "Example showing how to add a column on a existing column" -from __future__ import print_function + import tables --- ../python3/doc/sphinxext/traitsdoc.py (original) +++ ../python3/doc/sphinxext/traitsdoc.py (refactored) @@ -18,13 +18,14 @@ import os import pydoc -import docscrape -import docscrape_sphinx -from docscrape_sphinx import SphinxClassDoc, SphinxFunctionDoc, SphinxDocString +from . import docscrape +from . import docscrape_sphinx +from .docscrape_sphinx import SphinxClassDoc, SphinxFunctionDoc, SphinxDocString -import numpydoc +from . import numpydoc -import comment_eater +from . import comment_eater +import collections class SphinxTraitsDoc(SphinxClassDoc): def __init__(self, cls, modulename='', func_doc=SphinxFunctionDoc): @@ -117,7 +118,7 @@ what = 'class' elif inspect.ismodule(obj): what = 'module' - elif callable(obj): + elif isinstance(obj, collections.Callable): what = 'function' else: what = 'object' --- ../python3/doc/sphinxext/plot_directive.py (original) +++ ../python3/doc/sphinxext/plot_directive.py (refactored) @@ -75,7 +75,7 @@ """ -import sys, os, glob, shutil, imp, warnings, cStringIO, re, textwrap, traceback +import sys, os, glob, shutil, imp, warnings, io, re, teRefactoringTool: Refactored ../python3/doc/sphinxext/phantom_import.py RefactoringTool: Refactored ../python3/doc/sphinxext/numpydoc.py xtwrap, traceback import sphinx import warnings @@ -257,7 +257,7 @@ # is it in doctest format? is_doctest = contains_doctest(code) - if options.has_key('format'): + if 'format' in options: if options['format'] == 'python': is_doctest = False else: @@ -291,7 +291,7 @@ results = makefig(code, source_file_name, build_dir, output_base, config) errors = [] - except PlotError, err: + except PlotError as err: reporter = state.memo.reporter sm = reporter.system_message( 2, "Exception occurred in plotting %s: %s" % (output_base, err), @@ -314,7 +314,7 @@ else: source_code = "" - opts = [':%s: %s' % (key, val) for key, val in options.items() + opts = [':%s: %s' % (key, val) for key, val in list(options.items()) if key in ('alt', 'height', 'width', 'scale', 'align', 'class')] only_html = ".. only:: html" @@ -444,7 +444,7 @@ # Redirect stdout stdout = sys.stdout - sys.stdout = cStringIO.StringIO() + sys.stdout = io.StringIO() # Reset sys.argv old_sys_argv = sys.argv @@ -456,9 +456,9 @@ if ns is None: ns = {} if not ns: - exec setup.config.plot_pre_code in ns - exec code in ns - except (Exception, SystemExit), err: + exec(setup.config.plot_pre_code, ns) + exec(code, ns) + except (Exception, SystemExit) as err: raise PlotError(traceback.format_exc()) finally: os.chdir(pwd) @@ -520,7 +520,7 @@ all_exists = True for i, code_piece in enumerate(code_pieces): images = [] - for j in xrange(1000): + for j in range(1000): img = ImageFile('%s_%02d_%02d' % (output_base, i, j), output_dir) for format, dpi in formats: if out_of_date(code_path, img.filename(format)): @@ -565,7 +565,7 @@ for format, dpi in formats: try: figman.canvas.figure.savefig(img.filename(format), dpi=dpi) - except exceptions.BaseException, err: + except exceptions.BaseException as err: raise PlotError(traceback.format_exc()) img.formats.append(format) --- ../python3/doc/sphinxext/phantom_import.py (original) +++ ../python3/doc/sphinxext/phantom_import.py (refactored) @@ -23,7 +23,7 @@ def initialize(app): fn = app.config.phantom_import_file if (fn and os.path.isfile(fn)): - print "[numpydoc] Phantom importing modules from", fn, "..." + print("[numpydoc] Phantom importing modules from", fn, "...") import_phantom_module(fn) #------------------------------------------------------------------------------ @@ -129,7 +129,7 @@ doc = "%s%s\n\n%s" % (funcname, argspec, doc) obj = lambda: 0 obj.__argspec_is_invalid_ = True - obj.func_name = funcname + obj.__name__ = funcname obj.__name__ = name obj.__doc__ = doc if inspect.isclass(object_cache[parent]): --- ../python3/doc/sphinxext/numpydoc.py (original) +++ ../python3/doc/sphinxext/numpydoc.py (refactored) @@ -17,12 +17,13 @@ """ import sphinx +import collections if sphinx.__version__ < '1.0.1': raise RuntimeError("Sphinx 1.0.1 or newer is required") import os, re, pydoc -from docscrape_sphinx import get_doc_object, SphinxDocString +from .docscrape_sphinx import get_doc_object, SphinxDocString from sphinx.util.compat import Directive import inspect @@ -34,28 +35,28 @@ if what == 'module': # Strip top title - title_re = re.compile(ur'^\s*[#*=]{4,}\n[a-z0-9 -]+\n[#*=]{4,}\s*', + title_re = re.compile(r'^\s*[#*=]{4,}\n[a-z0-9 -]+\n[#*=]{4,}\s*', re.I|re.S) - lines[:] = title_re.sub(u'', u"\n".join(lines)).split(u"\n") + lines[:] = title_re.sub('', "\n".RefactoringTool: Refactored ../python3/doc/sphinxext/ipython_directive.py join(lines)).split("\n") else: - doc = get_doc_object(obj, what, u"\n".join(lines), config=cfg) - lines[:] = unicode(doc).split(u"\n") + doc = get_doc_object(obj, what, "\n".join(lines), config=cfg) + lines[:] = str(doc).split("\n") if app.config.numpydoc_edit_link and hasattr(obj, '__name__') and \ obj.__name__: if hasattr(obj, '__module__'): - v = dict(full_name=u"%s.%s" % (obj.__module__, obj.__name__)) + v = dict(full_name="%s.%s" % (obj.__module__, obj.__name__)) else: v = dict(full_name=obj.__name__) - lines += [u'', u'.. htmlonly::', ''] - lines += [u' %s' % x for x in + lines += ['', '.. htmlonly::', ''] + lines += [' %s' % x for x in (app.config.numpydoc_edit_link % v).split("\n")] # replace reference numbers so that there are no duplicates references = [] for line in lines: line = line.strip() - m = re.match(ur'^.. \[([a-z0-9_.-])\]', line, re.I) + m = re.match(r'^.. \[([a-z0-9_.-])\]', line, re.I) if m: references.append(m.group(1)) @@ -64,14 +65,14 @@ if references: for i, line in enumerate(lines): for r in references: - if re.match(ur'^\d+$', r): - new_r = u"R%d" % (reference_offset[0] + int(r)) + if re.match(r'^\d+$', r): + new_r = "R%d" % (reference_offset[0] + int(r)) else: - new_r = u"%s%d" % (r, reference_offset[0]) - lines[i] = lines[i].replace(u'[%s]_' % r, - u'[%s]_' % new_r) - lines[i] = lines[i].replace(u'.. [%s]' % r, - u'.. [%s]' % new_r) + new_r = "%s%d" % (r, reference_offset[0]) + lines[i] = lines[i].replace('[%s]_' % r, + '[%s]_' % new_r) + lines[i] = lines[i].replace('.. [%s]' % r, + '.. [%s]' % new_r) reference_offset[0] += len(references) @@ -82,13 +83,13 @@ 'initializes x; see ' in pydoc.getdoc(obj.__init__))): return '', '' - if not (callable(obj) or hasattr(obj, '__argspec_is_invalid_')): return + if not (isinstance(obj, collections.Callable) or hasattr(obj, '__argspec_is_invalid_')): return if not hasattr(obj, '__doc__'): return doc = SphinxDocString(pydoc.getdoc(obj)) if doc['Signature']: - sig = re.sub(u"^[^(]*", u"", doc['Signature']) - return sig, u'' + sig = re.sub("^[^(]*", "", doc['Signature']) + return sig, '' def setup(app, get_doc_object_=get_doc_object): global get_doc_object @@ -120,7 +121,7 @@ self.wrap_mangling_directives() def wrap_mangling_directives(self): - for name, objtype in self.directive_mangling_map.items(): + for name, objtype in list(self.directive_mangling_map.items()): self.directives[name] = wrap_mangling_directive( self.directives[name], objtype) --- ../python3/doc/sphinxext/ipython_directive.py (original) +++ ../python3/doc/sphinxext/ipython_directive.py (refactored) @@ -58,7 +58,7 @@ #----------------------------------------------------------------------------- # Stdlib -import cStringIO +import io import os import re import sys @@ -90,7 +90,7 @@ sphinx_version = tuple([int(re.split('[a-z]', x)[0]) for x in sphinx_version[:2]]) -COMMENT, INPUT, OUTPUT = range(3) +COMMENT, INPUT, OUTPUT = list(range(3)) CONFIG = Config() rgxin = re.compile('In \[(\d+)\]:\s?(.*)\s*') rgxout = re.compile('Out\[(\d+)\]:\s?(.*)\s*') @@ -200,7 +200,7 @@ def __init__(self): - self.cout = cStringIO.StringIO() + self.cout = io.StringIO() Term.cout = self.cout Term.cerr = self.cout @@ -406,7 +406,7 @@ if image_file is not None: self.ensurRefactoringTool: No changes to ../python3/doc/sphinxext/ipython_console_highlighting.py RefactoringTool: Refactored ../python3/doc/sphinxext/inheritance_diagram.py RefactoringTool: Refactored ../python3/doc/sphinxext/docscrape_sphinx.py e_pyplot() command = 'plt.gcf().savefig("%s")'%image_file - print 'SAVEFIG', command # dbg + print('SAVEFIG', command) # dbg self.process_input_line('bookmark ipy_thisdir') self.process_input_line('cd -b ipy_basedir') self.process_input_line(command) @@ -437,9 +437,9 @@ ): debug = ipython_directive.DEBUG - shell.is_suppress = options.has_key('suppress') - shell.is_doctest = options.has_key('doctest') - shell.is_verbatim = options.has_key('verbatim') + shell.is_suppress = 'suppress' in options + shell.is_doctest = 'doctest' in options + shell.is_verbatim = 'verbatim' in options #print 'ipy', shell.is_suppress, options parts = '\n'.join(content).split('\n\n') @@ -465,7 +465,7 @@ #print lines if len(lines)>2: if debug: - print '\n'.join(lines) + print('\n'.join(lines)) else: #print 'INSERTING %d lines'%len(lines) state_machine.insert_input( @@ -632,4 +632,4 @@ if not os.path.isdir('_static'): os.mkdir('_static') test() - print 'All OK? Check figures in _static/' + print('All OK? Check figures in _static/') --- ../python3/doc/sphinxext/inheritance_diagram.py (original) +++ ../python3/doc/sphinxext/inheritance_diagram.py (refactored) @@ -119,7 +119,7 @@ return [todoc] elif inspect.ismodule(todoc): classes = [] - for cls in todoc.__dict__.values(): + for cls in list(todoc.__dict__.values()): if inspect.isclass(cls) and cls.__module__ == todoc.__name__: classes.append(cls) return classes @@ -150,7 +150,7 @@ for cls in classes: recurse(cls) - return all_classes.keys() + return list(all_classes.keys()) def class_name(self, cls, parts=0): """ @@ -192,9 +192,9 @@ } def _format_node_options(self, options): - return ','.join(["%s=%s" % x for x in options.items()]) + return ','.join(["%s=%s" % x for x in list(options.items())]) def _format_graph_options(self, options): - return ''.join(["%s=%s;\n" % x for x in options.items()]) + return ''.join(["%s=%s;\n" % x for x in list(options.items())]) def generate_dot(self, fd, name, parts=0, urls={}, graph_options={}, node_options={}, @@ -224,7 +224,7 @@ fd.write(self._format_graph_options(g_options)) for cls in self.all_classes: - if not self.show_builtins and cls in __builtins__.values(): + if not self.show_builtins and cls in list(__builtins__.values()): continue name = self.class_name(cls, parts) @@ -239,7 +239,7 @@ # Write the edges for base in cls.__bases__: - if not self.show_builtins and base in __builtins__.values(): + if not self.show_builtins and base in list(__builtins__.values()): continue base_name = self.class_name(base, parts) @@ -380,7 +380,7 @@ def visitor(self, node): try: content = inner_func(self, node) - except DotException, e: + except DotException as e: # Insert the exception as a warning in the document warning = self.document.reporter.warning(str(e), line=node.line) warning.parent = node --- ../python3/doc/sphinxext/docscrape_sphinx.py (original) +++ ../python3/doc/sphinxext/docscrape_sphinx.py (refactored) @@ -1,6 +1,7 @@ import re, inspect, textwrap, pydoc import sphinx -from docscrape import NumpyDocString, FunctionDoc, ClassDoc +from .docscrape import NumpyDocString, FunctionDoc, ClassDoc +import collections class SphinxDocString(NumpyDocString): def __init__(self, docstring, config={}): @@ -127,7 +128,7 @@ return out out += ['.. index:: %s' % idx.get('default', '')] - for section, references in idx.iteritemRefactoringTool: Refactored ../python3/doc/sphinxext/docscrape.py RefactoringTool: Refactored ../python3/doc/sphinxext/compiler_unparse.py RefactoringTool: Refactored ../python3/doc/sphinxext/comment_eater.py s(): + for section, references in idx.items(): if section == 'default': continue elif section == 'refguide': @@ -212,7 +213,7 @@ what = 'class' elif inspect.ismodule(obj): what = 'module' - elif callable(obj): + elif isinstance(obj, collections.Callable): what = 'function' else: what = 'object' --- ../python3/doc/sphinxext/docscrape.py (original) +++ ../python3/doc/sphinxext/docscrape.py (refactored) @@ -6,8 +6,9 @@ import textwrap import re import pydoc -from StringIO import StringIO +from io import StringIO from warnings import warn +import collections class Reader(object): """A line-based string reader. @@ -113,7 +114,7 @@ return self._parsed_data[key] def __setitem__(self, key, val): - if not self._parsed_data.has_key(key): + if key not in self._parsed_data: warn("Unknown section %s" % key) else: self._parsed_data[key] = val @@ -370,7 +371,7 @@ idx = self['index'] out = [] out += ['.. index:: %s' % idx.get('default', '')] - for section, references in idx.iteritems(): + for section, references in idx.items(): if section == 'default': continue out += [' :%s: %s' % (section, ', '.join(references))] @@ -428,7 +429,7 @@ argspec = inspect.formatargspec(*argspec) argspec = argspec.replace('*', '\*') signature = '%s%s' % (func_name, argspec) - except TypeError, e: + except TypeError as e: signature = '%s()' % func_name self['Signature'] = signature @@ -450,8 +451,8 @@ 'meth': 'method'} if self._role: - if not roles.has_key(self._role): - print "Warning: invalid role %s" % self._role + if self._role not in roles: + print("Warning: invalid role %s" % self._role) out += '.. %s:: %s\n \n\n' % (roles.get(self._role, ''), func_name) @@ -490,7 +491,7 @@ if self._cls is None: return [] return [name for name, func in inspect.getmembers(self._cls) - if not name.startswith('_') and callable(func)] + if not name.startswith('_') and isinstance(func, collections.Callable)] @property def properties(self): --- ../python3/doc/sphinxext/compiler_unparse.py (original) +++ ../python3/doc/sphinxext/compiler_unparse.py (refactored) @@ -12,11 +12,11 @@ """ import sys -import cStringIO +import io from compiler.ast import Const, Name, Tuple, Div, Mul, Sub, Add def unparse(ast, single_line_functions=False): - s = cStringIO.StringIO() + s = io.StringIO() UnparseCompilerAst(ast, s, single_line_functions) return s.getvalue().lstrip() @@ -504,7 +504,7 @@ # Check if parenthesis are needed on left side and then dispatch has_paren = False left_class = str(t.left.__class__) - if (left_class in op_precedence.keys() and + if (left_class in list(op_precedence.keys()) and op_precedence[left_class] < op_precedence[str(t.__class__)]): has_paren = True if has_paren: @@ -517,7 +517,7 @@ # Check if parenthesis are needed on the right side and then dispatch has_paren = False right_class = str(t.right.__class__) - if (right_class in op_precedence.keys() and + if (right_class in list(op_precedence.keys()) and op_precedence[right_class] < op_precedence[str(t.__class__)]): has_paren = True if has_paren: --- ../python3/doc/sphinxext/comment_eater.py (original) +++ ../python3/doc/sphinxext/comment_eater.py (refactored) @@ -1,10 +1,10 @@ -from cStringIO import StringIO +from io import StringIO import compiler import inspect import textwrap import tokenize -from compiler_unparse import uRefactoringTool: Refactored ../python3/doc/sphinxext/apigen.py RefactoringTool: Refactored ../python3/doc/sphinxext/__init__.py RefactoringTool: Refactored ../python3/doc/source/conf.py RefactoringTool: Refactored ../python3/doc/source/cookbook/py2exe_howto/pytables_test.py RefactoringTool: Refactored ../python3/doc/scripts/tutorial1.py RefactoringTool: Refactored ../python3/doc/scripts/pickletrouble.py RefactoringTool: Refactored ../python3/doc/scripts/filenode.py nparse +from .compiler_unparse import unparse class Comment(object): @@ -68,7 +68,7 @@ def process_file(self, file): """ Process a file object. """ - for token in tokenize.generate_tokens(file.next): + for token in tokenize.generate_tokens(file.__next__): self.process_token(*token) self.make_index() --- ../python3/doc/sphinxext/apigen.py (original) +++ ../python3/doc/sphinxext/apigen.py (refactored) @@ -206,7 +206,7 @@ # get the names of all classes and functions functions, classes = self._parse_module(uri) if not len(functions) and not len(classes): - print 'WARNING: Empty -', uri # dbg + print('WARNING: Empty -', uri) # dbg return '' # Make a shorter version of the uri that omits the package name for --- ../python3/doc/sphinxext/__init__.py (original) +++ ../python3/doc/sphinxext/__init__.py (refactored) @@ -1 +1 @@ -from numpydoc import setup +from .numpydoc import setup --- ../python3/doc/source/conf.py (original) +++ ../python3/doc/source/conf.py (refactored) @@ -55,8 +55,8 @@ master_doc = 'index' # General information about the project. -project = u'PyTables' -copyright = u'2011-2014, PyTables maintainers' +project = 'PyTables' +copyright = '2011-2014, PyTables maintainers' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -241,7 +241,7 @@ #'pointsize': '10pt', # Additional stuff for the LaTeX preamble. - 'preamble': '\usepackage{bookmark,hyperref}', + 'preamble': '\\usepackage{bookmark,hyperref}', } # Grouping the document tree into LaTeX files. List of tuples @@ -249,7 +249,7 @@ # author, documentclass [howto, manual, or own class]). latex_documents = [ ('usersguide/usersguide', 'usersguide-%s.tex' % version, - u'PyTables User Guide', u'PyTables maintainers', 'manual'), + 'PyTables User Guide', 'PyTables maintainers', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -290,10 +290,10 @@ # -- Options for Epub output ---------------------------------------------- # Bibliographic Dublin Core info. -epub_title = u'PyTables' -epub_author = u'PyTables maintainers' -epub_publisher = u'PyTables maintainers' -epub_copyright = u'2011-2014, PyTables maintainers' +epub_title = 'PyTables' +epub_author = 'PyTables maintainers' +epub_publisher = 'PyTables maintainers' +epub_copyright = '2011-2014, PyTables maintainers' # The basename for the epub file. It defaults to the project name. #epub_basename = u'PyTables' --- ../python3/doc/source/cookbook/py2exe_howto/pytables_test.py (original) +++ ../python3/doc/source/cookbook/py2exe_howto/pytables_test.py (refactored) @@ -15,11 +15,11 @@ group = h5file.createGroup("/", "detector", "Detector information") table = h5file.createTable(group, "readout", Particle, "Readout example") -print h5file +print(h5file) particle = table.row -for i in xrange(10): +for i in range(10): particle['name'] = 'Particle: %6d' % i particle['TDCcount'] = i % 256 particle['ADCcount'] = (i*256) % (1<<16) @@ -36,6 +36,6 @@ pressure = [x['pressure'] for x in table.iterrows() if x['TDCcount']>3 and 20<=x['pressure']<50] -print pressure +print(pressure) h5file.close() --- ../python3/doc/scripts/tutorial1.py (original) +++ ../python3/doc/scripts/tutorial1.py (refactored) @@ -6,7 +6,7 @@ """ -from __future__ import print_function + import os import traceback --- ../python3/doc/scripts/pickletrouble.py (original) +++ ../python3/doc/scripts/pickletrouble.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables --- ../python3/doc/scripts/filenode.py (original) +++ ../python3/doc/scripts/filenode.py (refactored) @@ -1,6 +1,6 @@ # Copy this file into the clipboard and paste into 'script -c python'. -from __future__ import print_function + from tableRefactoringTool: Refactored ../python3/contrib/nctoh5.py RefactoringTool: Refactored ../python3/contrib/make_hdf.py s.nodes import FileNode --- ../python3/contrib/nctoh5.py (original) +++ ../python3/contrib/nctoh5.py (refactored) @@ -15,7 +15,7 @@ # open h5 file. h5file = tables.openFile(sys.argv[2], mode = "w") # loop over variables in netCDF file. -for varname in ncfile.variables.keys(): +for varname in list(ncfile.variables.keys()): var = ncfile.variables[varname] vardims = list(var.dimensions) vardimsizes = [ncfile.dimensions[vardim] for vardim in vardims] @@ -39,11 +39,11 @@ else: vardata=h5file.createArray(h5file.root, varname, var[:], title) # set variable attributes. - for key, val in var.__dict__.iteritems(): + for key, val in var.__dict__.items(): setattr(vardata.attrs, key, val) setattr(vardata.attrs, 'dimensions', tuple(vardims)) # set global (file) attributes. -for key, val in ncfile.__dict__.iteritems(): +for key, val in ncfile.__dict__.items(): setattr(h5file.root._v_attrs, key, val) # Close the file h5file.close() --- ../python3/contrib/make_hdf.py (original) +++ ../python3/contrib/make_hdf.py (refactored) @@ -1,8 +1,8 @@ #!/usr/bin/env python3 -from __future__ import generators - -import tables, cPickle, time + + +import tables, pickle, time ################################################################################# @@ -21,7 +21,7 @@ def is_dict(item): try: - item.iteritems() + iter(item.items()) return 1 except: return 0 @@ -114,7 +114,7 @@ group_name='pytables_cache_v0';table_name='cache0' root=fileh.root group_obj=fileh.createGroup(root, group_name) - cache_str=cPickle.dumps(cache, 0) + cache_str=pickle.dumps(cache, 0) cache_str=cache_str.replace('\n', chr(1)) cache_pieces=[] while cache_str: @@ -126,7 +126,7 @@ # table_cache=fileh.createTable(group_obj, table_name, row_type, 'H', compress =1) for piece in cache_pieces: - print len(piece) + print(len(piece)) table_cache.row['col_0']=piece table_cache.row.append() table_cache.flush() @@ -180,23 +180,23 @@ fileh=tables.openFile(self.hdf_file, rootUEP='pytables_cache_v0') table=fileh.root.cache0 total=[] - print 'reading' + print('reading') begin=time.time() for i in table.iterrows(): total.append(i['col_0']) total=''.join(total) total=total.replace(chr(1), '\n') - print 'loaded cache len=', len(total), time.time()-begin + print('loaded cache len=', len(total), time.time()-begin) begin=time.time() - a=cPickle.loads(total) - print 'cache', time.time()-begin + a=pickle.loads(total) + print('cache', time.time()-begin) return a def has_key(self, k): return k in self.cur_dict def keys(self): - return self.cur_dict.keys() + return list(self.cur_dict.keys()) def get(self,key,default=None): try: @@ -205,10 +205,10 @@ return default def items(self): - return list(self.iteritems()) + return list(self.items()) def values(self): - return list(self.itervalues()) + return list(self.values()) ########################################### @@ -259,20 +259,20 @@ raise KeyError(k) def iterkeys(self): - for key in self.iterkeys(): + for key in self.keys(): yield key def __iter__(self): - return self.iterkeys() + return iter(self.keys()) def itervalues(self): - for k in self.iterkeys(): + for k in self.keys(): v=self.__getitem__(k) yield v def iteritems(self): # yield children - for k in self.iterkeys(): + for k in self.keys(): v=self.__getitem__(k) yield (k, v) @@ -291,12 +291,12 @@ return default def update(self, d): - for k, v in d.iteritems(): + for k, v in d.items(): self.__setRefactoringTool: Refactored ../python3/c-blosc/bench/plot-speeds.py RefactoringTool: Refactored ../python3/bench/open_close-bench.py RefactoringTool: Refactored ../python3/bench/lookup_bench.py RefactoringTool: Refactored ../python3/bench/keysort.py RefactoringTool: Refactored ../python3/bench/indexed_search.py item__(k, v) def popitem(self): try: - k, v = self.iteritems().next() + k, v = next(iter(self.items())) del self[k] return k, v except StopIteration: @@ -321,34 +321,34 @@ 'wilma':{'mother':{'pebbles':[22, 23, 24],'bambam':[67, 68, 69]}} } - print 'saving' + print('saving') save2(file, data1) - print 'saved' + print('saved') def read_small(file=''): #a=make_hdf.Hdf_dict(file) a=Hdf_dict(file) - print a['wilma'] + print(a['wilma']) b=a['wilma'] for i in b: - print i - - print a.keys() - print 'has fred', bool('fred' in a) - print 'length a', len(a) - print 'get', a.get('fred'), a.get('not here') - print 'wilma keys', a['wilma'].keys() - print 'barney', a['barney'] - print 'get items' - print a.items() - for i in a.iteritems(): - print 'item', i - for i in a.itervalues(): - print i - - a=raw_input('enter y to write out test file to test.hdf') + print(i) + + print(list(a.keys())) + print('has fred', bool('fred' in a)) + print('length a', len(a)) + print('get', a.get('fred'), a.get('not here')) + print('wilma keys', list(a['wilma'].keys())) + print('barney', a['barney']) + print('get items') + print(list(a.items())) + for i in a.items(): + print('item', i) + for i in a.values(): + print(i) + + a=input('enter y to write out test file to test.hdf') if a.strip()=='y': - print 'writing' + print('writing') write_small('test.hdf') - print 'reading' + print('reading') read_small('test.hdf') --- ../python3/c-blosc/bench/plot-speeds.py (original) +++ ../python3/c-blosc/bench/plot-speeds.py (refactored) @@ -27,7 +27,7 @@ if line.startswith('-->'): tmp = line.split('-->')[1] nthreads, size, elsize, sbits, codec = [i for i in tmp.split(', ')] - nthreads, size, elsize, sbits = map(int, (nthreads, size, elsize, sbits)) + nthreads, size, elsize, sbits = list(map(int, (nthreads, size, elsize, sbits))) values["size"] = size * NCHUNKS / MB_; values["elsize"] = elsize; values["sbits"] = sbits; @@ -56,7 +56,7 @@ speedr = float(tmp.split(' ')[1]) speedsr.append(speedr) if "OK" not in line: - print "WARNING! OK not found in decomp line!" + print("WARNING! OK not found in decomp line!") f.close() return nthreads, values @@ -81,7 +81,7 @@ #subplots_adjust(bottom=0.2, top=None, wspace=0.2, hspace=0.2) if outfile: - print "Saving plot to:", outfile + print("Saving plot to:", outfile) savefig(outfile, dpi=64) else: show() @@ -173,7 +173,7 @@ if options.limit: thread_range = eval(options.limit) else: - thread_range = range(1, nthreads+1) + thread_range = list(range(1, nthreads+1)) if options.title: plot_title = options.title --- ../python3/bench/open_close-bench.py (original) +++ ../python3/bench/open_close-bench.py (refactored) @@ -4,7 +4,7 @@ """ -from __future__ import print_function + import os import sys import getopt --- ../python3/bench/lookup_bench.py (original) +++ ../python3/bench/lookup_bench.py (refactored) @@ -1,7 +1,7 @@ """Benchmark to help choosing the best chunksize so as to optimize the access time in random lookups.""" -from __future__ import print_function + from time import time import os import subprocess --- ../python3/bench/keysort.py (original) +++ ../python3/bench/keysort.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from tables.indexesextension import keysort import numpy from time import time --- ../python3/bench/indexed_search.py (original) +++ ../python3/bench/indexRefactoringTool: Refactored ../python3/bench/widetree2.py RefactoringTool: Refactored ../python3/bench/widetree.py RefactoringTool: Refactored ../python3/bench/undo_redo.py RefactoringTool: Refactored ../python3/bench/table-copy.py RefactoringTool: Refactored ../python3/bench/table-bench.py RefactoringTool: Refactored ../python3/bench/stress-test3.py RefactoringTool: Refactored ../python3/bench/stress-test2.py RefactoringTool: Refactored ../python3/bench/stress-test.py RefactoringTool: Refactored ../python3/bench/sqlite3-search-bench.py RefactoringTool: Refactored ../python3/bench/sqlite-search-bench.py RefactoringTool: No changes to ../python3/bench/split-file.py RefactoringTool: Refactored ../python3/bench/shelve-bench.py RefactoringTool: Refactored ../python3/bench/searchsorted-bench2.py RefactoringTool: Refactored ../python3/bench/searchsorted-bench.py ed_search.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from time import time import subprocess import random --- ../python3/bench/widetree2.py (original) +++ ../python3/bench/widetree2.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import unittest from tables import * --- ../python3/bench/widetree.py (original) +++ ../python3/bench/widetree.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import hotshot import hotshot.stats --- ../python3/bench/undo_redo.py (original) +++ ../python3/bench/undo_redo.py (refactored) @@ -6,7 +6,7 @@ # 2005-03-09 ########################################################################### -from __future__ import print_function + import numpy from time import time import tables --- ../python3/bench/table-copy.py (original) +++ ../python3/bench/table-copy.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import time import numpy as np --- ../python3/bench/table-bench.py (original) +++ ../python3/bench/table-bench.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from __future__ import print_function + import numpy as NP from tables import * --- ../python3/bench/stress-test3.py (original) +++ ../python3/bench/stress-test3.py (refactored) @@ -7,7 +7,7 @@ """ -from __future__ import print_function + import gc import sys import time --- ../python3/bench/stress-test2.py (original) +++ ../python3/bench/stress-test2.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import gc import sys import time --- ../python3/bench/stress-test.py (original) +++ ../python3/bench/stress-test.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import gc import sys import time @@ -204,7 +204,7 @@ ct = sorted([(type2count[t] - self.type2count.get(t, 0), type2all[t] - self.type2all.get(t, 0), t) - for t in type2count.keys()]) + for t in list(type2count.keys())]) ct.reverse() for delta1, delta2, t in ct: if delta1 or delta2: --- ../python3/bench/sqlite3-search-bench.py (original) +++ ../python3/bench/sqlite3-search-bench.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import os import os.path from time import time --- ../python3/bench/sqlite-search-bench.py (original) +++ ../python3/bench/sqlite-search-bench.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/python3 -from __future__ import print_function + import sqlite import random import time @@ -259,8 +259,8 @@ riter = valmax * 2 chunksize = (valmax * 2 / riter) * 10 # Get a list of integers for the intervals - randlist = range(0, valmax, chunksize) - randlist.extend(range(nrows - valmax, nrows, chunksize)) + randlist = list(range(0, valmax, chunksize)) + randlist.extend(list(range(nrows - valmax, nrows, chunksize))) # expand the list ten times so as to use the cache randlist = randlist * 10 # shuffle the list --- ../python3/bench/shelve-bench.py (original) +++ ../python3/bench/shelve-bench.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from __future__ import print_function + from tables import * import numpy as NA import struct @@ -47,7 +47,7 @@ name = StringCol(itemsize=16) # 16-character String #float1 = Float64Col(shape=32, dflt=NA.arange(32)) #float2 = Float64Col(shape=32, dflt=NA.arange(32)) - float1 = Float64Col(shape=32, dflt=range(32)) + float1 = Float64Col(shape=32, dflt=list(range(32))) float2 = Float64Col(shape=32, dflt=[2.2] * 32) ADCcount = Int16Col() # signed short integer grid_i = Int32Col() # integer --- ../python3/bench/searchsorted-bench2.py (original) +++ ../python3/bench/searchsorted-bench2.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from __future__ import print_function + import time from tables import * --- ../python3/bench/searcRefactoringTool: Refactored ../python3/bench/search-bench.py RefactoringTool: Refactored ../python3/bench/search-bench-plot.py RefactoringTool: Refactored ../python3/bench/recarray2-test.py RefactoringTool: Refactored ../python3/bench/pytables_backend.py RefactoringTool: Refactored ../python3/bench/pytables-search-bench.py RefactoringTool: Refactored ../python3/bench/postgres_backend.py RefactoringTool: Refactored ../python3/bench/postgres-search-bench.py RefactoringTool: Refactored ../python3/bench/poly.py RefactoringTool: Refactored ../python3/bench/plot-bar.py RefactoringTool: Refactored ../python3/bench/optimal-chunksize.py RefactoringTool: Refactored ../python3/bench/get-figures.py RefactoringTool: Refactored ../python3/bench/get-figures-ranges.py RefactoringTool: Refactored ../python3/bench/expression.py RefactoringTool: Refactored ../python3/bench/evaluate.py RefactoringTool: Refactored ../python3/bench/deep-tree.py RefactoringTool: Refactored ../python3/bench/deep-tree-h5py.py hsorted-bench.py (original) +++ ../python3/bench/searchsorted-bench.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from __future__ import print_function + import time from tables import * --- ../python3/bench/search-bench.py (original) +++ ../python3/bench/search-bench.py (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from __future__ import print_function + import sys import math import time --- ../python3/bench/search-bench-plot.py (original) +++ ../python3/bench/search-bench-plot.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables from pylab import * --- ../python3/bench/recarray2-test.py (original) +++ ../python3/bench/recarray2-test.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import os import sys import time --- ../python3/bench/pytables_backend.py (original) +++ ../python3/bench/pytables_backend.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import os import tables from indexed_search import DB --- ../python3/bench/pytables-search-bench.py (original) +++ ../python3/bench/pytables-search-bench.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import os from time import time import random --- ../python3/bench/postgres_backend.py (original) +++ ../python3/bench/postgres_backend.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import subprocess # Needs Python 2.4 from indexed_search import DB import psycopg2 as db2 --- ../python3/bench/postgres-search-bench.py (original) +++ ../python3/bench/postgres-search-bench.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from time import time import numpy import random --- ../python3/bench/poly.py (original) +++ ../python3/bench/poly.py (refactored) @@ -6,7 +6,7 @@ # Date: 2010-02-24 ####################################################################### -from __future__ import print_function + import os from time import time import numpy as np --- ../python3/bench/plot-bar.py (original) +++ ../python3/bench/plot-bar.py (refactored) @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # a stacked bar plot with errorbars -from __future__ import print_function + from pylab import * checks = ['open_close', 'only_open', --- ../python3/bench/optimal-chunksize.py (original) +++ ../python3/bench/optimal-chunksize.py (refactored) @@ -5,7 +5,7 @@ """ -from __future__ import print_function + import os import math import subprocess --- ../python3/bench/get-figures.py (original) +++ ../python3/bench/get-figures.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from pylab import * linewidth = 2 --- ../python3/bench/get-figures-ranges.py (original) +++ ../python3/bench/get-figures-ranges.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from pylab import * linewidth = 2 --- ../python3/bench/expression.py (original) +++ ../python3/bench/expression.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + from time import time import os.path --- ../python3/bench/evaluate.py (original) +++ ../python3/bench/evaluate.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import sys from time import time @@ -35,7 +35,7 @@ (start, stop, step) = (0, len(arg0), 1) nrowsinbuf = len(arg0) shape = list(arg0.shape) - shape[maindim] = len(range(start, stop, step)) + shape[maindim] = len(list(range(start, stop, step))) # The slices parameter for arg0.__getitem__ slices = [slice(0, dim, 1) for dim in arg0.shape] --- ../python3/bench/deep-tree.py (original) +++ ../python3/bench/deep-tree.py (refactored) @@ -1,7 +1,7 @@ # Small benchmark for compare creation times with parameter # PYTABLES_SYS_ATTRS active or not. -from __future__ import print_function + import os import subprocess from time import time --- ../python3/bench/deep-tree-h5py.py (original) +++ ../python3/bench/deep-tree-h5py.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_functionRefactoringTool: No changes to ../python3/bench/create-large-number-objects.py RefactoringTool: Refactored ../python3/bench/copy-bench.py RefactoringTool: Refactored ../python3/bench/collations.py RefactoringTool: Refactored ../python3/bench/chunkshape-testing.py RefactoringTool: Refactored ../python3/bench/chunkshape-bench.py RefactoringTool: No changes to ../python3/bench/cacheout.py RefactoringTool: Refactored ../python3/bench/bsddb-table-bench.py RefactoringTool: Refactored ../python3/bench/blosc.py RefactoringTool: Refactored ../python3/bench/LRUcache-node-bench.py RefactoringTool: Refactored ../python3/bench/LRU-experiments2.py RefactoringTool: Refactored ../python3/bench/LRU-experiments.py + import os import subprocess from time import time --- ../python3/bench/copy-bench.py (original) +++ ../python3/bench/copy-bench.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import tables import sys import time --- ../python3/bench/collations.py (original) +++ ../python3/bench/collations.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import numpy as np import tables from time import time --- ../python3/bench/chunkshape-testing.py (original) +++ ../python3/bench/chunkshape-testing.py (refactored) @@ -2,7 +2,7 @@ """Simple benchmark for testing chunkshapes and nrowsinbuf.""" -from __future__ import print_function + import numpy import tables from time import time --- ../python3/bench/chunkshape-bench.py (original) +++ ../python3/bench/chunkshape-bench.py (refactored) @@ -3,13 +3,13 @@ # You need at least PyTables 2.1 to run this! # F. Alted -from __future__ import print_function + import numpy import tables from time import time dim1, dim2 = 360, 6109666 -rows_to_read = range(0, 360, 36) +rows_to_read = list(range(0, 360, 36)) print("=" * 32) # Create the EArray --- ../python3/bench/bsddb-table-bench.py (original) +++ ../python3/bench/bsddb-table-bench.py (refactored) @@ -4,10 +4,10 @@ # If you get it working again, please drop me a line # F. Alted 2004-01-27 -from __future__ import print_function + import sys import struct -import cPickle +import pickle from tables import * import numpy as np @@ -57,7 +57,7 @@ name = StringCol(itemsize=16) # 16-character String #float1 = Float64Col(shape=32, dflt=np.arange(32)) #float2 = Float64Col(shape=32, dflt=np.arange(32)) - float1 = Float64Col(shape=32, dflt=range(32)) + float1 = Float64Col(shape=32, dflt=list(range(32))) float2 = Float64Col(shape=32, dflt=[2.2] * 32) ADCcount = Int16Col() # signed short integer grid_i = Int32Col() # integer @@ -121,7 +121,7 @@ d['grid_j'] = 10 - i d['pressure'] = float(i * i) d['energy'] = d['pressure'] - dd.append(cPickle.dumps(d)) + dd.append(pickle.dumps(d)) # dd.append(struct.pack(isrec._v_fmt, # d['name'], d['float1'], d['float2'], # d['ADCcount'], @@ -133,7 +133,7 @@ d['var1'] = str(i) d['var2'] = i d['var3'] = 12.1e10 - dd.append(cPickle.dumps(d)) + dd.append(pickle.dumps(d)) #dd.append( # struct.pack(isrec._v_fmt, d['var1'], d['var2'], d['var3'])) @@ -164,7 +164,7 @@ rec = c.first() e = [] while rec: - record = cPickle.loads(rec[1]) + record = pickle.loads(rec[1]) #record = struct.unpack(isrec._v_fmt, rec[1]) # if verbose: # print record @@ -180,7 +180,7 @@ rec = c.first() e = [] while rec: - record = cPickle.loads(rec[1]) + record = pickle.loads(rec[1]) #record = struct.unpack(isrec._v_fmt, rec[1]) # if verbose: # print record --- ../python3/bench/blosc.py (original) +++ ../python3/bench/blosc.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import os import sys from time import time --- ../python3/bench/LRUcache-node-bench.py (original) +++ ../python3/bench/LRUcache-node-bench.py (refactored) @@ -1,4 +1,4 @@ -from __future__ import print_function + import sys import numpy --- ../python3/bench/LRU-experiments2.py (original) +++ ../python3/bench/LRU-experiments2.py (refactored) @@ -1,7 +1,7 @@ # Testbed to perform experiments in order to determine best values for # the node numbers in LRU cache. Arrays version. -from __future__ import print_function + from time import time import tables --- ../python3/bench/LRU-experiments.py (original) +++ ../python3/bench/LRU-experiments.py (refactored) @@ -1,7 +1,7 @@ # Testbed to perform experiments RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/tables/vlarray.py RefactoringTool: ../python3/tables/utils.py RefactoringTool: ../python3/tables/unimplemented.py RefactoringTool: ../python3/tables/undoredo.py RefactoringTool: ../python3/tables/table.py RefactoringTool: ../python3/tables/req_versions.py RefactoringTool: ../python3/tables/registry.py RefactoringTool: ../python3/tables/path.py RefactoringTool: ../python3/tables/parameters.py RefactoringTool: ../python3/tables/node.py RefactoringTool: ../python3/tables/link.py RefactoringTool: ../python3/tables/leaf.py RefactoringTool: ../python3/tables/indexes.py RefactoringTool: ../python3/tables/index.py RefactoringTool: ../python3/tables/idxutils.py RefactoringTool: ../python3/tables/group.py RefactoringTool: ../python3/tables/flavor.py RefactoringTool: ../python3/tables/filters.py RefactoringTool: ../python3/tables/file.py RefactoringTool: ../python3/tables/expression.py RefactoringTool: ../python3/tables/exceptions.py RefactoringTool: ../python3/tables/earray.py RefactoringTool: ../python3/tables/description.py RefactoringTool: ../python3/tables/conditions.py RefactoringTool: ../python3/tables/carray.py RefactoringTool: ../python3/tables/attributeset.py RefactoringTool: ../python3/tables/atom.py RefactoringTool: ../python3/tables/array.py RefactoringTool: ../python3/tables/__init__.py RefactoringTool: ../python3/tables/tests/test_vlarray.py RefactoringTool: ../python3/tables/tests/test_types.py RefactoringTool: ../python3/tables/tests/test_tree.py RefactoringTool: ../python3/tables/tests/test_timetype.py RefactoringTool: ../python3/tables/tests/test_tablesMD.py RefactoringTool: ../python3/tables/tests/test_tables.py RefactoringTool: ../python3/tables/tests/test_queries.py RefactoringTool: ../python3/tables/tests/test_numpy.py RefactoringTool: ../python3/tables/tests/test_nestedtypes.py RefactoringTool: ../python3/tables/tests/test_lists.py RefactoringTool: ../python3/tables/tests/test_links.py RefactoringTool: ../python3/tables/tests/test_indexvalues.py RefactoringTool: ../python3/tables/tests/test_indexes.py RefactoringTool: ../python3/tables/tests/test_index_backcompat.py RefactoringTool: ../python3/tables/tests/test_hdf5compat.py RefactoringTool: ../python3/tables/tests/test_garbage.py RefactoringTool: ../python3/tables/tests/test_expression.py RefactoringTool: ../python3/tables/tests/test_enum.py RefactoringTool: ../python3/tables/tests/test_earray.py RefactoringTool: ../python3/tables/tests/test_do_undo.py RefactoringTool: ../python3/tables/tests/test_create.py RefactoringTool: ../python3/tables/tests/test_carray.py RefactoringTool: ../python3/tables/tests/test_basics.py RefactoringTool: ../python3/tables/tests/test_backcompat.py RefactoringTool: ../python3/tables/tests/test_aux.py RefactoringTool: ../python3/tables/tests/test_attributes.py RefactoringTool: ../python3/tables/tests/test_array.py RefactoringTool: ../python3/tables/tests/test_all.py RefactoringTool: ../python3/tables/tests/create_backcompat_indexes.py RefactoringTool: ../python3/tables/tests/common.py RefactoringTool: ../python3/tables/tests/check_leaks.py RefactoringTool: ../python3/tables/tests/__init__.py RefactoringTool: ../python3/tables/scripts/pttree.py RefactoringTool: ../python3/tables/scripts/ptrepack.py RefactoringTool: ../python3/tables/scripts/ptdump.py RefactoringTool: ../python3/tables/scripts/pt2to3.py RefactoringTool: ../python3/tables/scripts/__init__.py RefactoringTool: ../python3/tables/nodes/filenode.py RefactoringTool: ../python3/tables/nodes/__init__.py RefactoringTool: ../python3/tables/nodes/tests/test_filenode.py RefactoringTool: ../python3/tables/nodes/tests/__init__.py RefactoringTool: ../python3/tables/misc/proxydict.py RefactoringTool: ../python3/tables/misc/enum.py RefactoringTool: ../python3/tables/misc/__init__.py RefactoringTool: ../python3/examples/vlarray4.py RefactoringTool: ../python3/examples/vlarray3.py RefactoringTool: ../python3/examples/vlarray2.py RefactoringTool: ../python3/examples/vlarray1.py RefactoringTool: ../python3/examples/undo-redo.py RefactoringTool: ../python3/examples/tutorial3-2.py RefactoringTool: ../python3/examples/tutorial3-1.py RefactoringTool: ../python3/examples/tutorial2.py RefactoringTool: ../python3/examples/tutorial1-2.py RefactoringTool: ../python3/examples/tutorial1-1.py RefactoringTool: ../python3/examples/threading_monkeypatch.py RefactoringTool: ../python3/examples/table3.py RefactoringTool: ../python3/examples/table2.py RefactoringTool: ../python3/examples/table1.py RefactoringTool: ../python3/examples/table-tree.py RefactoringTool: ../python3/examples/split.py RefactoringTool: ../python3/examples/simple_threading.py RefactoringTool: ../python3/examples/read_array_out_arg.py RefactoringTool: ../python3/examples/particles.py RefactoringTool: ../python3/examples/objecttree.py RefactoringTool: ../python3/examples/nested1.py RefactoringTool: ../python3/examples/nested-tut.py RefactoringTool: ../python3/examples/multiprocess_access_queues.py RefactoringTool: ../python3/examples/multiprocess_access_benchmarks.py RefactoringTool: ../python3/examples/links.py RefactoringTool: ../python3/examples/inmemory.py RefactoringTool: ../python3/examples/index.py RefactoringTool: ../python3/examples/filenodes1.py RefactoringTool: ../python3/examples/enum.py RefactoringTool: ../python3/examples/earray2.py RefactoringTool: ../python3/examples/earray1.py RefactoringTool: ../python3/examples/carray1.py RefactoringTool: ../python3/examples/attributes1.py RefactoringTool: ../python3/examples/array4.py RefactoringTool: ../python3/examples/array3.py RefactoringTool: ../python3/examples/array2.py RefactoringTool: ../python3/examples/array1.py RefactoringTool: ../python3/examples/add-column.py RefactoringTool: ../python3/doc/sphinxext/traitsdoc.py RefactoringTool: ../python3/doc/sphinxext/setup.py RefactoringTool: ../python3/doc/sphinxext/plot_directive.py RefactoringTool: ../python3/doc/sphinxext/phantom_import.py RefactoringTool: ../python3/doc/sphinxext/numpydoc.py RefactoringTool: ../python3/doc/sphinxext/ipython_directive.py RefactoringTool: ../python3/doc/sphinxext/ipython_console_highlighting.py RefactoringTool: ../python3/doc/sphinxext/inheritance_diagram.py RefactoringTool: ../python3/doc/sphinxext/docscrape_sphinx.py RefactoringTool: ../python3/doc/sphinxext/docscrape.py RefactoringTool: ../python3/doc/sphinxext/compiler_unparse.py RefactoringTool: ../python3/doc/sphinxext/comment_eater.py RefactoringTool: ../python3/doc/sphinxext/apigen.py RefactoringTool: ../python3/doc/sphinxext/__init__.py RefactoringTool: ../python3/doc/source/conf.py RefactoringTool: ../python3/doc/source/cookbook/py2exe_howto/pytables_test.py RefactoringTool: ../python3/doc/scripts/tutorial1.py RefactoringTool: ../python3/doc/scripts/pickletrouble.py RefactoringTool: ../python3/doc/scripts/filenode.py RefactoringTool: ../python3/contrib/nctoh5.py RefactoringTool: ../python3/contrib/make_hdf.py RefactoringTool: ../python3/c-blosc/bench/plot-speeds.py RefactoringTool: ../python3/bench/open_close-bench.py RefactoringTool: ../python3/bench/lookup_bench.py RefactoringTool: ../python3/bench/keysort.py RefactoringTool: ../python3/bench/indexed_search.py RefactoringTool: ../python3/bench/widetree2.py RefactoringTool: ../python3/bench/widetree.py RefactoringTool: ../python3/bench/undo_redo.py RefactoringTool: ../python3/bench/table-copy.py RefactoringTool: ../python3/bench/table-bench.py RefactoringTool: ../python3/bench/stress-test3.py RefactoringTool: ../python3/bench/stress-test2.py RefactoringTool: ../python3/bench/stress-test.py RefactoringTool: ../python3/bench/sqlite3-search-bench.py RefactoringTool: ../python3/bench/sqlite-search-bench.py RefactoringTool: ../python3/bench/split-file.py RefactoringTool: ../python3/bench/shelve-bench.py RefactoringTool: ../python3/bench/searchsorted-bench2.py RefactoringTool: ../python3/bench/searchsorted-bench.py RefactoringTool: ../python3/bench/search-bench.py RefactoringTool: ../python3/bench/search-bench-plot.py RefactoringTool: ../python3/bench/recarray2-test.py RefactoringTool: ../python3/bench/pytables_backend.py RefactoringTool: ../python3/bench/pytables-search-bench.py RefactoringTool: ../python3/bench/postgres_backend.py RefactoringTool: ../python3/bench/postgres-search-bench.py RefactoringTool: ../python3/bench/poly.py RefactoringTool: ../python3/bench/plot-bar.py RefactoringTool: ../python3/bench/optimal-chunksize.py RefactoringTool: ../python3/bench/get-figures.py RefactoringTool: ../python3/bench/get-figures-ranges.py RefactoringTool: ../python3/bench/expression.py RefactoringTool: ../python3/bench/evaluate.py RefactoringTool: ../python3/bench/deep-tree.py RefactoringTool: ../python3/bench/deep-tree-h5py.py RefactoringTool: ../python3/bench/create-large-number-objects.py RefactoringTool: ../python3/bench/copy-bench.py RefactoringTool: ../python3/bench/collations.py RefactoringTool: ../python3/bench/chunkshape-testing.py RefactoringTool: ../python3/bench/chunkshape-bench.py RefactoringTool: ../python3/bench/cacheout.py RefactoringTool: ../python3/bench/bsddb-table-bench.py RefactoringTool: ../python3/bench/blosc.py RefactoringTool: ../python3/bench/LRUcache-node-bench.py RefactoringTool: ../python3/bench/LRU-experiments2.py RefactoringTool: ../python3/bench/LRU-experiments.py in order to determine best values for # the node numbers in LRU cache. Tables version. -from __future__ import print_function + from time import time from tables import * import tables + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44873 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pytables-3.2.2 + export NPY_NUM_BUILD_JOBS=1 + NPY_NUM_BUILD_JOBS=1 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing' + export FFLAGS + /usr/bin/python2.7 setup.py build --debug --hdf5=/usr/lib/hdf5-seq warning: tables/utilsextension.pyx:796:12: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. warning: tables/utilsextension.pyx:796:22: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. * Using Python 2.7.11 (default, Apr 15 2016, 13:08:39) * USE_PKGCONFIG: True * pkg-config header dirs for HDF5: /usr/lib/hdf5-seq/include * Found HDF5 headers at ``/usr/lib/hdf5-seq/include``, library at ``/usr/lib/hdf5-seq/lib``. * Found LZO 2 headers at ``/usr/include``, library at ``/usr/lib``. * Skipping detection of LZO 1 since LZO 2 has already been found. * Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``. * Found blosc headers at ``/usr/include``, library at ``/usr/lib``. Compiling tables/utilsextension.pyx because it changed. [1/1] Cythonizing tables/utilsextension.pyx Compiling tables/hdf5extension.pyx because it changed. [1/1] Cythonizing tables/hdf5extension.pyx Compiling tables/tableextension.pyx because it changed. [1/1] Cythonizing tables/tableextension.pyx Compiling tables/linkextension.pyx because it changed. [1/1] Cythonizing tables/linkextension.pyx Compiling tables/_comp_lzo.pyx because it changed. [1/1] Cythonizing tables/_comp_lzo.pyx Compiling tables/_comp_bzip2.pyx because it changed. [1/1] Cythonizing tables/_comp_bzip2.pyx Compiling tables/lrucacheextension.pyx because it changed. [1/1] Cythonizing tables/lrucacheextension.pyx Compiling tables/indexesextension.pyx because it changed. [1/1] Cythonizing tables/indexesextension.pyx running build running build_py creating build creating build/lib.linux-i686-2.7 creating build/lib.linux-i686-2.7/tables copying tables/vlarray.py -> build/lib.linux-i686-2.7/tables copying tables/utils.py -> build/lib.linux-i686-2.7/tables copying tables/unimplemented.py -> build/lib.linux-i686-2.7/tables copying tables/undoredo.py -> build/lib.linux-i686-2.7/tables copying tables/table.py -> build/lib.linux-i686-2.7/tables copying tables/req_versions.py -> build/lib.linux-i686-2.7/tables copying tables/registry.py -> build/lib.linux-i686-2.7/tables copying tables/path.py -> build/lib.linux-i686-2.7/tables copying tables/parameters.py -> build/lib.linux-i686-2.7/tables copying tables/node.py -> build/lib.linux-i686-2.7/tables copying tables/link.py -> build/lib.linux-i686-2.7/tables copying tables/leaf.py -> build/lib.linux-i686-2.7/tables copying tables/indexes.py -> build/lib.linux-i686-2.7/tables copying tables/index.py -> build/lib.linux-i686-2.7/tables copying tables/idxutils.py -> build/lib.linux-i686-2.7/tables copying tables/group.py -> build/lib.linux-i686-2.7/tables copying tables/flavor.py -> build/lib.linux-i686-2.7/tables copying tables/filters.py -> build/lib.linux-i686-2.7/tables copying tables/file.py -> build/lib.linux-i686-2.7/tables copying tables/expression.py -> build/lib.linux-i686-2.7/tables copying tables/exceptions.py -> build/lib.linux-i686-2.7/tables copying tables/earray.py -> build/lib.linux-i686-2.7/tables copying tables/description.py -> build/lib.linux-i686-2.7/tables copying tables/conditions.py -> build/lib.linux-i686-2.7/tables copying tables/carray.py -> build/lib.linux-i686-2.7/tables copying tables/attributeset.py -> build/lib.linux-i686-2.7/tables copying tables/atom.py -> build/lib.linux-i686-2.7/tables copying tables/array.py -> build/lib.linux-i686-2.7/tables copying tables/__init__.py -> build/lib.linux-i686-2.7/tables creating build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_vlarray.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_types.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_tree.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_timetype.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_tablesMD.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_tables.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_queries.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_numpy.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_nestedtypes.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_lists.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_links.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_indexvalues.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_indexes.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_index_backcompat.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_hdf5compat.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_garbage.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_expression.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_enum.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_earray.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_do_undo.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_create.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_carray.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_basics.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_backcompat.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_aux.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_attributes.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_array.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_all.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/create_backcompat_indexes.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/common.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/check_leaks.py -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/__init__.py -> build/lib.linux-i686-2.7/tables/tests creating build/lib.linux-i686-2.7/tables/scripts copying tables/scripts/pttree.py -> build/lib.linux-i686-2.7/tables/scripts copying tables/scripts/ptrepack.py -> build/lib.linux-i686-2.7/tables/scripts copying tables/scripts/ptdump.py -> build/lib.linux-i686-2.7/tables/scripts copying tables/scripts/pt2to3.py -> build/lib.linux-i686-2.7/tables/scripts copying tables/scripts/__init__.py -> build/lib.linux-i686-2.7/tables/scripts creating build/lib.linux-i686-2.7/tables/nodes copying tables/nodes/filenode.py -> build/lib.linux-i686-2.7/tables/nodes copying tables/nodes/__init__.py -> build/lib.linux-i686-2.7/tables/nodes creating build/lib.linux-i686-2.7/tables/misc copying tables/misc/proxydict.py -> build/lib.linux-i686-2.7/tables/misc copying tables/misc/enum.py -> build/lib.linux-i686-2.7/tables/misc copying tables/misc/__init__.py -> build/lib.linux-i686-2.7/tables/misc creating build/lib.linux-i686-2.7/tables/nodes/tests copying tables/nodes/tests/test_filenode.py -> build/lib.linux-i686-2.7/tables/nodes/tests copying tables/nodes/tests/__init__.py -> build/lib.linux-i686-2.7/tables/nodes/tests copying tables/tests/zerodim-attrs-1.4.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/zerodim-attrs-1.3.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/vlunicode_endian.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/vlstr_attr.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/times-nested-be.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/time-table-vlarray-1_x.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/test_szip.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_unsupptype.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_i64le.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_i64be.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_i32le.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_i32be.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_f64le.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_f64be.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_enum.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_compound_chunked.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/smpl_SDSextendible.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/slink.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/scalar.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/python3.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/python2.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/oldflavor_numeric.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/non-chunked-table.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/nested-type-with-gaps.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/issue_368.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/indexes_2_1.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/indexes_2_0.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/idx-std-1.x.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/float.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/flavored_vlarrays-format1.6.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/ex-noattr.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/elink2.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/elink.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/bug-idx.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/blosc_bigendian.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/attr-u16.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/array_mdatom.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/Tables_lzo2_shuffle.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/Tables_lzo2.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/Tables_lzo1_shuffle.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/Tables_lzo1.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 -> build/lib.linux-i686-2.7/tables/tests copying tables/tests/matlab_file.mat -> build/lib.linux-i686-2.7/tables/tests copying tables/nodes/tests/test_filenode.dat -> build/lib.linux-i686-2.7/tables/nodes/tests copying tables/nodes/tests/test_filenode.xbm -> build/lib.linux-i686-2.7/tables/nodes/tests copying tables/nodes/tests/test_filenode_v1.h5 -> build/lib.linux-i686-2.7/tables/nodes/tests running build_ext building 'tables.utilsextension' extension creating build/temp.linux-i686-2.7 creating build/temp.linux-i686-2.7/tables creating build/temp.linux-i686-2.7/src creating build/temp.linux-i686-2.7/c-blosc creating build/temp.linux-i686-2.7/c-blosc/hdf5 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/utilsextension.c -o build/temp.linux-i686-2.7/tables/utilsextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/utilsextension.c:445: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ tables/utilsextension.c: In function '__pyx_pf_6tables_14utilsextension_16_dump_h5_backtrace': tables/utilsextension.c:4209:57: warning: passing argument 3 of 'H5Ewalk2' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_t_2 = ((H5Ewalk(H5E_DEFAULT, H5E_WALK_DOWNWARD, __pyx_f_6tables_14utilsextension_e_walk_cb, ((void *)__pyx_v_bt)) < 0) != 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/hdf5-seq/include/hdf5.h:28:0, from tables/utilsextension.c:447: /usr/lib/hdf5-seq/include/H5Epublic.h:171:15: note: expected 'H5E_walk2_t {aka int (*)(unsigned int, const struct H5E_error2_t *, void *)}' but argument is of type 'herr_t (*)(unsigned int, H5E_error2_t *, void *) {aka int (*)(unsigned int, struct H5E_error2_t *, void *)}' H5_DLL herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, ^~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/utils.c -o build/temp.linux-i686-2.7/src/utils.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ARRAY.c -o build/temp.linux-i686-2.7/src/H5ARRAY.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/python2.7/Python.h:8:0, from src/utils.h:1, from src/H5ARRAY.c:4: /usr/include/python2.7/pyconfig.h:1194:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/lib/hdf5-seq/include/H5public.h:37:0, from /usr/lib/hdf5-seq/include/hdf5.h:24, from src/H5ATTR.h:19, from src/H5ARRAY.c:1: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5ARRAY.c:4: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5ARRAY.c:4: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ATTR.c -o build/temp.linux-i686-2.7/src/H5ATTR.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c c-blosc/hdf5/blosc_filter.c -o build/temp.linux-i686-2.7/c-blosc/hdf5/blosc_filter.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 c-blosc/hdf5/blosc_filter.c: In function 'blosc_filter': c-blosc/hdf5/blosc_filter.c:180:10: warning: unused variable 'errmsg' [-Wunused-variable] char errmsg[256]; ^~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/utilsextension.o build/temp.linux-i686-2.7/src/utils.o build/temp.linux-i686-2.7/src/H5ARRAY.o build/temp.linux-i686-2.7/src/H5ATTR.o build/temp.linux-i686-2.7/c-blosc/hdf5/blosc_filter.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lpython2.7 -o build/lib.linux-i686-2.7/tables/utilsextension.so building 'tables.hdf5extension' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/hdf5extension.c -o build/temp.linux-i686-2.7/tables/hdf5extension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/hdf5extension.c:444: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/utils.c -o build/temp.linux-i686-2.7/src/utils.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/typeconv.c -o build/temp.linux-i686-2.7/src/typeconv.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ARRAY.c -o build/temp.linux-i686-2.7/src/H5ARRAY.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/python2.7/Python.h:8:0, from src/utils.h:1, from src/H5ARRAY.c:4: /usr/include/python2.7/pyconfig.h:1194:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/lib/hdf5-seq/include/H5public.h:37:0, from /usr/lib/hdf5-seq/include/hdf5.h:24, from src/H5ATTR.h:19, from src/H5ARRAY.c:1: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5ARRAY.c:4: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5ARRAY.c:4: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ARRAY-opt.c -o build/temp.linux-i686-2.7/src/H5ARRAY-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5VLARRAY.c -o build/temp.linux-i686-2.7/src/H5VLARRAY.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/python2.7/Python.h:8:0, from src/utils.h:1, from src/H5VLARRAY.c:3: /usr/include/python2.7/pyconfig.h:1194:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/lib/hdf5-seq/include/H5public.h:37:0, from /usr/lib/hdf5-seq/include/hdf5.h:24, from src/H5ATTR.h:19, from src/H5VLARRAY.c:1: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5VLARRAY.c:3: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5VLARRAY.c:3: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ATTR.c -o build/temp.linux-i686-2.7/src/H5ATTR.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c c-blosc/hdf5/blosc_filter.c -o build/temp.linux-i686-2.7/c-blosc/hdf5/blosc_filter.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 c-blosc/hdf5/blosc_filter.c: In function 'blosc_filter': c-blosc/hdf5/blosc_filter.c:180:10: warning: unused variable 'errmsg' [-Wunused-variable] char errmsg[256]; ^~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/hdf5extension.o build/temp.linux-i686-2.7/src/utils.o build/temp.linux-i686-2.7/src/typeconv.o build/temp.linux-i686-2.7/src/H5ARRAY.o build/temp.linux-i686-2.7/src/H5ARRAY-opt.o build/temp.linux-i686-2.7/src/H5VLARRAY.o build/temp.linux-i686-2.7/src/H5ATTR.o build/temp.linux-i686-2.7/c-blosc/hdf5/blosc_filter.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lm -lpython2.7 -o build/lib.linux-i686-2.7/tables/hdf5extension.so building 'tables.tableextension' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/tableextension.c -o build/temp.linux-i686-2.7/tables/tableextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/tableextension.c:445: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/utils.c -o build/temp.linux-i686-2.7/src/utils.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/typeconv.c -o build/temp.linux-i686-2.7/src/typeconv.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5TB-opt.c -o build/temp.linux-i686-2.7/src/H5TB-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ATTR.c -o build/temp.linux-i686-2.7/src/H5ATTR.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c c-blosc/hdf5/blosc_filter.c -o build/temp.linux-i686-2.7/c-blosc/hdf5/blosc_filter.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 c-blosc/hdf5/blosc_filter.c: In function 'blosc_filter': c-blosc/hdf5/blosc_filter.c:180:10: warning: unused variable 'errmsg' [-Wunused-variable] char errmsg[256]; ^~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/tableextension.o build/temp.linux-i686-2.7/src/utils.o build/temp.linux-i686-2.7/src/typeconv.o build/temp.linux-i686-2.7/src/H5TB-opt.o build/temp.linux-i686-2.7/src/H5ATTR.o build/temp.linux-i686-2.7/c-blosc/hdf5/blosc_filter.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lm -lpython2.7 -o build/lib.linux-i686-2.7/tables/tableextension.so building 'tables._comp_lzo' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/_comp_lzo.c -o build/temp.linux-i686-2.7/tables/_comp_lzo.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5Zlzo.c -o build/temp.linux-i686-2.7/src/H5Zlzo.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/_comp_lzo.o build/temp.linux-i686-2.7/src/H5Zlzo.o -L/usr/lib/hdf5-seq/lib -lhdf5 -llzo2 -lpython2.7 -o build/lib.linux-i686-2.7/tables/_comp_lzo.so building 'tables._comp_bzip2' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/_comp_bzip2.c -o build/temp.linux-i686-2.7/tables/_comp_bzip2.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5Zbzip2.c -o build/temp.linux-i686-2.7/src/H5Zbzip2.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/_comp_bzip2.o build/temp.linux-i686-2.7/src/H5Zbzip2.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lbz2 -lpython2.7 -o build/lib.linux-i686-2.7/tables/_comp_bzip2.so building 'tables.linkextension' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/linkextension.c -o build/temp.linux-i686-2.7/tables/linkextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/linkextension.c:444: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/linkextension.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lm -lpython2.7 -o build/lib.linux-i686-2.7/tables/linkextension.so building 'tables.lrucacheextension' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/lrucacheextension.c -o build/temp.linux-i686-2.7/tables/lrucacheextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/lrucacheextension.c:444: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/lrucacheextension.o -L/usr/lib/hdf5-seq/lib -lpython2.7 -o build/lib.linux-i686-2.7/tables/lrucacheextension.so building 'tables.indexesextension' extension i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c tables/indexesextension.c -o build/temp.linux-i686-2.7/tables/indexesextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from tables/indexesextension.c:444: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/H5ARRAY-opt.c -o build/temp.linux-i686-2.7/src/H5ARRAY-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DNDEBUG -pipe -Wall -g -O3 -march=i586 -mtune=generic -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c src/idx-opt.c -o build/temp.linux-i686-2.7/src/idx-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/python2.7/Python.h:8:0, from src/idx-opt.h:1, from src/idx-opt.c:2: /usr/include/python2.7/pyconfig.h:1194:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/stdio.h:27:0, from src/idx-opt.c:1: /usr/include/features.h:225:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1781:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/idx-opt.h:2, from src/idx-opt.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ In file included from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0, from /usr/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from src/idx-opt.h:2, from src/idx-opt.c:2: /usr/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1634:1: warning: '_import_array' defined but not used [-Wunused-function] _import_array(void) ^~~~~~~~~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-2.7/tables/indexesextension.o build/temp.linux-i686-2.7/src/H5ARRAY-opt.o build/temp.linux-i686-2.7/src/idx-opt.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -lpython2.7 -o build/lib.linux-i686-2.7/tables/indexesextension.so + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/pytables-3.2.2 + CFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing' + export FFLAGS + python3 setup.py build --debug --hdf5=/usr/lib/hdf5-seq * Using Python 3.5.1 (default, May 5 2016, 10:50:42) * USE_PKGCONFIG: True * pkg-config header dirs for HDF5: /usr/lib/hdf5-seq/include * Found HDF5 headers at ``/usr/lib/hdf5-seq/include``, library at ``/usr/lib/hdf5-seq/lib``. * Found LZO 2 headers at ``/usr/include``, library at ``/usr/lib``. * Skipping detection of LZO 1 since LZO 2 has already been found. * Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``. * Found blosc headers at ``/usr/include``, library at ``/usr/lib``. Compiling tables/utilsextension.pyx because it changed. [1/1] Cythonizing tables/utilsextension.pyx Compiling tables/hdf5extension.pyx because it changed. [1/1] Cythonizing tables/hdf5extension.pyx Compiling tables/tableextension.pyx because it changed. [1/1] Cythonizing tables/tableextension.pyx Compiling tables/linkextension.pyx because it changed. [1/1] Cythonizing tables/linkextension.pyx Compiling tables/_comp_lzo.pyx because it changed. [1/1] Cythonizing tables/_comp_lzo.pyx Compiling tables/_comp_bzip2.pyx because it changed. [1/1] Cythonizing tables/_comp_bzip2.pyx Compiling tables/lrucacheextension.pyx because it changed. [1/1] Cythonizing tables/lrucacheextension.pyx Compiling tables/indexesextension.pyx because it changed. [1/1] Cythonizing tables/indexesextension.pyx running build running build_py creating build creating build/lib.linux-i686-3.5 creating build/lib.linux-i686-3.5/tables copying tables/vlarray.py -> build/lib.linux-i686-3.5/tables copying tables/utils.py -> build/lib.linux-i686-3.5/tables copying tables/unimplemented.py -> build/lib.linux-i686-3.5/tables copying tables/undoredo.py -> build/lib.linux-i686-3.5/tables copying tables/table.py -> build/lib.linux-i686-3.5/tables copying tables/req_versions.py -> build/lib.linux-i686-3.5/tables copying tables/registry.py -> build/lib.linux-i686-3.5/tables copying tables/path.py -> build/lib.linux-i686-3.5/tables copying tables/parameters.py -> build/lib.linux-i686-3.5/tables copying tables/node.py -> build/lib.linux-i686-3.5/tables copying tables/link.py -> build/lib.linux-i686-3.5/tables copying tables/leaf.py -> build/lib.linux-i686-3.5/tables copying tables/indexes.py -> build/lib.linux-i686-3.5/tables copying tables/index.py -> build/lib.linux-i686-3.5/tables copying tables/idxutils.py -> build/lib.linux-i686-3.5/tables copying tables/group.py -> build/lib.linux-i686-3.5/tables copying tables/flavor.py -> build/lib.linux-i686-3.5/tables copying tables/filters.py -> build/lib.linux-i686-3.5/tables copying tables/file.py -> build/lib.linux-i686-3.5/tables copying tables/expression.py -> build/lib.linux-i686-3.5/tables copying tables/exceptions.py -> build/lib.linux-i686-3.5/tables copying tables/earray.py -> build/lib.linux-i686-3.5/tables copying tables/description.py -> build/lib.linux-i686-3.5/tables copying tables/conditions.py -> build/lib.linux-i686-3.5/tables copying tables/carray.py -> build/lib.linux-i686-3.5/tables copying tables/attributeset.py -> build/lib.linux-i686-3.5/tables copying tables/atom.py -> build/lib.linux-i686-3.5/tables copying tables/array.py -> build/lib.linux-i686-3.5/tables copying tables/__init__.py -> build/lib.linux-i686-3.5/tables creating build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_vlarray.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_types.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_tree.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_timetype.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_tablesMD.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_tables.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_queries.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_numpy.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_nestedtypes.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_lists.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_links.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_indexvalues.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_indexes.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_index_backcompat.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_hdf5compat.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_garbage.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_expression.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_enum.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_earray.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_do_undo.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_create.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_carray.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_basics.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_backcompat.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_aux.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_attributes.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_array.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_all.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/create_backcompat_indexes.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/common.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/check_leaks.py -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/__init__.py -> build/lib.linux-i686-3.5/tables/tests creating build/lib.linux-i686-3.5/tables/scripts copying tables/scripts/pttree.py -> build/lib.linux-i686-3.5/tables/scripts copying tables/scripts/ptrepack.py -> build/lib.linux-i686-3.5/tables/scripts copying tables/scripts/ptdump.py -> build/lib.linux-i686-3.5/tables/scripts copying tables/scripts/pt2to3.py -> build/lib.linux-i686-3.5/tables/scripts copying tables/scripts/__init__.py -> build/lib.linux-i686-3.5/tables/scripts creating build/lib.linux-i686-3.5/tables/nodes copying tables/nodes/filenode.py -> build/lib.linux-i686-3.5/tables/nodes copying tables/nodes/__init__.py -> build/lib.linux-i686-3.5/tables/nodes creating build/lib.linux-i686-3.5/tables/misc copying tables/misc/proxydict.py -> build/lib.linux-i686-3.5/tables/misc copying tables/misc/enum.py -> build/lib.linux-i686-3.5/tables/misc copying tables/misc/__init__.py -> build/lib.linux-i686-3.5/tables/misc creating build/lib.linux-i686-3.5/tables/nodes/tests copying tables/nodes/tests/test_filenode.py -> build/lib.linux-i686-3.5/tables/nodes/tests copying tables/nodes/tests/__init__.py -> build/lib.linux-i686-3.5/tables/nodes/tests copying tables/tests/zerodim-attrs-1.4.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/zerodim-attrs-1.3.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/vlunicode_endian.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/vlstr_attr.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/times-nested-be.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/time-table-vlarray-1_x.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/test_szip.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_unsupptype.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_i64le.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_i64be.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_i32le.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_i32be.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_f64le.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_f64be.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_enum.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_compound_chunked.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/smpl_SDSextendible.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/slink.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/scalar.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/python3.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/python2.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/oldflavor_numeric.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/non-chunked-table.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/nested-type-with-gaps.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/issue_368.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/indexes_2_1.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/indexes_2_0.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/idx-std-1.x.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/float.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/flavored_vlarrays-format1.6.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/ex-noattr.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/elink2.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/elink.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/bug-idx.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/blosc_bigendian.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/attr-u16.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/array_mdatom.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/Tables_lzo2_shuffle.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/Tables_lzo2.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/Tables_lzo1_shuffle.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/Tables_lzo1.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 -> build/lib.linux-i686-3.5/tables/tests copying tables/tests/matlab_file.mat -> build/lib.linux-i686-3.5/tables/tests copying tables/nodes/tests/test_filenode.dat -> build/lib.linux-i686-3.5/tables/nodes/tests copying tables/nodes/tests/test_filenode.xbm -> build/lib.linux-i686-3.5/tables/nodes/tests copying tables/nodes/tests/test_filenode_v1.h5 -> build/lib.linux-i686-3.5/tables/nodes/tests Fixing build/lib.linux-i686-3.5/tables/vlarray.py build/lib.linux-i686-3.5/tables/utils.py build/lib.linux-i686-3.5/tables/unimplemented.py build/lib.linux-i686-3.5/tables/undoredo.py build/lib.linux-i686-3.5/tables/table.py build/lib.linux-i686-3.5/tables/req_versions.py build/lib.linux-i686-3.5/tables/registry.py build/lib.linux-i686-3.5/tables/path.py build/lib.linux-i686-3.5/tables/parameters.py build/lib.linux-i686-3.5/tables/node.py build/lib.linux-i686-3.5/tables/link.py build/lib.linux-i686-3.5/tables/leaf.py build/lib.linux-i686-3.5/tables/indexes.py build/lib.linux-i686-3.5/tables/index.py build/lib.linux-i686-3.5/tables/idxutils.py build/lib.linux-i686-3.5/tables/group.py build/lib.linux-i686-3.5/tables/flavor.py build/lib.linux-i686-3.5/tables/filters.py build/lib.linux-i686-3.5/tables/file.py build/lib.linux-i686-3.5/tables/expression.py build/lib.linux-i686-3.5/tables/exceptions.py build/lib.linux-i686-3.5/tables/earray.py build/lib.linux-i686-3.5/tables/description.py build/lib.linux-i686-3.5/tables/conditions.py build/lib.linux-i686-3.5/tables/carray.py build/lib.linux-i686-3.5/tables/attributeset.py build/lib.linux-i686-3.5/tables/atom.py build/lib.linux-i686-3.5/tables/array.py build/lib.linux-i686-3.5/tables/__init__.py build/lib.linux-i686-3.5/tables/tests/test_vlarray.py build/lib.linux-i686-3.5/tables/tests/test_types.py build/lib.linux-i686-3.5/tables/tests/test_tree.py build/lib.linux-i686-3.5/tables/tests/test_timetype.py build/lib.linux-i686-3.5/tables/tests/test_tablesMD.py build/lib.linux-i686-3.5/tables/tests/test_tables.py build/lib.linux-i686-3.5/tables/tests/test_queries.py build/lib.linux-i686-3.5/tables/tests/test_numpy.py build/lib.linux-i686-3.5/tables/tests/test_nestedtypes.py build/lib.linux-i686-3.5/tables/tests/test_lists.py build/lib.linux-i686-3.5/tables/tests/test_links.py build/lib.linux-i686-3.5/tables/tests/test_indexvalues.py build/lib.linux-i686-3.5/tables/tests/test_indexes.py build/lib.linux-i686-3.5/tables/tests/test_index_backcompat.py build/lib.linux-i686-3.5/tables/tests/test_hdf5compat.py build/lib.linux-i686-3.5/tables/tests/test_garbage.py build/lib.linux-i686-3.5/tables/tests/test_expression.py build/lib.linux-i686-3.5/tables/tests/test_enum.py build/lib.linux-i686-3.5/tables/tests/test_earray.py build/lib.linux-i686-3.5/tables/tests/test_do_undo.py build/lib.linux-i686-3.5/tables/tests/test_create.py build/lib.linux-i686-3.5/tables/tests/test_carray.py build/lib.linux-i686-3.5/tables/tests/test_basics.py build/lib.linux-i686-3.5/tables/tests/test_backcompat.py build/lib.linux-i686-3.5/tables/tests/test_aux.py build/lib.linux-i686-3.5/tables/tests/test_attributes.py build/lib.linux-i686-3.5/tables/tests/test_array.py build/lib.linux-i686-3.5/tables/tests/test_all.py build/lib.linux-i686-3.5/tables/tests/create_backcompat_indexes.py build/lib.linux-i686-3.5/tables/tests/common.py build/lib.linux-i686-3.5/tables/tests/check_leaks.py build/lib.linux-i686-3.5/tables/tests/__init__.py build/lib.linux-i686-3.5/tables/scripts/pttree.py build/lib.linux-i686-3.5/tables/scripts/ptrepack.py build/lib.linux-i686-3.5/tables/scripts/ptdump.py build/lib.linux-i686-3.5/tables/scripts/pt2to3.py build/lib.linux-i686-3.5/tables/scripts/__init__.py build/lib.linux-i686-3.5/tables/nodes/filenode.py build/lib.linux-i686-3.5/tables/nodes/__init__.py build/lib.linux-i686-3.5/tables/misc/proxydict.py build/lib.linux-i686-3.5/tables/misc/enum.py build/lib.linux-i686-3.5/tables/misc/__init__.py build/lib.linux-i686-3.5/tables/nodes/tests/test_filenode.py build/lib.linux-i686-3.5/tables/nodes/tests/__init__.py /usr/lib/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match. return _compile(pattern, flags).split(string, maxsplit) warning: tables/utilsextension.pyx:796:12: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. warning: tables/utilsextension.pyx:796:22: Non-trivial type declarators in shared declaration (e.g. mix of pointers and values). Each pointer declaration should be on its own line. Can't parse build/lib.linux-i686-3.5/tables/description.py: ParseError: bad input: type=22, value='=', context=('', (922, 56)) Can't parse build/lib.linux-i686-3.5/tables/tests/test_tree.py: ParseError: bad input: type=22, value='=', context=('', (521, 49)) Can't parse build/lib.linux-i686-3.5/tables/tests/test_tables.py: ParseError: bad input: type=22, value='=', context=('', (571, 53)) Can't parse build/lib.linux-i686-3.5/tables/tests/test_numpy.py: ParseError: bad input: type=22, value='=', context=('', (53, 43)) Can't parse build/lib.linux-i686-3.5/tables/tests/test_array.py: ParseError: bad input: type=22, value='=', context=('', (39, 21)) Can't parse build/lib.linux-i686-3.5/tables/tests/common.py: ParseError: bad input: type=22, value='=', context=('', (152, 25)) Can't parse build/lib.linux-i686-3.5/tables/tests/check_leaks.py: ParseError: bad input: type=22, value='=', context=('', (36, 52)) Fixing build/lib.linux-i686-3.5/tables/vlarray.py build/lib.linux-i686-3.5/tables/utils.py build/lib.linux-i686-3.5/tables/unimplemented.py build/lib.linux-i686-3.5/tables/undoredo.py build/lib.linux-i686-3.5/tables/table.py build/lib.linux-i686-3.5/tables/req_versions.py build/lib.linux-i686-3.5/tables/registry.py build/lib.linux-i686-3.5/tables/path.py build/lib.linux-i686-3.5/tables/parameters.py build/lib.linux-i686-3.5/tables/node.py build/lib.linux-i686-3.5/tables/link.py build/lib.linux-i686-3.5/tables/leaf.py build/lib.linux-i686-3.5/tables/indexes.py build/lib.linux-i686-3.5/tables/index.py build/lib.linux-i686-3.5/tables/idxutils.py build/lib.linux-i686-3.5/tables/group.py build/lib.linux-i686-3.5/tables/flavor.py build/lib.linux-i686-3.5/tables/filters.py build/lib.linux-i686-3.5/tables/file.py build/lib.linux-i686-3.5/tables/expression.py build/lib.linux-i686-3.5/tables/exceptions.py build/lib.linux-i686-3.5/tables/earray.py build/lib.linux-i686-3.5/tables/description.py build/lib.linux-i686-3.5/tables/conditions.py build/lib.linux-i686-3.5/tables/carray.py build/lib.linux-i686-3.5/tables/attributeset.py build/lib.linux-i686-3.5/tables/atom.py build/lib.linux-i686-3.5/tables/array.py build/lib.linux-i686-3.5/tables/__init__.py build/lib.linux-i686-3.5/tables/tests/test_vlarray.py build/lib.linux-i686-3.5/tables/tests/test_types.py build/lib.linux-i686-3.5/tables/tests/test_tree.py build/lib.linux-i686-3.5/tables/tests/test_timetype.py build/lib.linux-i686-3.5/tables/tests/test_tablesMD.py build/lib.linux-i686-3.5/tables/tests/test_tables.py build/lib.linux-i686-3.5/tables/tests/test_queries.py build/lib.linux-i686-3.5/tables/tests/test_numpy.py build/lib.linux-i686-3.5/tables/tests/test_nestedtypes.py build/lib.linux-i686-3.5/tables/tests/test_lists.py build/lib.linux-i686-3.5/tables/tests/test_links.py build/lib.linux-i686-3.5/tables/tests/test_indexvalues.py build/lib.linux-i686-3.5/tables/tests/test_indexes.py build/lib.linux-i686-3.5/tables/tests/test_index_backcompat.py build/lib.linux-i686-3.5/tables/tests/test_hdf5compat.py build/lib.linux-i686-3.5/tables/tests/test_garbage.py build/lib.linux-i686-3.5/tables/tests/test_expression.py build/lib.linux-i686-3.5/tables/tests/test_enum.py build/lib.linux-i686-3.5/tables/tests/test_earray.py build/lib.linux-i686-3.5/tables/tests/test_do_undo.py build/lib.linux-i686-3.5/tables/tests/test_create.py build/lib.linux-i686-3.5/tables/tests/test_carray.py build/lib.linux-i686-3.5/tables/tests/test_basics.py build/lib.linux-i686-3.5/tables/tests/test_backcompat.py build/lib.linux-i686-3.5/tables/tests/test_aux.py build/lib.linux-i686-3.5/tables/tests/test_attributes.py build/lib.linux-i686-3.5/tables/tests/test_array.py build/lib.linux-i686-3.5/tables/tests/test_all.py build/lib.linux-i686-3.5/tables/tests/create_backcompat_indexes.py build/lib.linux-i686-3.5/tables/tests/common.py build/lib.linux-i686-3.5/tables/tests/check_leaks.py build/lib.linux-i686-3.5/tables/tests/__init__.py build/lib.linux-i686-3.5/tables/scripts/pttree.py build/lib.linux-i686-3.5/tables/scripts/ptrepack.py build/lib.linux-i686-3.5/tables/scripts/ptdump.py build/lib.linux-i686-3.5/tables/scripts/pt2to3.py build/lib.linux-i686-3.5/tables/scripts/__init__.py build/lib.linux-i686-3.5/tables/nodes/filenode.py build/lib.linux-i686-3.5/tables/nodes/__init__.py build/lib.linux-i686-3.5/tables/misc/proxydict.py build/lib.linux-i686-3.5/tables/misc/enum.py build/lib.linux-i686-3.5/tables/misc/__init__.py build/lib.linux-i686-3.5/tables/nodes/tests/test_filenode.py build/lib.linux-i686-3.5/tables/nodes/tests/__init__.py running build_ext building 'tables.utilsextension' extension creating build/temp.linux-i686-3.5 creating build/temp.linux-i686-3.5/tables creating build/temp.linux-i686-3.5/src creating build/temp.linux-i686-3.5/c-blosc creating build/temp.linux-i686-3.5/c-blosc/hdf5 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/utilsextension.c -o build/temp.linux-i686-3.5/tables/utilsextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from tables/utilsextension.c:445: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ tables/utilsextension.c: In function '__pyx_pf_6tables_14utilsextension_16_dump_h5_backtrace': tables/utilsextension.c:4209:57: warning: passing argument 3 of 'H5Ewalk2' from incompatible pointer type [-Wincompatible-pointer-types] __pyx_t_2 = ((H5Ewalk(H5E_DEFAULT, H5E_WALK_DOWNWARD, __pyx_f_6tables_14utilsextension_e_walk_cb, ((void *)__pyx_v_bt)) < 0) != 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/hdf5-seq/include/hdf5.h:28:0, from tables/utilsextension.c:447: /usr/lib/hdf5-seq/include/H5Epublic.h:171:15: note: expected 'H5E_walk2_t {aka int (*)(unsigned int, const struct H5E_error2_t *, void *)}' but argument is of type 'herr_t (*)(unsigned int, H5E_error2_t *, void *) {aka int (*)(unsigned int, struct H5E_error2_t *, void *)}' H5_DLL herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, ^~~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/utils.c -o build/temp.linux-i686-3.5/src/utils.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ARRAY.c -o build/temp.linux-i686-3.5/src/H5ARRAY.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5ARRAY.c:4: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ATTR.c -o build/temp.linux-i686-3.5/src/H5ATTR.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c c-blosc/hdf5/blosc_filter.c -o build/temp.linux-i686-3.5/c-blosc/hdf5/blosc_filter.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 c-blosc/hdf5/blosc_filter.c: In function 'blosc_filter': c-blosc/hdf5/blosc_filter.c:180:10: warning: unused variable 'errmsg' [-Wunused-variable] char errmsg[256]; ^~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/utilsextension.o build/temp.linux-i686-3.5/src/utils.o build/temp.linux-i686-3.5/src/H5ARRAY.o build/temp.linux-i686-3.5/src/H5ATTR.o build/temp.linux-i686-3.5/c-blosc/hdf5/blosc_filter.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -o build/lib.linux-i686-3.5/tables/utilsextension.cpython-35m.so building 'tables.hdf5extension' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/hdf5extension.c -o build/temp.linux-i686-3.5/tables/hdf5extension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from tables/hdf5extension.c:444: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/utils.c -o build/temp.linux-i686-3.5/src/utils.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/typeconv.c -o build/temp.linux-i686-3.5/src/typeconv.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ARRAY.c -o build/temp.linux-i686-3.5/src/H5ARRAY.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5ARRAY.c:4: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ARRAY-opt.c -o build/temp.linux-i686-3.5/src/H5ARRAY-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5VLARRAY.c -o build/temp.linux-i686-3.5/src/H5VLARRAY.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/H5VLARRAY.c:3: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ATTR.c -o build/temp.linux-i686-3.5/src/H5ATTR.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c c-blosc/hdf5/blosc_filter.c -o build/temp.linux-i686-3.5/c-blosc/hdf5/blosc_filter.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 c-blosc/hdf5/blosc_filter.c: In function 'blosc_filter': c-blosc/hdf5/blosc_filter.c:180:10: warning: unused variable 'errmsg' [-Wunused-variable] char errmsg[256]; ^~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/hdf5extension.o build/temp.linux-i686-3.5/src/utils.o build/temp.linux-i686-3.5/src/typeconv.o build/temp.linux-i686-3.5/src/H5ARRAY.o build/temp.linux-i686-3.5/src/H5ARRAY-opt.o build/temp.linux-i686-3.5/src/H5VLARRAY.o build/temp.linux-i686-3.5/src/H5ATTR.o build/temp.linux-i686-3.5/c-blosc/hdf5/blosc_filter.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lm -o build/lib.linux-i686-3.5/tables/hdf5extension.cpython-35m.so building 'tables.tableextension' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/tableextension.c -o build/temp.linux-i686-3.5/tables/tableextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from tables/tableextension.c:445: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/utils.c -o build/temp.linux-i686-3.5/src/utils.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/utils.h:2, from src/utils.c:2: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/typeconv.c -o build/temp.linux-i686-3.5/src/typeconv.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5TB-opt.c -o build/temp.linux-i686-3.5/src/H5TB-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ATTR.c -o build/temp.linux-i686-3.5/src/H5ATTR.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c c-blosc/hdf5/blosc_filter.c -o build/temp.linux-i686-3.5/c-blosc/hdf5/blosc_filter.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 c-blosc/hdf5/blosc_filter.c: In function 'blosc_filter': c-blosc/hdf5/blosc_filter.c:180:10: warning: unused variable 'errmsg' [-Wunused-variable] char errmsg[256]; ^~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/tableextension.o build/temp.linux-i686-3.5/src/utils.o build/temp.linux-i686-3.5/src/typeconv.o build/temp.linux-i686-3.5/src/H5TB-opt.o build/temp.linux-i686-3.5/src/H5ATTR.o build/temp.linux-i686-3.5/c-blosc/hdf5/blosc_filter.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lm -o build/lib.linux-i686-3.5/tables/tableextension.cpython-35m.so building 'tables._comp_lzo' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/_comp_lzo.c -o build/temp.linux-i686-3.5/tables/_comp_lzo.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5Zlzo.c -o build/temp.linux-i686-3.5/src/H5Zlzo.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/_comp_lzo.o build/temp.linux-i686-3.5/src/H5Zlzo.o -L/usr/lib/hdf5-seq/lib -lhdf5 -llzo2 -o build/lib.linux-i686-3.5/tables/_comp_lzo.cpython-35m.so building 'tables._comp_bzip2' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/_comp_bzip2.c -o build/temp.linux-i686-3.5/tables/_comp_bzip2.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5Zbzip2.c -o build/temp.linux-i686-3.5/src/H5Zbzip2.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/_comp_bzip2.o build/temp.linux-i686-3.5/src/H5Zbzip2.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lbz2 -o build/lib.linux-i686-3.5/tables/_comp_bzip2.cpython-35m.so building 'tables.linkextension' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/linkextension.c -o build/temp.linux-i686-3.5/tables/linkextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from tables/linkextension.c:444: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/linkextension.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -ldl -lm -o build/lib.linux-i686-3.5/tables/linkextension.cpython-35m.so building 'tables.lrucacheextension' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/lrucacheextension.c -o build/temp.linux-i686-3.5/tables/lrucacheextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from tables/lrucacheextension.c:444: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/lrucacheextension.o -L/usr/lib/hdf5-seq/lib -o build/lib.linux-i686-3.5/tables/lrucacheextension.cpython-35m.so building 'tables.indexesextension' extension i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c tables/indexesextension.c -o build/temp.linux-i686-3.5/tables/indexesextension.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from tables/indexesextension.c:444: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/H5ARRAY-opt.c -o build/temp.linux-i686-3.5/src/H5ARRAY-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 i586-alt-linux-gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -fPIC -g -DDEBUG=1 -DHAVE_LZO2_LIB=1 -DHAVE_BZ2_LIB=1 -DHAVE_BLOSC_LIB=1 -Ic-blosc/hdf5 -I/usr/lib/hdf5-seq/include -I/usr/lib/python3/site-packages/numpy/core/include -I/usr/include/python3.5m -c src/idx-opt.c -o build/temp.linux-i686-3.5/src/idx-opt.o -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -Isrc -DH5Acreate_vers=2 -DH5Aiterate_vers=2 -DH5Dcreate_vers=2 -DH5Dopen_vers=2 -DH5Eclear_vers=2 -DH5Eprint_vers=2 -DH5Epush_vers=2 -DH5Eset_auto_vers=2 -DH5Eget_auto_vers=2 -DH5Ewalk_vers=2 -DH5E_auto_t_vers=2 -DH5Gcreate_vers=2 -DH5Gopen_vers=2 -DH5Pget_filter_vers=2 -DH5Pget_filter_by_id_vers=2 -DH5Tarray_create_vers=2 -DH5Tget_array_dims_vers=2 -DH5Z_class_t_vers=2 In file included from /usr/include/numpy/ndarraytypes.h:1781:0, from /usr/include/numpy/ndarrayobject.h:18, from /usr/include/numpy/arrayobject.h:4, from src/idx-opt.h:2, from src/idx-opt.c:2: /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^~~~~~~ i586-alt-linux-gcc -pthread -shared -pipe -Wall -g -O2 -march=i586 -mtune=generic -fno-strict-aliasing -g build/temp.linux-i686-3.5/tables/indexesextension.o build/temp.linux-i686-3.5/src/H5ARRAY-opt.o build/temp.linux-i686-3.5/src/idx-opt.o -L/usr/lib/hdf5-seq/lib -lhdf5 -lpthread -lblosc -o build/lib.linux-i686-3.5/tables/indexesextension.cpython-35m.so + popd ~/RPM/BUILD/pytables-3.2.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.45168 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/pytables-buildroot + : + /bin/rm -rf -- /usr/src/tmp/pytables-buildroot + cd pytables-3.2.2 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/pytables-3.2.2 + python3 setup.py install --skip-build --root=/usr/src/tmp/pytables-buildroot --force --hdf5=/usr/lib/hdf5-seq --root=/usr/src/tmp/pytables-buildroot * Using Python 3.5.1 (default, May 5 2016, 10:50:42) * USE_PKGCONFIG: True * pkg-config header dirs for HDF5: /usr/lib/hdf5-seq/include * Found HDF5 headers at ``/usr/lib/hdf5-seq/include``, library at ``/usr/lib/hdf5-seq/lib``. * Found LZO 2 headers at ``/usr/include``, library at ``/usr/lib``. * Skipping detection of LZO 1 since LZO 2 has already been found. * Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``. * Found blosc headers at ``/usr/include``, library at ``/usr/lib``. running install running install_lib creating /usr/src/tmp/pytables-buildroot creating /usr/src/tmp/pytables-buildroot/usr creating /usr/src/tmp/pytables-buildroot/usr/lib creating /usr/src/tmp/pytables-buildroot/usr/lib/python3 creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/indexesextension.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/lrucacheextension.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/linkextension.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/_comp_bzip2.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/_comp_lzo.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/tableextension.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/hdf5extension.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/utilsextension.cpython-35m.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc copying build/lib.linux-i686-3.5/tables/misc/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc copying build/lib.linux-i686-3.5/tables/misc/enum.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc copying build/lib.linux-i686-3.5/tables/misc/proxydict.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests copying build/lib.linux-i686-3.5/tables/nodes/tests/test_filenode_v1.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests copying build/lib.linux-i686-3.5/tables/nodes/tests/test_filenode.xbm -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests copying build/lib.linux-i686-3.5/tables/nodes/tests/test_filenode.dat -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests copying build/lib.linux-i686-3.5/tables/nodes/tests/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests copying build/lib.linux-i686-3.5/tables/nodes/tests/test_filenode.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests copying build/lib.linux-i686-3.5/tables/nodes/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes copying build/lib.linux-i686-3.5/tables/nodes/filenode.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts copying build/lib.linux-i686-3.5/tables/scripts/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts copying build/lib.linux-i686-3.5/tables/scripts/pt2to3.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts copying build/lib.linux-i686-3.5/tables/scripts/ptdump.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts copying build/lib.linux-i686-3.5/tables/scripts/ptrepack.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts copying build/lib.linux-i686-3.5/tables/scripts/pttree.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts creating /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/matlab_file.mat -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/Tables_lzo1.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/Tables_lzo1_shuffle.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/Tables_lzo2.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/Tables_lzo2_shuffle.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/array_mdatom.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/attr-u16.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/blosc_bigendian.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/bug-idx.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/elink.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/elink2.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/ex-noattr.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/flavored_vlarrays-format1.6.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/float.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/idx-std-1.x.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/indexes_2_0.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/indexes_2_1.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/issue_368.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/nested-type-with-gaps.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/non-chunked-table.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/oldflavor_numeric.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/python2.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/python3.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/scalar.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/slink.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_SDSextendible.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_compound_chunked.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_enum.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_f64be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_f64le.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_i32be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_i32le.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_i64be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_i64le.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/smpl_unsupptype.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_szip.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/time-table-vlarray-1_x.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/times-nested-be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/vlstr_attr.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/vlunicode_endian.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/zerodim-attrs-1.3.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/zerodim-attrs-1.4.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/check_leaks.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/common.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/create_backcompat_indexes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_all.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_array.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_attributes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_aux.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_backcompat.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_basics.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_carray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_create.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_do_undo.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_earray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_enum.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_expression.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_garbage.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_hdf5compat.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_index_backcompat.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_indexes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_indexvalues.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_links.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_lists.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_nestedtypes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_numpy.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_queries.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_tables.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_tablesMD.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_timetype.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_tree.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_types.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/tests/test_vlarray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests copying build/lib.linux-i686-3.5/tables/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/array.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/atom.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/attributeset.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/carray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/conditions.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/description.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/earray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/exceptions.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/expression.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/file.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/filters.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/flavor.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/group.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/idxutils.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/index.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/indexes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/leaf.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/link.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/node.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/parameters.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/path.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/registry.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/req_versions.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/table.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/undoredo.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/unimplemented.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/utils.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables copying build/lib.linux-i686-3.5/tables/vlarray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc/enum.py to enum.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/misc/proxydict.py to proxydict.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/tests/test_filenode.py to test_filenode.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/nodes/filenode.py to filenode.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts/pt2to3.py to pt2to3.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts/ptdump.py to ptdump.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts/ptrepack.py to ptrepack.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/scripts/pttree.py to pttree.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/check_leaks.py to check_leaks.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/common.py to common.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/create_backcompat_indexes.py to create_backcompat_indexes.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_all.py to test_all.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_array.py to test_array.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_attributes.py to test_attributes.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_aux.py to test_aux.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_backcompat.py to test_backcompat.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_basics.py to test_basics.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_carray.py to test_carray.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_create.py to test_create.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_do_undo.py to test_do_undo.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_earray.py to test_earray.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_enum.py to test_enum.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_expression.py to test_expression.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_garbage.py to test_garbage.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_hdf5compat.py to test_hdf5compat.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_index_backcompat.py to test_index_backcompat.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_indexes.py to test_indexes.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_indexvalues.py to test_indexvalues.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_links.py to test_links.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_lists.py to test_lists.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_nestedtypes.py to test_nestedtypes.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_numpy.py to test_numpy.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_queries.py to test_queries.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_tables.py to test_tables.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_tablesMD.py to test_tablesMD.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_timetype.py to test_timetype.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_tree.py to test_tree.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_types.py to test_types.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/tests/test_vlarray.py to test_vlarray.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/array.py to array.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/atom.py to atom.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/attributeset.py to attributeset.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/carray.py to carray.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/conditions.py to conditions.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/description.py to description.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/earray.py to earray.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/exceptions.py to exceptions.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/expression.py to expression.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/file.py to file.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/filters.py to filters.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/flavor.py to flavor.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/group.py to group.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/idxutils.py to idxutils.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/index.py to index.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/indexes.py to indexes.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/leaf.py to leaf.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/link.py to link.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/node.py to node.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/parameters.py to parameters.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/path.py to path.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/registry.py to registry.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/req_versions.py to req_versions.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/table.py to table.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/undoredo.py to undoredo.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/unimplemented.py to unimplemented.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/utils.py to utils.cpython-35.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/vlarray.py to vlarray.cpython-35.pyc running install_egg_info running egg_info creating tables.egg-info writing requirements to tables.egg-info/requires.txt writing entry points to tables.egg-info/entry_points.txt writing top-level names to tables.egg-info/top_level.txt writing dependency_links to tables.egg-info/dependency_links.txt writing tables.egg-info/PKG-INFO writing manifest file 'tables.egg-info/SOURCES.txt' reading manifest file 'tables.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' /usr/lib/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match. return _compile(pattern, flags).split(string, maxsplit) warning: no files found matching '*.txt' under directory 'doc/html' warning: no files found matching '*.svg' under directory 'doc/html' warning: no files found matching '*.gif' under directory 'doc/html' warning: no files found matching '*.inv' under directory 'doc/html' warning: no previously-included files matching '*' found under directory 'doc/build' warning: no files found matching '*.h5' under directory 'bench' writing manifest file 'tables.egg-info/SOURCES.txt' Copying tables.egg-info to /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables-3.2.2.dev0-py3.5.egg-info running install_scripts Installing pttree script to /usr/src/tmp/pytables-buildroot/usr/bin Installing ptdump script to /usr/src/tmp/pytables-buildroot/usr/bin Installing ptrepack script to /usr/src/tmp/pytables-buildroot/usr/bin Installing pt2to3 script to /usr/src/tmp/pytables-buildroot/usr/bin + cp -fR examples /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/ + cp -fR bench contrib /usr/src/tmp/pytables-buildroot/usr/lib/python3/site-packages/tables/ + popd ~/RPM/BUILD/pytables-3.2.2 + pushd /usr/src/tmp/pytables-buildroot/usr/bin ~/tmp/pytables-buildroot/usr/bin ~/RPM/BUILD/pytables-3.2.2 ++ ls + for i in '$(ls)' + mv pt2to3 pt2to3.py3 + for i in '$(ls)' + mv ptdump ptdump.py3 + for i in '$(ls)' + mv ptrepack ptrepack.py3 + for i in '$(ls)' + mv pttree pttree.py3 + popd ~/RPM/BUILD/pytables-3.2.2 + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/pytables-buildroot --force --hdf5=/usr/lib/hdf5-seq --root=/usr/src/tmp/pytables-buildroot * Using Python 2.7.11 (default, Apr 15 2016, 13:08:39) * USE_PKGCONFIG: True * pkg-config header dirs for HDF5: /usr/lib/hdf5-seq/include * Found HDF5 headers at ``/usr/lib/hdf5-seq/include``, library at ``/usr/lib/hdf5-seq/lib``. * Found LZO 2 headers at ``/usr/include``, library at ``/usr/lib``. * Skipping detection of LZO 1 since LZO 2 has already been found. * Found bzip2 headers at ``/usr/include``, library at ``/usr/lib``. * Found blosc headers at ``/usr/include``, library at ``/usr/lib``. running install running install_lib creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7 creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/indexesextension.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/lrucacheextension.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/linkextension.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/_comp_bzip2.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/_comp_lzo.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/tableextension.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/hdf5extension.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/utilsextension.so -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc copying build/lib.linux-i686-2.7/tables/misc/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc copying build/lib.linux-i686-2.7/tables/misc/enum.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc copying build/lib.linux-i686-2.7/tables/misc/proxydict.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests copying build/lib.linux-i686-2.7/tables/nodes/tests/test_filenode_v1.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests copying build/lib.linux-i686-2.7/tables/nodes/tests/test_filenode.xbm -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests copying build/lib.linux-i686-2.7/tables/nodes/tests/test_filenode.dat -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests copying build/lib.linux-i686-2.7/tables/nodes/tests/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests copying build/lib.linux-i686-2.7/tables/nodes/tests/test_filenode.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests copying build/lib.linux-i686-2.7/tables/nodes/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes copying build/lib.linux-i686-2.7/tables/nodes/filenode.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts copying build/lib.linux-i686-2.7/tables/scripts/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts copying build/lib.linux-i686-2.7/tables/scripts/pt2to3.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts copying build/lib.linux-i686-2.7/tables/scripts/ptdump.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts copying build/lib.linux-i686-2.7/tables/scripts/ptrepack.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts copying build/lib.linux-i686-2.7/tables/scripts/pttree.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts creating /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/matlab_file.mat -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/Table2_1_lzo_nrv2e_shuffle.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/Tables_lzo1.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/Tables_lzo1_shuffle.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/Tables_lzo2.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/Tables_lzo2_shuffle.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/array_mdatom.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/attr-u16.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/blosc_bigendian.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/bug-idx.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/elink.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/elink2.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/ex-noattr.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/flavored_vlarrays-format1.6.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/float.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/idx-std-1.x.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/indexes_2_0.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/indexes_2_1.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/issue_368.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/nested-type-with-gaps.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/non-chunked-table.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/oldflavor_numeric.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/python2.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/python3.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/scalar.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/slink.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_SDSextendible.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_compound_chunked.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_enum.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_f64be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_f64le.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_i32be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_i32le.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_i64be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_i64le.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/smpl_unsupptype.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_szip.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/time-table-vlarray-1_x.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/times-nested-be.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/vlstr_attr.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/vlunicode_endian.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/zerodim-attrs-1.3.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/zerodim-attrs-1.4.h5 -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/check_leaks.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/common.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/create_backcompat_indexes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_all.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_array.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_attributes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_aux.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_backcompat.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_basics.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_carray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_create.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_do_undo.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_earray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_enum.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_expression.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_garbage.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_hdf5compat.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_index_backcompat.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_indexes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_indexvalues.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_links.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_lists.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_nestedtypes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_numpy.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_queries.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_tables.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_tablesMD.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_timetype.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_tree.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_types.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/tests/test_vlarray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests copying build/lib.linux-i686-2.7/tables/__init__.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/array.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/atom.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/attributeset.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/carray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/conditions.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/description.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/earray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/exceptions.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/expression.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/file.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/filters.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/flavor.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/group.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/idxutils.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/index.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/indexes.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/leaf.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/link.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/node.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/parameters.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/path.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/registry.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/req_versions.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/table.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/undoredo.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/unimplemented.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/utils.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables copying build/lib.linux-i686-2.7/tables/vlarray.py -> /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc/enum.py to enum.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/misc/proxydict.py to proxydict.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/tests/test_filenode.py to test_filenode.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/nodes/filenode.py to filenode.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts/pt2to3.py to pt2to3.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts/ptdump.py to ptdump.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts/ptrepack.py to ptrepack.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/scripts/pttree.py to pttree.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/check_leaks.py to check_leaks.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/common.py to common.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/create_backcompat_indexes.py to create_backcompat_indexes.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_all.py to test_all.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_array.py to test_array.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_attributes.py to test_attributes.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_aux.py to test_aux.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_backcompat.py to test_backcompat.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_basics.py to test_basics.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_carray.py to test_carray.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_create.py to test_create.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_do_undo.py to test_do_undo.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_earray.py to test_earray.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_enum.py to test_enum.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_expression.py to test_expression.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_garbage.py to test_garbage.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_hdf5compat.py to test_hdf5compat.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_index_backcompat.py to test_index_backcompat.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_indexes.py to test_indexes.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_indexvalues.py to test_indexvalues.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_links.py to test_links.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_lists.py to test_lists.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_nestedtypes.py to test_nestedtypes.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_numpy.py to test_numpy.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_queries.py to test_queries.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_tables.py to test_tables.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_tablesMD.py to test_tablesMD.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_timetype.py to test_timetype.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_tree.py to test_tree.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_types.py to test_types.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/tests/test_vlarray.py to test_vlarray.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/array.py to array.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/atom.py to atom.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/attributeset.py to attributeset.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/carray.py to carray.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/conditions.py to conditions.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/description.py to description.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/earray.py to earray.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/expression.py to expression.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/file.py to file.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/filters.py to filters.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/flavor.py to flavor.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/group.py to group.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/idxutils.py to idxutils.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/index.py to index.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/indexes.py to indexes.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/leaf.py to leaf.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/link.py to link.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/node.py to node.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/parameters.py to parameters.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/path.py to path.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/registry.py to registry.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/req_versions.py to req_versions.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/table.py to table.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/undoredo.py to undoredo.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/unimplemented.py to unimplemented.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/utils.py to utils.pyc byte-compiling /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables/vlarray.py to vlarray.pyc running install_egg_info running egg_info creating tables.egg-info writing requirements to tables.egg-info/requires.txt writing tables.egg-info/PKG-INFO writing top-level names to tables.egg-info/top_level.txt writing dependency_links to tables.egg-info/dependency_links.txt writing entry points to tables.egg-info/entry_points.txt writing manifest file 'tables.egg-info/SOURCES.txt' reading manifest file 'tables.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'doc/html' warning: no files found matching '*.svg' under directory 'doc/html' warning: no files found matching '*.gif' under directory 'doc/html' warning: no files found matching '*.inv' under directory 'doc/html' warning: no previously-included files matching '*' found under directory 'doc/build' warning: no files found matching '*.h5' under directory 'bench' writing manifest file 'tables.egg-info/SOURCES.txt' Copying tables.egg-info to /usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages/tables-3.2.2.dev0-py2.7.egg-info running install_scripts Installing ptdump script to /usr/src/tmp/pytables-buildroot/usr/bin Installing ptrepack script to /usr/src/tmp/pytables-buildroot/usr/bin Installing pt2to3 script to /usr/src/tmp/pytables-buildroot/usr/bin Installing pttree script to /usr/src/tmp/pytables-buildroot/usr/bin + export PYTHONPATH=/usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages + PYTHONPATH=/usr/src/tmp/pytables-buildroot/usr/lib/python2.7/site-packages + '[' -n '' ']' + NPROCS=1 + make -j1 -C doc pickle make: Entering directory `/usr/src/RPM/BUILD/pytables-3.2.2/doc' sphinx-build -b pickle -d build/doctrees source build/pickle Running Sphinx v1.4.1 making output directory... WARNING: sphinx.ext.pngmath has been deprecated. Please use sphinx.ext.imgmath instead. loading pickled environment... not yet created building [mo]: targets for 0 po files that are out of date building [pickle]: targets for 72 source files that are out of date updating environment: 72 added, 0 changed, 0 removed reading sources... [ 1%] FAQ reading sources... [ 2%] MIGRATING_TO_2.x reading sources... [ 4%] MIGRATING_TO_3.x reading sources... [ 5%] cookbook/custom_data_types reading sources... [ 6%] cookbook/hints_for_sql_users reading sources... [ 8%] cookbook/index reading sources... [ 9%] cookbook/inmemory_hdf5_files reading sources... [ 11%] cookbook/no_root_install reading sources... [ 12%] cookbook/py2exe_howto reading sources... [ 13%] cookbook/simple_table reading sources... [ 15%] cookbook/tailoring_atexit_hooks reading sources... [ 16%] cookbook/threading reading sources... [ 18%] dev_team reading sources... [ 19%] development reading sources... [ 20%] downloads reading sources... [ 22%] index reading sources... [ 23%] irclogs reading sources... [ 25%] other_material reading sources... [ 26%] project_pointers reading sources... [ 27%] release-notes/RELEASE_NOTES_v0.7.1 reading sources... [ 29%] release-notes/RELEASE_NOTES_v0.7.2 reading sources... [ 30%] release-notes/RELEASE_NOTES_v0.8 reading sources... [ 31%] release-notes/RELEASE_NOTES_v0.9 reading sources... [ 33%] release-notes/RELEASE_NOTES_v0.9.1 reading sources... [ 34%] release-notes/RELEASE_NOTES_v1.0 reading sources... [ 36%] release-notes/RELEASE_NOTES_v1.1 reading sources... [ 37%] release-notes/RELEASE_NOTES_v1.1.1 reading sources... [ 38%] release-notes/RELEASE_NOTES_v1.2 reading sources... [ 40%] release-notes/RELEASE_NOTES_v1.2.1 reading sources... [ 41%] release-notes/RELEASE_NOTES_v1.2.2 reading sources... [ 43%] release-notes/RELEASE_NOTES_v1.2.3 reading sources... [ 44%] release-notes/RELEASE_NOTES_v1.3 reading sources... [ 45%] release-notes/RELEASE_NOTES_v1.3.1 reading sources... [ 47%] release-notes/RELEASE_NOTES_v1.3.2 reading sources... [ 48%] release-notes/RELEASE_NOTES_v1.3.3 reading sources... [ 50%] release-notes/RELEASE_NOTES_v1.4 reading sources... [ 51%] release-notes/RELEASE_NOTES_v2.0.x reading sources... [ 52%] release-notes/RELEASE_NOTES_v2.0.x-pro reading sources... [ 54%] release-notes/RELEASE_NOTES_v2.1.x reading sources... [ 55%] release-notes/RELEASE_NOTES_v2.1.x-pro reading sources... [ 56%] release-notes/RELEASE_NOTES_v2.2.x reading sources... [ 58%] release-notes/RELEASE_NOTES_v2.2.x-pro reading sources... [ 59%] release-notes/RELEASE_NOTES_v2.3.x reading sources... [ 61%] release-notes/RELEASE_NOTES_v2.4.x reading sources... [ 62%] release-notes/RELEASE_NOTES_v3.0.x reading sources... [ 63%] release-notes/RELEASE_NOTES_v3.1.x reading sources... [ 65%] release-notes/RELEASE_NOTES_v3.2.x reading sources... [ 66%] release_notes reading sources... [ 68%] usersguide/bibliography reading sources... [ 69%] usersguide/condition_syntax reading sources... [ 70%] usersguide/datatypes reading sources... [ 72%] usersguide/file_format reading sources... [ 73%] usersguide/filenode reading sources... [ 75%] usersguide/index reading sources... [ 76%] usersguide/installation reading sources... [ 77%] usersguide/introduction reading sources... [ 79%] usersguide/libref reading sources... [ 80%] usersguide/libref/declarative_classes reading sources... [ 81%] usersguide/libref/expr_class reading sources... [ 83%] usersguide/libref/file_class reading sources... [ 84%] usersguide/libref/filenode_classes reading sources... [ 86%] usersguide/libref/helper_classes reading sources... [ 87%] usersguide/libref/hierarchy_classes reading sources... [ 88%] usersguide/libref/homogenous_storage reading sources... [ 90%] usersguide/libref/link_classes reading sources... [ 91%] usersguide/libref/structured_storage reading sources... [ 93%] usersguide/libref/top_level reading sources... [ 94%] usersguide/optimization reading sources... [ 95%] usersguide/parameter_files reading sources... [ 97%] usersguide/tutorials reading sources... [ 98%] usersguide/usersguide reading sources... [100%] usersguide/utilities looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 1%] FAQ writing output... [ 2%] MIGRATING_TO_2.x writing output... [ 4%] MIGRATING_TO_3.x writing output... [ 5%] cookbook/custom_data_types writing output... [ 6%] cookbook/hints_for_sql_users writing output... [ 8%] cookbook/index writing output... [ 9%] cookbook/inmemory_hdf5_files writing output... [ 11%] cookbook/no_root_install writing output... [ 12%] cookbook/py2exe_howto writing output... [ 13%] cookbook/simple_table writing output... [ 15%] cookbook/tailoring_atexit_hooks writing output... [ 16%] cookbook/threading writing output... [ 18%] dev_team writing output... [ 19%] development writing output... [ 20%] downloads writing output... [ 22%] index writing output... [ 23%] irclogs writing output... [ 25%] other_material writing output... [ 26%] project_pointers writing output... [ 27%] release-notes/RELEASE_NOTES_v0.7.1 writing output... [ 29%] release-notes/RELEASE_NOTES_v0.7.2 writing output... [ 30%] release-notes/RELEASE_NOTES_v0.8 writing output... [ 31%] release-notes/RELEASE_NOTES_v0.9 writing output... [ 33%] release-notes/RELEASE_NOTES_v0.9.1 writing output... [ 34%] release-notes/RELEASE_NOTES_v1.0 writing output... [ 36%] release-notes/RELEASE_NOTES_v1.1 writing output... [ 37%] release-notes/RELEASE_NOTES_v1.1.1 writing output... [ 38%] release-notes/RELEASE_NOTES_v1.2 writing output... [ 40%] release-notes/RELEASE_NOTES_v1.2.1 writing output... [ 41%] release-notes/RELEASE_NOTES_v1.2.2 writing output... [ 43%] release-notes/RELEASE_NOTES_v1.2.3 writing output... [ 44%] release-notes/RELEASE_NOTES_v1.3 writing output... [ 45%] release-notes/RELEASE_NOTES_v1.3.1 writing output... [ 47%] release-notes/RELEASE_NOTES_v1.3.2 writing output... [ 48%] release-notes/RELEASE_NOTES_v1.3.3 writing output... [ 50%] release-notes/RELEASE_NOTES_v1.4 writing output... [ 51%] release-notes/RELEASE_NOTES_v2.0.x writing output... [ 52%] release-notes/RELEASE_NOTES_v2.0.x-pro writing output... [ 54%] release-notes/RELEASE_NOTES_v2.1.x writing output... [ 55%] release-notes/RELEASE_NOTES_v2.1.x-pro writing output... [ 56%] release-notes/RELEASE_NOTES_v2.2.x writing output... [ 58%] release-notes/RELEASE_NOTES_v2.2.x-pro writing output... [ 59%] release-notes/RELEASE_NOTES_v2.3.x writing output... [ 61%] release-notes/RELEASE_NOTES_v2.4.x writing output... [ 62%] release-notes/RELEASE_NOTES_v3.0.x writing output... [ 63%] release-notes/RELEASE_NOTES_v3.1.x writing output... [ 65%] release-notes/RELEASE_NOTES_v3.2.x writing output... [ 66%] release_notes writing output... [ 68%] usersguide/bibliography writing output... [ 69%] usersguide/condition_syntax writing output... [ 70%] usersguide/datatypes writing output... [ 72%] usersguide/file_format writing output... [ 73%] usersguide/filenode writing output... [ 75%] usersguide/index writing output... [ 76%] usersguide/installation writing output... [ 77%] usersguide/introduction Exception occurred: File "/usr/lib/python2.7/site-packages/docutils/writers/_html_base.py", line 671, in depart_document assert not self.context, 'len(context) = %s' % len(self.context) AssertionError: len(context) = 1 The full traceback has been saved in /usr/src/tmp/sphinx-err-p6Jih6.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at . Thanks! make: *** [pickle] Error 1 make: Leaving directory `/usr/src/RPM/BUILD/pytables-3.2.2/doc' error: Bad exit status from /usr/src/tmp/rpm-tmp.45168 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.45168 (%install) Command exited with non-zero status 1 301.92user 8.11system 5:06.01elapsed 101%CPU (0avgtext+0avgdata 157456maxresident)k 0inputs+0outputs (0major+992435minor)pagefaults 0swaps hsh-rebuild: rebuild of `pytables-3.2.2-alt1.dev0.git20150828.1.src.rpm' failed. Command exited with non-zero status 1 363.25user 20.26system 6:20.59elapsed 100%CPU (0avgtext+0avgdata 157456maxresident)k 47288inputs+0outputs (0major+1786691minor)pagefaults 0swaps