<86>Apr 14 01:30:17 userdel[85706]: delete user 'rooter' <86>Apr 14 01:30:17 userdel[85706]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:30:17 userdel[85706]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:30:17 groupadd[85730]: group added to /etc/group: name=rooter, GID=627 <86>Apr 14 01:30:17 groupadd[85730]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:30:17 groupadd[85730]: new group: name=rooter, GID=627 <86>Apr 14 01:30:17 useradd[85746]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Apr 14 01:30:17 userdel[85795]: delete user 'builder' <86>Apr 14 01:30:17 userdel[85795]: removed group 'builder' owned by 'builder' <86>Apr 14 01:30:17 userdel[85795]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:30:17 groupadd[85821]: group added to /etc/group: name=builder, GID=628 <86>Apr 14 01:30:17 groupadd[85821]: group added to /etc/gshadow: name=builder <86>Apr 14 01:30:17 groupadd[85821]: new group: name=builder, GID=628 <86>Apr 14 01:30:17 useradd[85834]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Apr 14 01:30:27 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:30:27 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:30:27 rpmi: libyaml2-0.1.6-alt1 1397147705 installed <13>Apr 14 01:30:27 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:30:27 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:30:27 rpmi: python-module-ndg-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:30:27 rpmi: python-module-enum34-1.0.4-alt1.1.1 1457942288 installed <13>Apr 14 01:30:27 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:30:28 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:30:28 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:28 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:30:28 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:30:28 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:30:28 rpmi: python-module-pytest-pythonpath-0.3-alt1.git20140208.1 1458085376 installed <13>Apr 14 01:30:28 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:30:28 groupadd[121376]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:30:28 groupadd[121376]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:30:28 groupadd[121376]: new group: name=_keytab, GID=499 <13>Apr 14 01:30:28 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Apr 14 01:30:28 groupadd[121721]: group added to /etc/group: name=sasl, GID=498 <86>Apr 14 01:30:28 groupadd[121721]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:30:28 groupadd[121721]: new group: name=sasl, GID=498 <13>Apr 14 01:30:28 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:30:28 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:30:28 rpmi: libpq5.11-11.2-alt0.M80P.1 p8+221524.600.1.1 1550205370 installed <13>Apr 14 01:30:29 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:30:29 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:30:29 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:29 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:30:29 rpmi: python-module-rlcompleter2-0.98-alt1 1408347464 installed <13>Apr 14 01:30:29 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:30:29 rpmi: python3-module-argcomplete-0.8.3-alt1.git20141109.1.1 1457887253 installed <13>Apr 14 01:30:29 rpmi: python3-module-bottle-0.13-alt1.dev.git20141002.1.1 1457892498 installed <13>Apr 14 01:30:29 rpmi: python3-module-bson-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:30:29 rpmi: python3-module-pymongo-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:30:29 rpmi: python3-module-psycopg2-2.7-alt1.dev0.git20150602.1.1 1459598065 installed <13>Apr 14 01:30:29 rpmi: python3-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:30:30 rpmi: python3-module-django-1.8.18-alt0.M80P.1 1497919276 installed <13>Apr 14 01:30:30 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:30:30 rpmi: python3-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:30:31 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-pythonpath-0.3-alt1.git20140208.1 1458085376 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-random-0.02-alt2.git20130421.1 1458085509 installed <13>Apr 14 01:30:31 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:30:31 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:30:31 rpmi: python3-module-yieldfrom-0.1.2-alt4.git20141229 1461857760 installed <13>Apr 14 01:30:31 rpmi: python3-module-coverage-4.0-alt1.a7.git20150730.1.1 1459584383 installed <13>Apr 14 01:30:31 rpmi: python3-module-cov-core-1.15.0-alt1.git20141122.1 1457911023 installed <13>Apr 14 01:30:31 rpmi: python3-module-yieldfrom.http-0.1.2-alt2.git20150311 1461873106 installed <13>Apr 14 01:30:31 rpmi: python3-module-yieldfrom.http.client-0.1.2-alt2.git20150311 1461873106 installed <13>Apr 14 01:30:31 rpmi: python3-module-yieldfrom.urllib3-0.1.2-alt4.git20141229 1461857760 installed <13>Apr 14 01:30:31 rpmi: python3-module-yieldfrom.requests-0.1.1-alt1.git20141019.1 1458117679 installed <13>Apr 14 01:30:31 rpmi: python3-module-servicemanager-0.0.16-alt1.git20141007.1 1458106067 installed <13>Apr 14 01:30:31 rpmi: python3-module-execnet-1.2.0-alt1.1.1 1457943031 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-cache-1.0-alt1.hg20140304.1.1 1458078881 installed <13>Apr 14 01:30:31 rpmi: python3-tools-pep8-1.6.2-alt1.1.1 1460077570 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-pep8-1.0.6-alt1.hg20140427.1 1458085279 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-cov-2.1.0-alt1.git20150823.1.1 1458079141 installed <13>Apr 14 01:30:31 rpmi: python3-module-pytest-django-2.8.0-alt2.git20150303.1 1458084714 installed <13>Apr 14 01:30:31 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:31 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-modules-json-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:30:32 rpmi: python-module-six-1.10.0-alt7 1496087616 installed <13>Apr 14 01:30:32 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-module-chardet-3.0.4-alt1 1506613818 installed <13>Apr 14 01:30:32 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-module-bson-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:30:32 rpmi: python-module-pymongo-3.0.3-alt1.1.1 1459599114 installed <13>Apr 14 01:30:32 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-strict-2.7.11-alt6.M80P.1 1527682534 installed <13>Apr 14 01:30:32 rpmi: python-module-idna-2.5-alt0.M80P.1 1501735172 installed <13>Apr 14 01:30:32 rpmi: python-module-pycparser-2.14-alt1.1 1458071180 installed <13>Apr 14 01:30:32 rpmi: python-module-cffi-1.10.0-alt0.M80P.1 1501702481 installed <13>Apr 14 01:30:32 rpmi: python-module-asn1crypto-0.22.0-alt0.M80P.1 1501735102 installed <13>Apr 14 01:30:32 rpmi: python-module-psycopg2-2.7-alt1.dev0.git20150602.1.1 1459598065 installed <13>Apr 14 01:30:32 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-module-ipaddress-1.0.18-alt0.M80P.1 1525452992 installed <13>Apr 14 01:30:32 rpmi: python-module-cryptography-2.0.0-alt0.M80P.1 1501702598 installed <13>Apr 14 01:30:32 rpmi: python-module-OpenSSL-16.2.0-alt0.M80P.1 1505402609 installed <13>Apr 14 01:30:32 rpmi: python-module-argcomplete-0.8.3-alt1.git20141109.1.1 1457887253 installed <13>Apr 14 01:30:32 rpmi: python-module-backports-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:30:32 rpmi: python-module-backports.ssl_match_hostname-3.5.0.1-alt0.M80P.1 1525453027 installed <13>Apr 14 01:30:32 rpmi: python-module-bottle-0.13-alt1.dev.git20141002.1.1 1457892498 installed <13>Apr 14 01:30:32 rpmi: python-modules-wsgiref-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:30:32 rpmi: python-module-yaml-3.11-alt1.hg20141128.1 1459664840 installed <13>Apr 14 01:30:32 rpmi: python-module-pytest-random-0.02-alt2.git20130421.1 1458085509 installed <13>Apr 14 01:30:32 rpmi: python-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:30:32 rpmi: python-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:30:32 rpmi: python-module-coverage-4.0-alt1.a7.git20150730.1.1 1459584383 installed <13>Apr 14 01:30:32 rpmi: python-module-cov-core-1.15.0-alt1.git20141122.1 1457911023 installed <13>Apr 14 01:30:33 rpmi: python-module-django-1.8.18-alt0.M80P.1 1497919276 installed <13>Apr 14 01:30:33 rpmi: python-module-ndg-httpsclient-0.4.0-alt2.1.1 1460404734 installed <13>Apr 14 01:30:33 rpmi: python-module-ntlm-1.1.0-alt1.1.1.1 1460405346 installed <13>Apr 14 01:30:33 rpmi: python-module-urllib3-2:1.21.1-alt1 1506613994 installed <13>Apr 14 01:30:33 rpmi: python-module-requests-2.18.4-alt1 1506613877 installed <13>Apr 14 01:30:33 rpmi: python-module-servicemanager-0.0.16-alt1.git20141007.1 1458106067 installed <13>Apr 14 01:30:33 rpmi: python-module-execnet-1.2.0-alt1.1.1 1457943031 installed <13>Apr 14 01:30:33 rpmi: python-module-pytest-cache-1.0-alt1.hg20140304.1.1 1458078881 installed <13>Apr 14 01:30:33 rpmi: python-tools-pep8-1.6.2-alt1.1.1 1460077570 installed <13>Apr 14 01:30:33 rpmi: python-module-pytest-cov-2.1.0-alt1.git20150823.1.1 1458079141 installed <13>Apr 14 01:30:33 rpmi: python-module-pytest-django-2.8.0-alt2.git20150303.1 1458084714 installed <13>Apr 14 01:30:33 rpmi: python-module-pytest-pep8-1.0.6-alt1.hg20140427.1 1458085279 installed Installing python-module-pytest-config-0.0.11-alt1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.81414 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-pytest-config-0.0.11 + echo 'Source #0 (python-module-pytest-config-0.0.11.tar):' Source #0 (python-module-pytest-config-0.0.11.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-pytest-config-0.0.11.tar + cd python-module-pytest-config-0.0.11 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../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: No changes to ../python3/setup.py RefactoringTool: Refactored ../python3/pytest_config/pretty.py RefactoringTool: Refactored ../python3/pytest_config/plugin.py RefactoringTool: No changes to ../python3/pytest_config/logger.py RefactoringTool: No changes to ../python3/pytest_config/fixtures.py RefactoringTool: Refactored ../python3/pytest_config/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/pytest_config/pretty.py RefactoringTool: ../python3/pytest_config/plugin.py RefactoringTool: ../python3/pytest_config/logger.py RefactoringTool: ../python3/pytest_config/fixtures.py RefactoringTool: ../python3/pytest_config/__init__.py --- ../python3/pytest_config/pretty.py (original) +++ ../python3/pytest_config/pretty.py (refactored) @@ -5,22 +5,22 @@ GREEN = 32 YELLOW = 33 -CHECK_MARK = u'\u2713' +CHECK_MARK = '\u2713' def colorize_text(text, color=SYSTEM, bold=False): base_text = '\033[{bold};{color}m{text}\033[0m' - if isinstance(text, unicode): - base_text = unicode(base_text) + if isinstance(text, str): + base_text = str(base_text) color = (color, 1)[bold and color == SYSTEM] return base_text.format(bold=int(bold), color=color, text=text) def print_color(args, color=SYSTEM, bold=False, new_line=True): for arg in args: - print colorize_text(arg, color=color, bold=bold), + print(colorize_text(arg, color=color, bold=bold), end=' ') if new_line: - print '\n', + print('\n', end=' ') sys.stdout.flush() --- ../python3/pytest_config/plugin.py (original) +++ ../python3/pytest_config/plugin.py (refactored) @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -from __future__ import absolute_import -import ConfigParser + +import configparser import inspect import os import sys @@ -82,7 +82,7 @@ pretty.print_error(error.read()) sys.exit(0) - config = ConfigParser.ConfigParser() + config = configparser.ConfigParser() with open(os.path.join(PROJECT_ROOT, 'pytest.ini')) as current_config: config.readfp(current_config) # A pytest_config section is required in pytest.ini --- ../python3/pytest_config/__init__.py (original) +++ ../python3/pytest_config/__init__.py (refactored) @@ -1,6 +1,6 @@ __version__ = '0.0.11' -import ConfigParser +import configparser import os from . import pretty @@ -11,7 +11,7 @@ def update_confg_version(template_paths, name): - pytestini = ConfigParser.ConfigParser() + pytestini = configparser.ConfigParser() try: with open(template_paths['pytest.ini']['dest']) as current: pytestini.readfp(current) @@ -24,4 +24,4 @@ raise SystemExit(1) with open(template_paths['pytest.ini']['dest'], 'w') as current: pytestini.write(current) - print '[pytest_config] Updated version of', name, 'to', __version__ + print('[pytest_config] Updated version of', name, 'to', __version__) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.40724 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pytest-config-0.0.11 + export LC_ALL=en_US.UTF-8 + LC_ALL=en_US.UTF-8 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/pytest_config copying pytest_config/views.py -> build/lib/pytest_config copying pytest_config/pretty.py -> build/lib/pytest_config copying pytest_config/plugin.py -> build/lib/pytest_config copying pytest_config/models.py -> build/lib/pytest_config copying pytest_config/logger.py -> build/lib/pytest_config copying pytest_config/fixtures.py -> build/lib/pytest_config copying pytest_config/__init__.py -> build/lib/pytest_config running egg_info writing requirements to pytest_config.egg-info/requires.txt writing pytest_config.egg-info/PKG-INFO writing top-level names to pytest_config.egg-info/top_level.txt writing dependency_links to pytest_config.egg-info/dependency_links.txt writing entry points to pytest_config.egg-info/entry_points.txt reading manifest file 'pytest_config.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' warning: no previously-included files matching '*.*' found under directory 'tests' warning: no files found matching '*.py' under directory 'pytest_config/_templates' writing manifest file 'pytest_config.egg-info/SOURCES.txt' creating build/lib/pytest_config/_templates copying pytest_config/_templates/config_section_not_found.txt -> build/lib/pytest_config/_templates copying pytest_config/_templates/outdated_conf_file.txt -> build/lib/pytest_config/_templates running build_scripts creating build/scripts-2.7 copying and adjusting scripts/pytest_config.init -> build/scripts-2.7 copying and adjusting scripts/pytest_config.update -> build/scripts-2.7 changing mode of build/scripts-2.7/pytest_config.init from 644 to 755 changing mode of build/scripts-2.7/pytest_config.update from 644 to 755 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pytest-config-0.0.11 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/pytest_config copying pytest_config/views.py -> build/lib/pytest_config copying pytest_config/pretty.py -> build/lib/pytest_config copying pytest_config/plugin.py -> build/lib/pytest_config copying pytest_config/models.py -> build/lib/pytest_config copying pytest_config/logger.py -> build/lib/pytest_config copying pytest_config/fixtures.py -> build/lib/pytest_config copying pytest_config/__init__.py -> build/lib/pytest_config running egg_info writing pytest_config.egg-info/PKG-INFO writing entry points to pytest_config.egg-info/entry_points.txt writing top-level names to pytest_config.egg-info/top_level.txt writing dependency_links to pytest_config.egg-info/dependency_links.txt writing requirements to pytest_config.egg-info/requires.txt reading manifest file 'pytest_config.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' warning: no previously-included files matching '*.*' found under directory 'tests' warning: no files found matching '*.py' under directory 'pytest_config/_templates' writing manifest file 'pytest_config.egg-info/SOURCES.txt' creating build/lib/pytest_config/_templates copying pytest_config/_templates/config_section_not_found.txt -> build/lib/pytest_config/_templates copying pytest_config/_templates/outdated_conf_file.txt -> build/lib/pytest_config/_templates running build_scripts creating build/scripts-3.5 copying and adjusting scripts/pytest_config.init -> build/scripts-3.5 copying and adjusting scripts/pytest_config.update -> build/scripts-3.5 changing mode of build/scripts-3.5/pytest_config.init from 644 to 755 changing mode of build/scripts-3.5/pytest_config.update from 644 to 755 + popd ~/RPM/BUILD/python-module-pytest-config-0.0.11 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.40724 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-pytest-config-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-pytest-config-buildroot + cd python-module-pytest-config-0.0.11 + export LC_ALL=en_US.UTF-8 + LC_ALL=en_US.UTF-8 + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pytest-config-0.0.11 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-pytest-config-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-pytest-config-buildroot creating /usr/src/tmp/python-module-pytest-config-buildroot/usr creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/_templates copying build/lib/pytest_config/_templates/outdated_conf_file.txt -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/_templates copying build/lib/pytest_config/_templates/config_section_not_found.txt -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/_templates copying build/lib/pytest_config/__init__.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config copying build/lib/pytest_config/fixtures.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config copying build/lib/pytest_config/logger.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config copying build/lib/pytest_config/models.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config copying build/lib/pytest_config/plugin.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config copying build/lib/pytest_config/pretty.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config copying build/lib/pytest_config/views.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__init__.py to __init__.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py to fixtures.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/logger.py to logger.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/models.py to models.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py to plugin.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/pretty.py to pretty.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/views.py to views.cpython-35.pyc running install_data creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/src creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config/templates copying data/coveragerc -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config/templates copying data/pytest.ini -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config/templates running install_egg_info running egg_info writing top-level names to pytest_config.egg-info/top_level.txt writing pytest_config.egg-info/PKG-INFO writing requirements to pytest_config.egg-info/requires.txt writing dependency_links to pytest_config.egg-info/dependency_links.txt writing entry points to pytest_config.egg-info/entry_points.txt reading manifest file 'pytest_config.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' warning: no previously-included files matching '*.*' found under directory 'tests' warning: no files found matching '*.py' under directory 'pytest_config/_templates' writing manifest file 'pytest_config.egg-info/SOURCES.txt' Copying pytest_config.egg-info to /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info running install_scripts creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin copying build/scripts-3.5/pytest_config.update -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin copying build/scripts-3.5/pytest_config.init -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin/pytest_config.update to 755 changing mode of /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin/pytest_config.init to 755 + popd ~/RPM/BUILD/python-module-pytest-config-0.0.11 + pushd /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin ~/tmp/python-module-pytest-config-buildroot/usr/bin ~/RPM/BUILD/python-module-pytest-config-0.0.11 ++ ls + for i in '$(ls)' + 2to3 -w -n pytest_config.init RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored pytest_config.init RefactoringTool: Files that were modified: RefactoringTool: pytest_config.init --- pytest_config.init (original) +++ pytest_config.init (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/python3 import argparse -import ConfigParser +import configparser import os from pytest_config import update_confg_version, pretty @@ -38,9 +38,9 @@ # Initializer functions ############################################################################### def create_from_template(tpl_name): - print 'Installing', tpl_name, '\b...', + print('Installing', tpl_name, '\b...', end=' ') try: - config = ConfigParser.ConfigParser() + config = configparser.ConfigParser() with open(TEMPLATE_PATHS[tpl_name]['src'], 'r') as tpl: config.readfp(tpl) with open(TEMPLATE_PATHS[tpl_name]['dest'], 'w') as tpl: + mv pytest_config.init pytest_config.init.py3 + for i in '$(ls)' + 2to3 -w -n pytest_config.update RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: Refactored pytest_config.update RefactoringTool: Files that were modified: RefactoringTool: pytest_config.update --- pytest_config.update (original) +++ pytest_config.update (refactored) @@ -1,6 +1,6 @@ #!/usr/bin/python3 import argparse -import ConfigParser +import configparser import os from pytest_config import ( @@ -73,7 +73,7 @@ """ # Read the default configurations template - default_config = ConfigParser.ConfigParser() + default_config = configparser.ConfigParser() try: with open(TEMPLATE_PATHS[template]['src']) as defaults: default_config.readfp(defaults) @@ -84,7 +84,7 @@ raise SystemExit(1) # Read the current configurations file - current_config = ConfigParser.ConfigParser() + current_config = configparser.ConfigParser() try: with open(TEMPLATE_PATHS[template]['dest']) as current: current_config.readfp(current) @@ -122,7 +122,7 @@ # Section up-to-date, move to the next pretty.print_success(' [UP TO DATE]\n', new_line=False) continue - print # just print a new line, for prettyfying the output + print() # just print a new line, for prettyfying the output for name, default in default_config.items(section): # ask if they want to keep it or use the default @@ -131,13 +131,13 @@ # @TODO: Read and compare multiple values in the same line # and ask whether to keep/replace individual differences. pretty.print_color(['*%s:' % name], bold=True) - print pretty.colorize_text(' default: %s' % default, - color=pretty.RED) - print pretty.colorize_text( + print(pretty.colorize_text(' default: %s' % default, + color=pretty.RED)) + print(pretty.colorize_text( ' current: %s' % current_config.get(section, name), - color=pretty.GREEN) + color=pretty.GREEN)) prompt_msg = ' Keep the current value? [y/n] (default=n) > ' - keep_current = raw_input(prompt_msg).lower() + keep_current = input(prompt_msg).lower() if keep_current == 'y': continue current_config.set(section, name, default) + mv pytest_config.update pytest_config.update.py3 + popd ~/RPM/BUILD/python-module-pytest-config-0.0.11 + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-pytest-config-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config creating /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/_templates copying build/lib/pytest_config/_templates/outdated_conf_file.txt -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/_templates copying build/lib/pytest_config/_templates/config_section_not_found.txt -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/_templates copying build/lib/pytest_config/__init__.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config copying build/lib/pytest_config/fixtures.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config copying build/lib/pytest_config/logger.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config copying build/lib/pytest_config/models.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config copying build/lib/pytest_config/plugin.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config copying build/lib/pytest_config/pretty.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config copying build/lib/pytest_config/views.py -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py to fixtures.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/logger.py to logger.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/models.py to models.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py to plugin.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/pretty.py to pretty.pyc byte-compiling /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/views.py to views.pyc running install_data copying data/coveragerc -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config/templates copying data/pytest.ini -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config/templates running install_egg_info running egg_info writing requirements to pytest_config.egg-info/requires.txt writing pytest_config.egg-info/PKG-INFO writing top-level names to pytest_config.egg-info/top_level.txt writing dependency_links to pytest_config.egg-info/dependency_links.txt writing entry points to pytest_config.egg-info/entry_points.txt reading manifest file 'pytest_config.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' warning: no previously-included files matching '*.*' found under directory 'tests' warning: no files found matching '*.py' under directory 'pytest_config/_templates' writing manifest file 'pytest_config.egg-info/SOURCES.txt' Copying pytest_config.egg-info to /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config-0.0.11-py2.7.egg-info running install_scripts copying build/scripts-2.7/pytest_config.update -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin copying build/scripts-2.7/pytest_config.init -> /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin changing mode of /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin/pytest_config.update to 755 changing mode of /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin/pytest_config.init to 755 + install -d /usr/src/tmp/python-module-pytest-config-buildroot/etc + mv /usr/src/tmp/python-module-pytest-config-buildroot/usr/src/.pytest_config /usr/src/tmp/python-module-pytest-config-buildroot/etc/pytest_config + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-pytest-config-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-pytest-config-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-pytest-config-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-pytest-config-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-pytest-config-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-pytest-config-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/__init__.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/logger.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/models.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/pretty.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/views.pyc compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/__init__.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/logger.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/models.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/pretty.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/views.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-pytest-config-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/__init__.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/logger.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/models.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/pretty.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/views.py Bytecompiling python3 modules in /usr/src/tmp/python-module-pytest-config-buildroot using python3 unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-35.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-35.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.pyc unlink /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.pyc compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__init__.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/logger.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/models.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/pretty.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/views.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-pytest-config-buildroot using python3 -O compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__init__.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/logger.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/models.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/pretty.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/views.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-pytest-config-buildroot using python3 -OO compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__init__.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/logger.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/models.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/pretty.py compile /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/views.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.pyc' './usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/pytest_config/views.pyo' => './usr/lib/python2.7/site-packages/pytest_config/views.pyc' './usr/lib/python2.7/site-packages/pytest_config/pretty.pyo' => './usr/lib/python2.7/site-packages/pytest_config/pretty.pyc' './usr/lib/python2.7/site-packages/pytest_config/plugin.pyo' => './usr/lib/python2.7/site-packages/pytest_config/plugin.pyc' './usr/lib/python2.7/site-packages/pytest_config/models.pyo' => './usr/lib/python2.7/site-packages/pytest_config/models.pyc' './usr/lib/python2.7/site-packages/pytest_config/logger.pyo' => './usr/lib/python2.7/site-packages/pytest_config/logger.pyc' './usr/lib/python2.7/site-packages/pytest_config/fixtures.pyo' => './usr/lib/python2.7/site-packages/pytest_config/fixtures.pyc' './usr/lib/python2.7/site-packages/pytest_config/__init__.pyo' => './usr/lib/python2.7/site-packages/pytest_config/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.2288 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pytest-config-0.0.11 + export LC_ALL=en_US.UTF-8 + LC_ALL=en_US.UTF-8 + python setup.py test running test running egg_info deleting pytest_config.egg-info/requires.txt writing pytest_config.egg-info/PKG-INFO writing top-level names to pytest_config.egg-info/top_level.txt writing dependency_links to pytest_config.egg-info/dependency_links.txt writing entry points to pytest_config.egg-info/entry_points.txt reading manifest file 'pytest_config.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' warning: no previously-included files matching '*.*' found under directory 'tests' warning: no files found matching '*.py' under directory 'pytest_config/_templates' writing manifest file 'pytest_config.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-pytest-config-0.0.11 + python3 setup.py test running test running egg_info writing pytest_config.egg-info/PKG-INFO writing entry points to pytest_config.egg-info/entry_points.txt deleting pytest_config.egg-info/requires.txt writing dependency_links to pytest_config.egg-info/dependency_links.txt writing top-level names to pytest_config.egg-info/top_level.txt reading manifest file 'pytest_config.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.md' warning: no previously-included files matching '*.*' found under directory 'tests' warning: no files found matching '*.py' under directory 'pytest_config/_templates' writing manifest file 'pytest_config.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + popd ~/RPM/BUILD/python-module-pytest-config-0.0.11 + exit 0 Processing files: python-module-pytest-config-0.0.11-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.591 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pytest-config-0.0.11 + DOCDIR=/usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python-module-pytest-config-0.0.11 + export DOCDIR + rm -rf /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python-module-pytest-config-0.0.11 + /bin/mkdir -p /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python-module-pytest-config-0.0.11 + cp -prL README.rst /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python-module-pytest-config-0.0.11 + chmod -R go-w /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python-module-pytest-config-0.0.11 + chmod -R a+rX /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python-module-pytest-config-0.0.11 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0VQw9Z find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h2Ibrx find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin/pytest_config.init: hiding pytest_config, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/bin/pytest_config.update: hiding pytest_config, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=14 IGNORE (for REQ=slight and deep=9) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=21 IGNORE (for REQ=slight and deep=9) module=pytz /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=28 IGNORE (for REQ=slight and deep=9) module=json /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=39 IGNORE (for REQ=slight and deep=13) module=mock /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/fixtures.py: line=52 IGNORE (for REQ=slight and deep=13) module=model_mommy python.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/logger.py: skipping sys python.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py: skipping sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py: line=11 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py: line=119 IGNORE (for REQ=slight and deep=9) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/plugin.py: line=228 IGNORE (for REQ=slight and deep=8) module=_pytest python.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python2.7/site-packages/pytest_config/pretty.py: skipping sys Provides: python2.7(pytest_config), python2.7(pytest_config.fixtures), python2.7(pytest_config.logger), python2.7(pytest_config.models), python2.7(pytest_config.plugin), python2.7(pytest_config.pretty), python2.7(pytest_config.views) Requires: pytest-config-common = 0.0.11-alt1.1, /usr/bin/python, /usr/lib/python2.7/site-packages, python-modules, python2.7(django), python2.7(inspect), python2.7(logging), python2.7(pytest) Processing files: python3-module-pytest-config-0.0.11-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.33946 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-pytest-config-0.0.11 + DOCDIR=/usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python3-module-pytest-config-0.0.11 + export DOCDIR + rm -rf /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python3-module-pytest-config-0.0.11 + /bin/mkdir -p /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python3-module-pytest-config-0.0.11 + cp -prL README.rst /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python3-module-pytest-config-0.0.11 + chmod -R go-w /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python3-module-pytest-config-0.0.11 + chmod -R a+rX /usr/src/tmp/python-module-pytest-config-buildroot/usr/share/doc/python3-module-pytest-config-0.0.11 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.c5ElZ8 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1CqmLN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/__init__.py: line=5 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=1 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=2 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=14 IGNORE (for REQ=slight and deep=9) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=21 IGNORE (for REQ=slight and deep=9) module=pytz /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=28 IGNORE (for REQ=slight and deep=9) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=39 IGNORE (for REQ=slight and deep=13) module=mock /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/fixtures.py: line=52 IGNORE (for REQ=slight and deep=13) module=model_mommy python3.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/logger.py: skipping sys python3.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py: line=11 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py: line=17 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py: line=119 IGNORE (for REQ=slight and deep=9) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/plugin.py: line=228 IGNORE (for REQ=slight and deep=8) module=_pytest python3.req: /usr/src/tmp/python-module-pytest-config-buildroot/usr/lib/python3/site-packages/pytest_config/pretty.py: skipping sys Provides: python3(pytest_config), python3.3(pytest_config), python3(pytest_config.fixtures), python3(pytest_config.logger), python3(pytest_config.models), python3(pytest_config.plugin), python3(pytest_config.pretty), python3(pytest_config.views), python3.3(pytest_config.fixtures), python3.3(pytest_config.logger), python3.3(pytest_config.models), python3.3(pytest_config.plugin), python3.3(pytest_config.pretty), python3.3(pytest_config.views) Requires: pytest-config-common = 0.0.11-alt1.1, /usr/bin/python3, /usr/lib/python3/site-packages, python3(argparse) < 0, python3(configparser) < 0, python3(django) < 0, python3(inspect) < 0, python3(logging) < 0, python3(os) < 0, python3(pytest) < 0, python3(socket) < 0, python3(warnings) < 0 Processing files: pytest-config-common-0.0.11-alt1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ImifIy find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xaWQbn find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) Wrote: /usr/src/RPM/RPMS/noarch/python-module-pytest-config-0.0.11-alt1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-pytest-config-0.0.11-alt1.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/pytest-config-common-0.0.11-alt1.1.noarch.rpm 6.91user 1.20system 0:15.29elapsed 53%CPU (0avgtext+0avgdata 32280maxresident)k 0inputs+0outputs (0major+315639minor)pagefaults 0swaps 21.78user 6.23system 0:38.02elapsed 73%CPU (0avgtext+0avgdata 122080maxresident)k 232inputs+0outputs (0major+611246minor)pagefaults 0swaps --- python3-module-pytest-config-0.0.11-alt1.1.noarch.rpm.repo 2016-03-15 21:58:16.000000000 +0000 +++ python3-module-pytest-config-0.0.11-alt1.1.noarch.rpm.hasher 2019-04-14 01:30:52.674057220 +0000 @@ -3,24 +3,33 @@ /usr/lib/python3/site-packages/pytest_config 40755 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info 40755 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/entry_points.txt 100644 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.3.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info 40755 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/entry_points.txt 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/pytest_config-0.0.11-py3.5.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/pytest_config/__init__.py 100644 /usr/lib/python3/site-packages/pytest_config/__pycache__ 40755 -/usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/fixtures.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/logger.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/models.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/plugin.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/pretty.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/pytest_config/__pycache__/views.cpython-35.pyc 100644 /usr/lib/python3/site-packages/pytest_config/_templates 40755 @@ -39,11 +48,11 @@ Requires: /usr/lib/python3/site-packages -Requires: python3.3(argparse) -Requires: python3.3(configparser) -Requires: python3.3(django) -Requires: python3.3(inspect) -Requires: python3.3(logging) -Requires: python3.3(os) -Requires: python3.3(pytest) -Requires: python3.3(socket) -Requires: python3.3(warnings) +Requires: python3(argparse) < 0 +Requires: python3(configparser) < 0 +Requires: python3(django) < 0 +Requires: python3(inspect) < 0 +Requires: python3(logging) < 0 +Requires: python3(os) < 0 +Requires: python3(pytest) < 0 +Requires: python3(socket) < 0 +Requires: python3(warnings) < 0 Requires: rpmlib(PayloadIsLzma)