<86>Sep 20 08:52:43 userdel[24918]: delete user 'rooter' <86>Sep 20 08:52:43 userdel[24918]: removed group 'rooter' owned by 'rooter' <86>Sep 20 08:52:43 userdel[24918]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 20 08:52:43 groupadd[24930]: group added to /etc/group: name=rooter, GID=567 <86>Sep 20 08:52:43 groupadd[24930]: group added to /etc/gshadow: name=rooter <86>Sep 20 08:52:43 groupadd[24930]: new group: name=rooter, GID=567 <86>Sep 20 08:52:44 useradd[24939]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Sep 20 08:52:44 userdel[24954]: delete user 'builder' <86>Sep 20 08:52:44 userdel[24954]: removed group 'builder' owned by 'builder' <86>Sep 20 08:52:44 userdel[24954]: removed shadow group 'builder' owned by 'builder' <86>Sep 20 08:52:44 groupadd[24963]: group added to /etc/group: name=builder, GID=568 <86>Sep 20 08:52:44 groupadd[24963]: group added to /etc/gshadow: name=builder <86>Sep 20 08:52:44 groupadd[24963]: new group: name=builder, GID=568 <86>Sep 20 08:52:44 useradd[24967]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Sep 20 08:52:48 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Sep 20 08:52:48 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Sep 20 08:52:48 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Sep 20 08:52:48 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282372 installed <13>Sep 20 08:52:48 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 20 08:52:48 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Sep 20 08:52:48 rpmi: ca-certificates-2019.09.10-alt1 sisyphus+237323.300.1.1 1568103476 installed <13>Sep 20 08:52:48 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Sep 20 08:52:48 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Sep 20 08:52:48 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Sep 20 08:52:48 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Sep 20 08:52:48 rpmi: python3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 20 08:52:48 rpmi: libpython3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 20 08:52:49 rpmi: python3-base-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 20 08:52:49 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Sep 20 08:52:49 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Sep 20 08:52:54 rpmi: libsqlite3-3.29.0-alt1 sisyphus+237138.100.1.1 1567626477 installed <13>Sep 20 08:52:54 rpmi: libgeos-3.7.2-alt1 sisyphus+228903.40.3.1 1557079771 installed <13>Sep 20 08:52:54 rpmi: python3-module-shapely-1.5.17-alt1.post1.1.1.1.1 sisyphus+231908.2200.2.1 1560338702 installed <13>Sep 20 08:52:54 rpmi: python3-modules-sqlite3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 20 08:52:54 rpmi: python3-module-SQLAlchemy-1.3.8-alt1 sisyphus+237031.100.1.1 1567432479 installed <13>Sep 20 08:52:54 rpmi: python3-module-wcwidth-0.1.7-alt2.1 sisyphus+227536.2000.1.2 1555963469 installed <13>Sep 20 08:52:54 rpmi: python3-module-pkg_resources-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 20 08:52:54 rpmi: python3-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Sep 20 08:52:55 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Sep 20 08:52:55 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Sep 20 08:52:55 rpmi: python3-module-more-itertools-7.0.0-alt3 sisyphus+226536.100.1.1 1554329928 installed <13>Sep 20 08:52:55 rpmi: python3-module-iniconfig-1.0.0-alt2 sisyphus+235493.2400.6.1 1565442448 installed <13>Sep 20 08:52:55 rpmi: python3-module-zipp-0.5.0-alt1 sisyphus+229321.100.1.1 1557825329 installed <13>Sep 20 08:52:55 rpmi: python3-module-importlib_metadata-0.19-alt1 sisyphus+236024.100.1.1 1565719525 installed <13>Sep 20 08:52:55 rpmi: python3-module-pluggy-0.12.0-alt2 sisyphus+235493.3700.8.1 1565461986 installed <13>Sep 20 08:52:55 rpmi: python3-module-attrs-19.1.0-alt1 sisyphus+227473.2100.1.2 1555756986 installed <13>Sep 20 08:52:55 rpmi: python3-module-atomicwrites-1.3.0-alt2 sisyphus+235493.500.3.1 1565370463 installed <13>Sep 20 08:52:55 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>Sep 20 08:52:55 rpmi: python3-module-py-1.8.0-alt4 sisyphus+235493.3100.7.1 1565453944 installed <13>Sep 20 08:52:55 rpmi: pytz-zoneinfo-1:2016.10-alt1 1484291011 installed <13>Sep 20 08:52:55 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 20 08:52:55 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Sep 20 08:52:55 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Sep 20 08:52:55 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Sep 20 08:52:55 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Sep 20 08:52:55 groupadd[6850]: group added to /etc/group: name=_keytab, GID=499 <86>Sep 20 08:52:55 groupadd[6850]: group added to /etc/gshadow: name=_keytab <86>Sep 20 08:52:55 groupadd[6850]: new group: name=_keytab, GID=499 <13>Sep 20 08:52:55 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Sep 20 08:52:55 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Sep 20 08:52:55 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Sep 20 08:52:55 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:55 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:56 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:56 rpmi: python-strict-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Sep 20 08:52:56 rpmi: python-module-shapely-1.5.17-alt1.post1.1.1.1.1 sisyphus+231908.2200.2.1 1560338702 installed <13>Sep 20 08:52:56 rpmi: python-modules-sqlite3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:56 rpmi: python-module-SQLAlchemy-1.3.8-alt1 sisyphus+237031.100.1.1 1567432479 installed <13>Sep 20 08:52:56 rpmi: python-modules-json-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:56 rpmi: python-module-six-1.12.0-alt1 sisyphus+219665.100.2.1 1548148570 installed <13>Sep 20 08:52:56 rpmi: python-module-pkg_resources-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 20 08:52:56 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Sep 20 08:52:56 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Sep 20 08:52:56 rpmi: python-module-setuptools-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed <13>Sep 20 08:52:56 rpmi: python-module-dateutil-2.7.3-alt1 1534408281 installed <13>Sep 20 08:52:56 rpmi: python-module-geoalchemy2-0.4-alt1.1 sisyphus+228356.1000.3.3 1556645569 installed <13>Sep 20 08:52:56 rpmi: python-module-pysqlite2-2.8.3-alt1 1526055403 installed <13>Sep 20 08:52:56 rpmi: python3-module-pytest-5.1.2-alt1 sisyphus+237016.100.2.1 1567443543 installed <13>Sep 20 08:52:56 rpmi: python3-module-geoalchemy2-0.4-alt1.1 sisyphus+228356.1000.3.3 1556645569 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-sqlalchemy-batteries-0.4.5-alt1.git20150204.1.1.1.nosrc.rpm <13>Sep 20 08:53:00 rpmi: python3-dev-3.7.4-alt1 sisyphus+236519.100.1.1 1566575438 installed <13>Sep 20 08:53:00 rpmi: python3-module-setuptools-1:41.2.0-alt1 sisyphus+236601.100.1.1 1566806710 installed Installing python-module-sqlalchemy-batteries-0.4.5-alt1.git20150204.1.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.49527 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-sqlalchemy-batteries-0.4.5 + echo 'Source #0 (python-module-sqlalchemy-batteries-0.4.5.tar):' Source #0 (python-module-sqlalchemy-batteries-0.4.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-sqlalchemy-batteries-0.4.5.tar + cd python-module-sqlalchemy-batteries-0.4.5 + /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/batteries/util.py RefactoringTool: Refactored ../python3/batteries/tests/test_model.py --- ../python3/batteries/util.py (original) +++ ../python3/batteries/util.py (refactored) @@ -53,7 +53,7 @@ def prefixed_keys(d, prefix): - return dict([(k.replace(prefix, ''), v) for k, v in d.items() if k.startswith(prefix)]) + return dict([(k.replace(prefix, ''), v) for k, v in list(d.items()) if k.startswith(prefix)]) def parse_uri(s): @@ -63,14 +63,14 @@ def slugify(value, sep='-'): """https://code.djangoproject.com/browser/django/trunk/django/template/defaultfilters.py#L207""" - value = unicode(value) + value = str(value) value = unicodedata.normalize('NFKD', value).encode('ascii', 'ignore') - value = unicode(re.sub('[^\w\s-]', '', value).strip().lower()) + value = str(re.sub('[^\w\s-]', '', value).strip().lower()) return re.sub('[-\s]+', sep, value) def is_sequence(l, strings=False): - if not strings and isinstance(l, basestring): + if not strings and isinstance(l, str): return False return hasattr(l, '__getitem__') --- ../python3/batteries/tests/test_model.py (original) +++ ../python3/batteries/tests/test_model.py (refactored) @@ -75,11 +75,11 @@ self.session.close() def test_create_model(self): - m = MyModel(name=u'test') + m = MyModel(name='test') self.session.add(m) def test_fetch_model(self): - m = MyModel(key='foobar', name=u'Foo Bar') + m = MyModel(key='foobar', name='Foo Bar') self.session.add(m) self.session.flush() @@ -94,7 +94,7 @@ self.fail("Unexpected exception raised: {0!s}".format(e)) def test_hashable_key(self): - m = MyModel(name=u'test') + m = MyModel(name='test') self.session.add(m) self.session.flush() @@ -109,7 +109,7 @@ def test_recordable_timestamps(self): start = datetime.utcnow().replace(tzinfo=tzutc()) - m = MyModel(name=u'test') + m = MyModel(name='test') self.session.add(m) self.session.flush() @@ -119,7 +119,7 @@ assert m.mtime >= start def test_serializable(self): - m = MyModel(name=u'Foo Bar', number=3.14, string=None) + m = MyModel(name='Foo Bar', number=3.14, string=None) self.session.add(m) self.session.flush() @@ -127,14 +127,14 @@ s = m.serialize() assert 'key' in s - assert s['name'] == u'Foo Bar' + assert s['name'] == 'Foo Bar' assert s['number'] == 3.14 assert s['string'] == None assert s['mtime'] == int(m.mtime.strftime('%s')) assert s['ctime'] == int(m.ctime.strftime('%s')) def test_local_storage_field(self): - m = MyModel(name=u'storable') + m = MyModel(name='storable') resolver = AssetResolver() path = resolver.resolve('batteries.tests:fixtures/test_image.png') @@ -161,7 +161,7 @@ @skip("forget Loggable") def test_loggable(self): try: - m = MyModel(name=u"Foo Bar") + m = MyModel(name="Foo Bar") self.session.add(m) self.session.flush() except Exception: @@ -170,21 +170,21 @@ assert False, "Loggable inserted without a log message" start = datetime.utcnow().replace(tzinfo=tzutc()) - m = MyModel(name=u"Foo Bar") - m.log('info', __name__, u"test_loggable", u"{0!r}".format({'name': u"Foo Bar"})) + m = MyModel(name="Foo Bar") + m.log('info', __name__, "test_loggable", "{0!r}".format({'name': "Foo Bar"})) self.session.add(m) self.session.flush() end = datetime.utcnow().replace(tzinfo=tzutc()) assert len(m.log_messages) == 1 assert m.log_messages[0].qualifier == __name__ - assert m.log_messages[0].message == u"test_loggable" - assert m.log_messages[0].data == repr({'name': u"Foo Bar"}) + assert m.log_messages[0].message == "test_loggable" + assert m.log_messages[0].data == repr({'name': "Foo Bar"}) assert start <= m.log_messages[0].timestamp <= end staRefactoringTool: No changes to ../python3/batteries/path.py RefactoringTool: No changes to ../python3/batteries/model/types.py RefactoringTool: Refactored ../python3/batteries/model/storable.py RefactoringTool: Refactored ../python3/batteries/model/serializable.py RefactoringTool: No changes to ../python3/batteries/model/recordable.py RefactoringTool: Refactored ../python3/batteries/model/meta.py RefactoringTool: Refactored ../python3/batteries/model/loggable.py rt = datetime.utcnow().replace(tzinfo=tzutc()) - m.name = u"Foo Bar Baz" - m.log('info', __name__, u"name change", u"Foo Bar Baz") + m.name = "Foo Bar Baz" + m.log('info', __name__, "name change", "Foo Bar Baz") self.session.add(m) self.session.flush() end = datetime.utcnow().replace(tzinfo=tzutc()) @@ -192,17 +192,17 @@ assert len(m.log_messages) == 2 assert m.log_messages[1].level == 'info' assert m.log_messages[1].qualifier == __name__ - assert m.log_messages[1].message == u"name change" - assert m.log_messages[1].data == u"Foo Bar Baz" + assert m.log_messages[1].message == "name change" + assert m.log_messages[1].data == "Foo Bar Baz" assert start <= m.log_messages[1].timestamp <= end for message in m.log_messages: - self.logger.info(unicode(message)) + self.logger.info(str(message)) if message.data: self.logger.info(" --@ {0}".format(message.data)) def test_deletable(self): - m = MyDeletableModel(name=u"Foo Bar") + m = MyDeletableModel(name="Foo Bar") assert m.is_deleted is False m.delete() @@ -213,7 +213,7 @@ def test_deprecated_key(self): """should not fail if the old `_key` reference is used""" - m = MyModel(_key='foobar', name=u'Foo Bar') + m = MyModel(_key='foobar', name='Foo Bar') self.session.add(m) self.session.flush() @@ -228,9 +228,9 @@ self.fail("Unexpected exception raised: {0!s}".format(e)) def test_identifiable(self): - m1 = MyModel(key='first', name=u'test 1') - m2 = MyModel(key='second', name=u'test') - m3 = MyModel(key='third', name=u'test') + m1 = MyModel(key='first', name='test 1') + m2 = MyModel(key='second', name='test') + m3 = MyModel(key='third', name='test') for m in m1, m2, m3: self.session.add(m) @@ -244,9 +244,9 @@ assert m3.slug == 'test-2' def test_identifiable_with_nonce(self): - m1 = MyModel(key='first', name=u'test 1') - m2 = MyModel(key='second', name=u'test') - m3 = MyModel(key='third', name=u'test') + m1 = MyModel(key='first', name='test 1') + m2 = MyModel(key='second', name='test') + m3 = MyModel(key='third', name='test') for m in m1, m2, m3: m.named_with = ('name', 'nonce') --- ../python3/batteries/model/storable.py (original) +++ ../python3/batteries/model/storable.py (refactored) @@ -116,7 +116,7 @@ @property def storage_fields(self): storage_fields = [] - for k, v in self.__mapper__.columns.items(): + for k, v in list(self.__mapper__.columns.items()): if isinstance(v.type, LocalStorageType): storage_fields.append(k) --- ../python3/batteries/model/serializable.py (original) +++ ../python3/batteries/model/serializable.py (refactored) @@ -31,7 +31,7 @@ if v is None: return - if isinstance(v, basestring) or isinstance(v, numbers.Number): + if isinstance(v, str) or isinstance(v, numbers.Number): return v if hasattr(v, 'serialize'): @@ -41,7 +41,7 @@ return [serialize(w, serializers, opts) for w in v] elif isinstance(v, collections.Mapping): - return {k: serialize(w, serializers, opts) for k, w in v.items()} + return {k: serialize(w, serializers, opts) for k, w in list(v.items())} raise ValueError("No serialization available for {!r}".format(v)) --- ../python3/batteries/model/meta.py (original) +++ ../python3/batteries/model/meta.py (refactored) @@ -1,6 +1,6 @@ from datetime import datetime from dateutil.tz import tzutc -from cStringIO import StringIO +from io import StringIO from sqlalchemy.ext.declarative import declarative_base, DeclarativeMeta, declared_attr from sqlalchemy.orm import scoped_session, sessionmaker --- ../python3/batteries/model/loggable.py (original) +++ ../python3/batteries/model/logRefactoringTool: Refactored ../python3/batteries/model/identifiable.py RefactoringTool: Refactored ../python3/batteries/model/hashable.py RefactoringTool: Refactored ../python3/batteries/model/geometric.py RefactoringTool: No changes to ../python3/batteries/model/deletable.py RefactoringTool: Refactored ../python3/batteries/model/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/batteries/util.py RefactoringTool: ../python3/batteries/tests/test_model.py RefactoringTool: ../python3/batteries/path.py RefactoringTool: ../python3/batteries/model/types.py RefactoringTool: ../python3/batteries/model/storable.py RefactoringTool: ../python3/batteries/model/serializable.py RefactoringTool: ../python3/batteries/model/recordable.py RefactoringTool: ../python3/batteries/model/meta.py RefactoringTool: ../python3/batteries/model/loggable.py RefactoringTool: ../python3/batteries/model/identifiable.py RefactoringTool: ../python3/batteries/model/hashable.py RefactoringTool: ../python3/batteries/model/geometric.py RefactoringTool: ../python3/batteries/model/deletable.py RefactoringTool: ../python3/batteries/model/__init__.py gable.py (refactored) @@ -85,15 +85,15 @@ @property def formatted_timestamp(self): if self.timestamp_fmt: - return unicode(self.timestamp.strftime(self.timestamp_fmt)) - return unicode(self.timestamp) + return str(self.timestamp.strftime(self.timestamp_fmt)) + return str(self.timestamp) def __unicode__(self): - s = u"{level!s:>7} [{l.formatted_timestamp}] <{l.qualifier}> {l.message}".\ + s = "{level!s:>7} [{l.formatted_timestamp}] <{l.qualifier}> {l.message}".\ format(level=self.level.upper(), l=self) if self.data: size = util.format_bytes(len(self.data)) - s += u" @{{{0}}}".format(size) + s += " @{{{0}}}".format(size) return s __str__ = __unicode__ --- ../python3/batteries/model/identifiable.py (original) +++ ../python3/batteries/model/identifiable.py (refactored) @@ -27,7 +27,7 @@ format(instance.__class__.__name__, key)) values.append(getattr(instance, key)) - seed = slugify(u'-'.join(values)) + seed = slugify('-'.join(values)) return seed[:col.type.length] def update_slug(self): --- ../python3/batteries/model/hashable.py (original) +++ ../python3/batteries/model/hashable.py (refactored) @@ -27,7 +27,7 @@ elif instance.keyed_on == 'uuid': h.update(uuid().hex) - return unicode(h.hexdigest()) + return str(h.hexdigest()) else: h = sha1() @@ -39,7 +39,7 @@ elif cls.keyed_on == 'uuid': h.update(uuid().hex) - return unicode(h.hexdigest()) + return str(h.hexdigest()) def update_key(self): colname = '_' + self.key_name --- ../python3/batteries/model/geometric.py (original) +++ ../python3/batteries/model/geometric.py (refactored) @@ -11,7 +11,7 @@ @event.listens_for(Geometric, 'mapper_configured', propagate=True) def configure_geometric(mapper, target): - for k, column in mapper.columns.items(): + for k, column in list(mapper.columns.items()): property = getattr(target, k) if property.is_attribute and type(column.type) is Geometry: if column.type.geometry_type.lower() == 'point': --- ../python3/batteries/model/__init__.py (original) +++ ../python3/batteries/model/__init__.py (refactored) @@ -37,7 +37,7 @@ return cls.query.get(v) if kwargs: q = cls.query - for k, v in kwargs.items(): + for k, v in list(kwargs.items()): q = q.filter_by(**{k: v}) return q.one() @@ -54,7 +54,7 @@ def __unicode__(self): keys = format_identifiers(self) - return u"{cls}({keys})".format(cls=self.__class__.__name__, + return "{cls}({keys})".format(cls=self.__class__.__name__, keys=', '.join(keys)) __str__ = __unicode__ @@ -84,9 +84,9 @@ if isinstance(col, tuple): col, fmt = col else: - fmt = u"{v!r}" + fmt = "{v!r}" - fmt = u"{col}=" + unicode(fmt) + fmt = "{col}=" + str(fmt) s.append(fmt.format(col=col, v=getattr(instance, col))) return s + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.28799 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-sqlalchemy-batteries-0.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/batteries copying batteries/util.py -> build/lib/batteries copying batteries/path.py -> build/lib/batteries copying batteries/__init__.py -> build/lib/batteries creating build/lib/batteries/tests copying batteries/tests/test_model.py -> build/lib/batteries/tests copying batteries/tests/__init__.py -> build/lib/batteries/tests creating build/lib/batteries/model copying batteries/model/types.py -> build/lib/batteries/model copying batteries/model/storable.py -> build/lib/batteries/model copying batteries/model/serializable.py -> build/lib/batteries/model copying batteries/model/recordable.py -> build/lib/batteries/model copying batteries/model/meta.py -> build/lib/batteries/model copying batteries/model/loggable.py -> build/lib/batteries/model copying batteries/model/identifiable.py -> build/lib/batteries/model copying batteries/model/hashable.py -> build/lib/batteries/model copying batteries/model/geometric.py -> build/lib/batteries/model copying batteries/model/deletable.py -> build/lib/batteries/model copying batteries/model/__init__.py -> build/lib/batteries/model running egg_info creating sqlalchemy_batteries.egg-info writing requirements to sqlalchemy_batteries.egg-info/requires.txt writing sqlalchemy_batteries.egg-info/PKG-INFO writing top-level names to sqlalchemy_batteries.egg-info/top_level.txt writing dependency_links to sqlalchemy_batteries.egg-info/dependency_links.txt writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' creating build/lib/batteries/tests/fixtures copying batteries/tests/fixtures/test_image.png -> build/lib/batteries/tests/fixtures + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-sqlalchemy-batteries-0.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/batteries copying batteries/util.py -> build/lib/batteries copying batteries/path.py -> build/lib/batteries copying batteries/__init__.py -> build/lib/batteries creating build/lib/batteries/tests copying batteries/tests/test_model.py -> build/lib/batteries/tests copying batteries/tests/__init__.py -> build/lib/batteries/tests creating build/lib/batteries/model copying batteries/model/types.py -> build/lib/batteries/model copying batteries/model/storable.py -> build/lib/batteries/model copying batteries/model/serializable.py -> build/lib/batteries/model copying batteries/model/recordable.py -> build/lib/batteries/model copying batteries/model/meta.py -> build/lib/batteries/model copying batteries/model/loggable.py -> build/lib/batteries/model copying batteries/model/identifiable.py -> build/lib/batteries/model copying batteries/model/hashable.py -> build/lib/batteries/model copying batteries/model/geometric.py -> build/lib/batteries/model copying batteries/model/deletable.py -> build/lib/batteries/model copying batteries/model/__init__.py -> build/lib/batteries/model running egg_info creating sqlalchemy_batteries.egg-info writing sqlalchemy_batteries.egg-info/PKG-INFO writing dependency_links to sqlalchemy_batteries.egg-info/dependency_links.txt writing requirements to sqlalchemy_batteries.egg-info/requires.txt writing top-level names to sqlalchemy_batteries.egg-info/top_level.txt writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' creating build/lib/batteries/tests/fixtures copying batteries/tests/fixtures/test_image.png -> build/lib/batteries/tests/fixtures + popd ~/RPM/BUILD/python-module-sqlalchemy-batteries-0.4.5 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.99354 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot + cd python-module-sqlalchemy-batteries-0.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-sqlalchemy-batteries-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/deletable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/geometric.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/hashable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/identifiable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/loggable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/meta.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/recordable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/serializable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/storable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model copying build/lib/batteries/model/types.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/fixtures copying build/lib/batteries/tests/fixtures/test_image.png -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/fixtures copying build/lib/batteries/tests/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests copying build/lib/batteries/tests/test_model.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests copying build/lib/batteries/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries copying build/lib/batteries/path.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries copying build/lib/batteries/util.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/deletable.py to deletable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/geometric.py to geometric.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/hashable.py to hashable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/identifiable.py to identifiable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/loggable.py to loggable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/meta.py to meta.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/recordable.py to recordable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/serializable.py to serializable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/storable.py to storable.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/types.py to types.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/test_model.py to test_model.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/path.py to path.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/util.py to util.pyc running install_egg_info running egg_info writing requirements to sqlalchemy_batteries.egg-info/requires.txt writing sqlalchemy_batteries.egg-info/PKG-INFO writing top-level names to sqlalchemy_batteries.egg-info/top_level.txt writing dependency_links to sqlalchemy_batteries.egg-info/dependency_links.txt reading manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' Copying sqlalchemy_batteries.egg-info to /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/sqlalchemy_batteries-0.4.5-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-sqlalchemy-batteries-0.4.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-sqlalchemy-batteries-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/deletable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/geometric.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/hashable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/identifiable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/loggable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/meta.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/recordable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/serializable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/storable.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model copying build/lib/batteries/model/types.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests creating /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/fixtures copying build/lib/batteries/tests/fixtures/test_image.png -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/fixtures copying build/lib/batteries/tests/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests copying build/lib/batteries/tests/test_model.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests copying build/lib/batteries/__init__.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries copying build/lib/batteries/path.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries copying build/lib/batteries/util.py -> /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/deletable.py to deletable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/geometric.py to geometric.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/hashable.py to hashable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/identifiable.py to identifiable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/loggable.py to loggable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/meta.py to meta.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/recordable.py to recordable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/serializable.py to serializable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/storable.py to storable.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/types.py to types.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/test_model.py to test_model.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/path.py to path.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/util.py to util.cpython-37.pyc running install_egg_info running egg_info writing sqlalchemy_batteries.egg-info/PKG-INFO writing dependency_links to sqlalchemy_batteries.egg-info/dependency_links.txt writing requirements to sqlalchemy_batteries.egg-info/requires.txt writing top-level names to sqlalchemy_batteries.egg-info/top_level.txt reading manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' Copying sqlalchemy_batteries.egg-info to /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/sqlalchemy_batteries-0.4.5-py3.7.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-sqlalchemy-batteries-0.4.5 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-sqlalchemy-batteries-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-sqlalchemy-batteries-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/__init__.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/deletable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/geometric.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/hashable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/identifiable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/loggable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/meta.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/recordable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/serializable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/storable.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/types.pyc compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/deletable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/geometric.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/hashable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/identifiable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/loggable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/meta.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/recordable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/serializable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/storable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/types.py unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/__init__.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/test_model.pyc compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/test_model.py unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/__init__.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/path.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/util.pyc compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/path.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/util.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/deletable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/geometric.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/hashable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/identifiable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/loggable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/meta.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/recordable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/serializable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/storable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/model/types.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/tests/test_model.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/path.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python2.7/site-packages/batteries/util.py Bytecompiling python3 modules in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__pycache__/path.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__pycache__/util.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/deletable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/geometric.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/hashable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/identifiable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/loggable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/meta.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/recordable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/serializable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/storable.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__pycache__/types.cpython-37.pyc compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/deletable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/geometric.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/hashable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/identifiable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/loggable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/meta.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/recordable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/serializable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/storable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/types.py unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/__pycache__/test_model.cpython-37.pyc compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/test_model.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/path.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/util.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/deletable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/geometric.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/hashable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/identifiable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/loggable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/meta.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/recordable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/serializable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/storable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/types.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/test_model.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/path.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/util.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/deletable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/geometric.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/hashable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/identifiable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/loggable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/meta.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/recordable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/serializable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/storable.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/model/types.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/tests/test_model.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/__init__.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/path.py compile /usr/src/tmp/python-module-sqlalchemy-batteries-buildroot/usr/lib/python3/site-packages/batteries/util.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/batteries/__pycache__/util.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/__pycache__/util.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/__pycache__/path.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/__pycache__/path.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/tests/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/tests/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/tests/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/tests/__pycache__/__init__.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/types.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/types.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/types.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/types.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/storable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/storable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/serializable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/serializable.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/serializable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/serializable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/recordable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/recordable.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/recordable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/recordable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/meta.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/meta.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/meta.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/meta.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/loggable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/loggable.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/loggable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/loggable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/identifiable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/identifiable.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/identifiable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/identifiable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/hashable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/hashable.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/hashable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/hashable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/geometric.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/geometric.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/deletable.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/deletable.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/deletable.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/deletable.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/batteries/model/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/batteries/model/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/batteries/util.pyo' => './usr/lib/python2.7/site-packages/batteries/util.pyc' './usr/lib/python2.7/site-packages/batteries/path.pyo' => './usr/lib/python2.7/site-packages/batteries/path.pyc' './usr/lib/python2.7/site-packages/batteries/__init__.pyo' => './usr/lib/python2.7/site-packages/batteries/__init__.pyc' './usr/lib/python2.7/site-packages/batteries/tests/__init__.pyo' => './usr/lib/python2.7/site-packages/batteries/tests/__init__.pyc' './usr/lib/python2.7/site-packages/batteries/model/types.pyo' => './usr/lib/python2.7/site-packages/batteries/model/types.pyc' './usr/lib/python2.7/site-packages/batteries/model/serializable.pyo' => './usr/lib/python2.7/site-packages/batteries/model/serializable.pyc' './usr/lib/python2.7/site-packages/batteries/model/recordable.pyo' => './usr/lib/python2.7/site-packages/batteries/model/recordable.pyc' './usr/lib/python2.7/site-packages/batteries/model/meta.pyo' => './usr/lib/python2.7/site-packages/batteries/model/meta.pyc' './usr/lib/python2.7/site-packages/batteries/model/loggable.pyo' => './usr/lib/python2.7/site-packages/batteries/model/loggable.pyc' './usr/lib/python2.7/site-packages/batteries/model/identifiable.pyo' => './usr/lib/python2.7/site-packages/batteries/model/identifiable.pyc' './usr/lib/python2.7/site-packages/batteries/model/hashable.pyo' => './usr/lib/python2.7/site-packages/batteries/model/hashable.pyc' './usr/lib/python2.7/site-packages/batteries/model/geometric.pyo' => './usr/lib/python2.7/site-packages/batteries/model/geometric.pyc' './usr/lib/python2.7/site-packages/batteries/model/deletable.pyo' => './usr/lib/python2.7/site-packages/batteries/model/deletable.pyc' './usr/lib/python2.7/site-packages/batteries/model/__init__.pyo' => './usr/lib/python2.7/site-packages/batteries/model/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.43147 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-sqlalchemy-batteries-0.4.5 + python setup.py test running test running egg_info deleting sqlalchemy_batteries.egg-info/requires.txt writing sqlalchemy_batteries.egg-info/PKG-INFO writing top-level names to sqlalchemy_batteries.egg-info/top_level.txt writing dependency_links to sqlalchemy_batteries.egg-info/dependency_links.txt reading manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sqlalchemy_batteries.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "setup.py", line 32, in install_requires=requires, File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 234, in run self.run_tests() File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 256, in run_tests exit=False, File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__ self.parseArgs(argv) File "/usr/lib/python2.7/unittest/main.py", line 149, in parseArgs self.createTests() File "/usr/lib/python2.7/unittest/main.py", line 158, in createTests self.module) File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 55, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 55, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName module = __import__('.'.join(parts_copy)) File "/usr/src/RPM/BUILD/python-module-sqlalchemy-batteries-0.4.5/batteries/tests/test_model.py", line 28, in class MyModel(Hashable, Identifiable, Serializable, Storable, Model, Recordable): File "/usr/src/RPM/BUILD/python-module-sqlalchemy-batteries-0.4.5/batteries/tests/test_model.py", line 35, in MyModel number = Column(Float(10, scale=2)) TypeError: __init__() got an unexpected keyword argument 'scale' error: Bad exit status from /usr/src/tmp/rpm-tmp.43147 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.43147 (%check) Command exited with non-zero status 1 11.03user 0.93system 0:13.22elapsed 90%CPU (0avgtext+0avgdata 23464maxresident)k 0inputs+0outputs (0major+129354minor)pagefaults 0swaps hsh-rebuild: rebuild of `python-module-sqlalchemy-batteries-0.4.5-alt1.git20150204.1.1.1.src.rpm' failed. Command exited with non-zero status 1 24.51user 7.08system 0:34.30elapsed 92%CPU (0avgtext+0avgdata 113336maxresident)k 2184inputs+0outputs (0major+600295minor)pagefaults 0swaps