<86>May 22 11:03:02 userdel[2148753]: delete user 'rooter' <86>May 22 11:03:02 userdel[2148753]: removed group 'rooter' owned by 'rooter' <86>May 22 11:03:02 userdel[2148753]: removed shadow group 'rooter' owned by 'rooter' <86>May 22 11:03:02 groupadd[2148761]: group added to /etc/group: name=rooter, GID=642 <86>May 22 11:03:02 groupadd[2148761]: group added to /etc/gshadow: name=rooter <86>May 22 11:03:02 groupadd[2148761]: new group: name=rooter, GID=642 <86>May 22 11:03:02 useradd[2148770]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>May 22 11:03:02 userdel[2148784]: delete user 'builder' <86>May 22 11:03:02 userdel[2148784]: removed group 'builder' owned by 'builder' <86>May 22 11:03:02 userdel[2148784]: removed shadow group 'builder' owned by 'builder' <86>May 22 11:03:02 groupadd[2148796]: group added to /etc/group: name=builder, GID=643 <86>May 22 11:03:02 groupadd[2148796]: group added to /etc/gshadow: name=builder <86>May 22 11:03:02 groupadd[2148796]: new group: name=builder, GID=643 <86>May 22 11:03:02 useradd[2148800]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>May 22 11:03:05 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>May 22 11:03:05 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>May 22 11:03:05 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 22 11:03:05 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>May 22 11:03:05 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 22 11:03:05 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 22 11:03:05 rpmi: ca-certificates-2021.03.24-alt1 sisyphus+268304.300.1.1 1616591829 installed <13>May 22 11:03:05 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>May 22 11:03:05 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>May 22 11:03:06 rpmi: libcrypto1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 22 11:03:06 rpmi: libssl1.1-1.1.1k-alt1 sisyphus+268375.100.1.1 1616684255 installed <13>May 22 11:03:06 rpmi: python3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 11:03:07 rpmi: python3-base-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 11:03:07 rpmi: libpython3-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 11:03:07 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 22 11:03:07 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>May 22 11:03:11 rpmi: python3-module-six-1.15.0-alt2 sisyphus+270533.5100.6.1 1619685463 installed <13>May 22 11:03:11 rpmi: python3-module-pkg_resources-1:56.1.0-alt1 sisyphus+271297.100.1.1 1620375295 installed <13>May 22 11:03:11 rpmi: python3-module-iniconfig-1.1.1-alt1 sisyphus+270533.3400.6.1 1619684870 installed <13>May 22 11:03:11 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>May 22 11:03:11 rpmi: python3-module-genshi-0.7.4-alt2 sisyphus+261703.100.2.1 1605232240 installed <13>May 22 11:03:11 rpmi: python3-module-toml-0.10.2-alt2 sisyphus+268468.100.2.1 1617010078 installed <13>May 22 11:03:11 rpmi: python3-module-pluggy-0.13.1-alt2 sisyphus+250320.400.1.1 1588511673 installed <13>May 22 11:03:11 rpmi: python3-module-attrs-20.3.0-alt1 sisyphus+262357.100.1.1 1606152750 installed <13>May 22 11:03:11 rpmi: python3-module-apipkg-1.5-alt1 sisyphus+227465.1100.1.2 1555756555 installed <13>May 22 11:03:11 rpmi: python3-module-py-1.10.0-alt1 sisyphus+271297.460.4.1 1620386890 installed <13>May 22 11:03:11 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 sisyphus+271943.400.1.1 1621160075 installed <13>May 22 11:03:11 rpmi: python3-module-pyparsing-2.4.2-alt2 sisyphus+261315.100.1.1 1604861802 installed <13>May 22 11:03:11 rpmi: python3-module-packaging-20.9-alt1 sisyphus+270533.300.6.1 1619683401 installed <13>May 22 11:03:11 rpmi: python3-module-markupsafe-2.0.1-alt1 sisyphus+271650.600.4.1 1621589666 installed <13>May 22 11:03:11 rpmi: python3-module-jinja2-2.11.3-alt1 sisyphus+267903.300.1.1 1615896587 installed <13>May 22 11:03:11 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+271943.200.1.1 1621159990 installed <13>May 22 11:03:11 rpmi: python3-module-pytz-1:2021.1-alt1 sisyphus+267903.400.1.1 1615896636 installed <13>May 22 11:03:12 rpmi: python3-module-babel-1:2.9.0-alt1 sisyphus+268784.200.2.1 1617263310 installed <13>May 22 11:03:12 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>May 22 11:03:12 rpmi: python3-module-pycparser-2.20-alt1 sisyphus+260990.100.1.1 1604547209 installed <13>May 22 11:03:12 rpmi: python3-module-cffi-1.14.5-alt2 sisyphus+270533.2000.6.1 1619684442 installed <13>May 22 11:03:12 rpmi: python3-module-cryptography-3.4.7-alt1 sisyphus+270667.100.1.1 1619307697 installed <13>May 22 11:03:12 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>May 22 11:03:12 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>May 22 11:03:12 rpmi: python3-module-urllib3-2:1.25.10-alt1 sisyphus+255342.100.1.1 1595592746 installed <13>May 22 11:03:12 rpmi: python3-module-idna-3.1-alt1 sisyphus+267356.100.1.1 1614879269 installed <13>May 22 11:03:12 rpmi: python3-module-chardet-1:3.0.4-alt2 sisyphus+263408.100.1.1 1607875228 installed <13>May 22 11:03:12 rpmi: python3-module-requests-2.25.1-alt2 sisyphus+267359.100.1.1 1614881487 installed <13>May 22 11:03:12 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>May 22 11:03:13 rpmi: python-sphinx-objects.inv-1:2.3.11.20210508-alt1 sisyphus+271366.100.1.1 1620604190 installed <13>May 22 11:03:13 rpmi: libpython-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python2-base-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-encodings-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-compiler-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-email-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-unittest-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-ctypes-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-multiprocessing-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: python-modules-logging-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:13 rpmi: libgpg-error-1.41-alt4 sisyphus+264254.200.1.1 1609440111 installed <13>May 22 11:03:13 rpmi: libgcrypt20-1.9.2-alt1 sisyphus+266496.100.1.1 1613559234 installed <13>May 22 11:03:13 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed <13>May 22 11:03:13 rpmi: python3-module-cssselect-0.9.1-alt3 sisyphus+270533.2600.6.1 1619684675 installed <13>May 22 11:03:13 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>May 22 11:03:14 rpmi: python3-module-lxml-4.6.3-alt1 sisyphus+268152.100.1.1 1616388041 installed <13>May 22 11:03:14 rpmi: python3-module-docutils-0.17.1-alt1 sisyphus+271898.100.1.1 1621041818 installed <13>May 22 11:03:14 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+271943.300.1.1 1621160028 installed <13>May 22 11:03:14 rpmi: python3-module-sphinxcontrib-applehelp-1.0.2-alt1 sisyphus+252614.200.1.1 1590949678 installed <13>May 22 11:03:14 rpmi: python3-module-sphinxcontrib-devhelp-1.0.2-alt1 sisyphus+252614.300.1.1 1590949711 installed <13>May 22 11:03:14 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>May 22 11:03:14 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>May 22 11:03:14 rpmi: python3-module-sphinxcontrib-qthelp-1.0.3-alt1 sisyphus+252614.400.1.1 1590949745 installed <13>May 22 11:03:14 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.4-alt1 sisyphus+252614.100.1.1 1590949645 installed <13>May 22 11:03:14 rpmi: python3-module-sphinx-1:4.0.1-alt4 sisyphus+272016.100.1.1 1621246705 installed <13>May 22 11:03:15 rpmi: python3-module-Pygments-2.8.1-alt2 sisyphus+270791.100.1.1 1619525864 installed <13>May 22 11:03:15 rpmi: python-tools-2to3-2.7.18-alt5 sisyphus+270920.100.1.1 1619657728 installed <13>May 22 11:03:15 rpmi: python3-module-pytest-6.2.4-alt1 sisyphus+271297.500.4.1 1620387238 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-couchdb-1.2-alt1.nosrc.rpm (w1.gzdio) <13>May 22 11:03:18 rpmi: libtinfo-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>May 22 11:03:18 rpmi: libncurses-devel-6.2.20210123-alt1 sisyphus+265425.100.1.1 1611851433 installed <13>May 22 11:03:18 rpmi: python3-dev-3.9.5-alt1 sisyphus+271461.100.1.1 1620748853 installed <13>May 22 11:03:18 rpmi: python3-module-setuptools-1:56.1.0-alt1 sisyphus+271297.100.1.1 1620375295 installed Installing python3-module-couchdb-1.2-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.77962 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-couchdb-1.2 + echo 'Source #0 (python3-module-couchdb-1.2.tar):' Source #0 (python3-module-couchdb-1.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-couchdb-1.2.tar + cd python3-module-couchdb-1.2 + /bin/chmod -c -Rf u+rwX,go-w . + find -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./perftest.py RefactoringTool: No changes to ./doc/conf.py RefactoringTool: Refactored ./couchdb/view.py RefactoringTool: No changes to ./couchdb/util3.py RefactoringTool: Refactored ./couchdb/util2.py RefactoringTool: No changes to ./couchdb/util.py RefactoringTool: Refactored ./couchdb/tools/replicate.py RefactoringTool: Refactored ./couchdb/tools/load.py RefactoringTool: Refactored ./couchdb/tools/dump.py --- ./perftest.py (original) +++ ./perftest.py (refactored) @@ -10,8 +10,8 @@ def main(): - print 'sys.version : %r' % (sys.version,) - print 'sys.platform : %r' % (sys.platform,) + print('sys.version : %r' % (sys.version,)) + print('sys.platform : %r' % (sys.platform,)) tests = [create_doc, create_bulk_docs] if len(sys.argv) > 1: @@ -36,7 +36,7 @@ sys.stdout.write("%0.2fs\n" % (stop - start,)) sys.stdout.flush() except Exception as e: - sys.stdout.write("FAILED - %r\n" % (unicode(e),)) + sys.stdout.write("FAILED - %r\n" % (str(e),)) sys.stdout.flush() finally: server.delete(db_name) @@ -45,7 +45,7 @@ def create_doc(db): """Create lots of docs, one at a time""" for i in range(1000): - db.save({'_id': unicode(i)}) + db.save({'_id': str(i)}) def create_bulk_docs(db): @@ -53,7 +53,7 @@ batch_size = 100 num_batches = 1000 for i in range(num_batches): - db.update([{'_id': unicode((i * batch_size) + j)} for j in range(batch_size)]) + db.update([{'_id': str((i * batch_size) + j)} for j in range(batch_size)]) if __name__ == '__main__': --- ./couchdb/view.py (original) +++ ./couchdb/view.py (refactored) @@ -17,6 +17,7 @@ from types import FunctionType from couchdb import json, util +from functools import reduce __all__ = ['main', 'run'] __docformat__ = 'restructuredtext en' @@ -117,7 +118,7 @@ vals = args else: if args: - keys, vals = zip(*args) + keys, vals = list(zip(*args)) else: keys, vals = [], [] if util.funcode(function).co_argcount == 3: --- ./couchdb/util2.py (original) +++ ./couchdb/util2.py (refactored) @@ -4,17 +4,17 @@ 'urlencode', 'utype', 'btype', 'ltype', 'strbase', 'funcode', 'urlparse', ] -utype = unicode +utype = str btype = str -ltype = long -strbase = str, bytes, unicode +ltype = int +strbase = str, bytes, str from io import BytesIO as StringIO -from urlparse import urlparse, urlsplit, urlunsplit -from urllib import quote as urlquote -from urllib import unquote as urlunquote -from urllib import urlencode +from urllib.parse import urlparse, urlsplit, urlunsplit +from urllib.parse import quote as urlquote +from urllib.parse import unquote as urlunquote +from urllib.parse import urlencode def funcode(fun): - return fun.func_code + return fun.__code__ --- ./couchdb/tools/replicate.py (original) +++ ./couchdb/tools/replicate.py (refactored) @@ -102,7 +102,7 @@ for sdb, tdb in databases: start = time.time() - print(sdb, '->', tdb) + print((sdb, '->', tdb)) sys.stdout.flush() if tdb not in target: @@ -115,12 +115,12 @@ target.replicate(sdb, tdb, continuous=options.continuous) else: target.replicate(sdb, tdb) - print('%.1fs' % (time.time() - start)) + print(('%.1fs' % (time.time() - start))) sys.stdout.flush() if options.compact: for (sdb, tdb) in databases: - print('compact', tdb) + print(('compact', tdb)) target[tdb].compact() if __name__ == '__main__': --- ./couchdb/tools/load.py (original) +++ ./couchdb/tools/load.py (refactored) @@ -11,7 +11,7 @@ file. """ -from __future__ import print_function + from base64 import b64encode from optparse import OptionParser import sys --- ./couchdb/tools/dump.py (original) +++ ./couchdb/tools/dump.py (refactored) @@ -11,7 +11,7 @@ file. """ -from __future__ import print_function + from base64 import b64decode from optparse import OptionParser import sys @@ -36,7 +36,7 @@ 'ETag': '"%s"' % doc.rev }) parts.add('application/json', jsondoc) - for name, info in attachments.items(): + for name, info in list(attachments.items()): content_type = info.get('content_type') if content_type is None: # CouchDB < 0RefactoringTool: No changes to ./couchdb/tests/view.py RefactoringTool: No changes to ./couchdb/tests/tools.py RefactoringTool: No changes to ./couchdb/tests/testutil.py RefactoringTool: No changes to ./couchdb/tests/package.py RefactoringTool: Refactored ./couchdb/tests/multipart.py WARNING: couldn't encode ./couchdb/tests/multipart.py's diff for your terminal RefactoringTool: No changes to ./couchdb/tests/mapping.py RefactoringTool: Refactored ./couchdb/tests/loader.py RefactoringTool: No changes to ./couchdb/tests/design.py RefactoringTool: No changes to ./couchdb/tests/couchhttp.py RefactoringTool: Refactored ./couchdb/tests/couch_tests.py WARNING: couldn't encode ./couchdb/tests/couch_tests.py's diff for your terminal RefactoringTool: Refactored ./couchdb/tests/client.py WARNING: couldn't encode ./couchdb/tests/client.py's diff for your terminal RefactoringTool: No changes to ./couchdb/tests/__main__.py RefactoringTool: No changes to ./couchdb/multipart.py RefactoringTool: Refactored ./couchdb/mapping.py .8 --- ./couchdb/tests/multipart.py (original) +++ ./couchdb/tests/multipart.py (refactored) @@ -149,7 +149,7 @@ def test_unicode_headers(self): # http://code.google.com/p/couchdb-python/issues/detail?id=179 - dump = u'''Content-Type: multipart/mixed; boundary="==123456789==" + dump = '''Content-Type: multipart/mixed; boundary="==123456789==" --==123456789== Content-ID: =?utf-8?b?5paH5qGj?= @@ -161,7 +161,7 @@ ''' parts = multipart.read_multipart(StringIO(dump.encode('utf-8'))) for headers, is_multipart, payload in parts: --- ./couchdb/tests/loader.py (original) +++ ./couchdb/tests/loader.py (refactored) @@ -13,10 +13,10 @@ from couchdb.tests import testutil expected = { - '_id': u'_design/loader', - 'filters': {'filter': u'function(doc, req) { return true; }'}, - 'language': u'javascript', - 'views': {'a': {'map': u'function(doc) {\n emit(doc.property_to_index);\n}'}}} + '_id': '_design/loader', + 'filters': {'filter': 'function(doc, req) { return true; }'}, + 'language': 'javascript', + 'views': {'a': {'map': 'function(doc) {\n emit(doc.property_to_index);\n}'}}} class LoaderTestCase(unittest.TestCase): --- ./couchdb/tests/couch_tests.py (original) +++ ./couchdb/tests/couch_tests.py (refactored) @@ -173,11 +173,11 @@ def test_utf8_encoding(self): texts = [ - u"1. Ascii: hello", --- ./couchdb/tests/client.py (original) +++ ./couchdb/tests/client.py (refactored) @@ -126,7 +126,7 @@ dbname = 'couchdb-python/test-235-unicode-server' db = server.create(dbname) try: - db.update([{'foo': u'\ua000'}]) + db.update([{'foo': '\ua000'}]) finally: server.delete(dbname) @@ -215,9 +215,9 @@ self.assertEqual(None, self.db.get('foo/bar')) def test_unicode(self): --- ./couchdb/mapping.py (original) +++ ./couchdb/mapping.py (refactored) @@ -120,7 +120,7 @@ for base in bases: if hasattr(base, '_fields'): fields.update(base._fields) - for attrname, attrval in d.items(): + for attrname, attrval in list(d.items()): if isinstance(attrval, Field): if not attrval.name: attrval.name = attrname @@ -135,7 +135,7 @@ def __init__(self, **values): self._data = {} - for attrname, field in self._fields.items(): + for attrname, field in list(self._fields.items()): if attrname in values: setattr(self, attrname, values.pop(attrname)) else: @@ -168,7 +168,7 @@ @classmethod def build(cls, **d): fields = {} - for attrname, attrval in d.items(): + for attrname, attrval in list(d.items()): if not attrval.name: attrval.name = attrname fields[attrname] = attrval @@ -288,7 +288,7 @@ class DocumentMeta(MappingMeta): def __new__(cls, name, bases, d): - for attrname, attrval in d.items(): + for attrname, attrval in list(d.items()): if isinstance(attrval, ViewField): if not attrval.name: attrval.name = attrname @@ -306,7 +306,7 @@ def __repr__(self): return '<%s %r@%r %r>' % (type(self).__name__, self.id, self.rev, - dict([(k, v) for k, v in self._data.items() + dict([(k, v) for k, v in list(self._data.items()) if k not in ('_id', '_rev')])) def _get_id(self): @@ -350,7 +350,7 @@ retval.append(('_id', self.id)) if self.rev is not None: retval.append(('_rev', self.rev)) - for name, value in self._data.items(): + for name, value in list(self._data.items()): if name not in ('_id', '_rev'): retval.append((name, value)) return retval @@ -717,7 +717,7 @@ def __len__(self): return len(self.list) - def __nonzero__(self): + RefactoringTool: Refactored ./couchdb/loader.py RefactoringTool: No changes to ./couchdb/json.py RefactoringTool: Refactored ./couchdb/http.py RefactoringTool: No changes to ./couchdb/design.py RefactoringTool: Refactored ./couchdb/client.py def __bool__(self): return bool(self.list) def append(self, *args, **kwargs): --- ./couchdb/loader.py (original) +++ ./couchdb/loader.py (refactored) @@ -60,7 +60,7 @@ """ -from __future__ import unicode_literals, absolute_import + import os.path import pprint --- ./couchdb/http.py (original) +++ ./couchdb/http.py (refactored) @@ -25,9 +25,9 @@ from dummy_threading import Lock try: + from .http.client import BadStatusLine, HTTPConnection, HTTPSConnection +except ImportError: from http.client import BadStatusLine, HTTPConnection, HTTPSConnection -except ImportError: - from httplib import BadStatusLine, HTTPConnection, HTTPSConnection try: from email.Utils import parsedate @@ -45,7 +45,7 @@ if sys.version < '2.7': - from httplib import CannotSendHeader, _CS_REQ_STARTED, _CS_REQ_SENT + from http.client import CannotSendHeader, _CS_REQ_STARTED, _CS_REQ_SENT class NagleMixin: """ @@ -462,7 +462,7 @@ self.by_url.pop(url, None) def _clean(self): - ls = sorted(self.by_url.items(), key=cache_sort) + ls = sorted(list(self.by_url.items()), key=cache_sort) self.by_url = dict(ls[-self.keep_size:]) @@ -643,7 +643,7 @@ def urlencode(data): if isinstance(data, dict): - data = data.items() + data = list(data.items()) params = [] for name, value in data: if isinstance(value, util.utype): @@ -692,7 +692,7 @@ # build the query string params = [] - for name, value in query.items(): + for name, value in list(query.items()): if type(value) in (list, tuple): params.extend([(name, i) for i in value if i is not None]) elif value is not None: --- ./couchdb/client.py (original) +++ ./couchdb/client.py (refactored) @@ -110,7 +110,7 @@ status, headers, data = self.resource.get_json('_all_dbs') return len(data) - def __nonzero__(self): + def __bool__(self): """Return whether the server is available.""" try: self.resource.head() @@ -405,7 +405,7 @@ _, _, data = self.resource.get_json() return data['doc_count'] - def __nonzero__(self): + def __bool__(self): """Return whether the database is available.""" try: self.resource.head() @@ -590,7 +590,7 @@ if not isinstance(src, util.strbase): if not isinstance(src, dict): if hasattr(src, 'items'): - src = dict(src.items()) + src = dict(list(src.items())) else: raise TypeError('expected dict or string, got %s' % type(src)) @@ -599,7 +599,7 @@ if not isinstance(dest, util.strbase): if not isinstance(dest, dict): if hasattr(dest, 'items'): - dest = dict(dest.items()) + dest = dict(list(dest.items())) else: raise TypeError('expected dict or string, got %s' % type(dest)) @@ -771,7 +771,7 @@ raise ValueError('no filename specified for attachment') if content_type is None: content_type = ';'.join( - filter(None, mimetypes.guess_type(filename)) + [_f for _f in mimetypes.guess_type(filename) if _f] ) resource = _doc_resource(self.resource, doc['_id']) @@ -809,7 +809,7 @@ :return: the query results as a list of `Document` (or whatever `wrapper` returns) """ status, headers, data = self.resource.post_json('_find', mango_query) - return map(wrapper or Document, data.get('docs', [])) + return list(map(wrapper or Document, data.get('docs', []))) def explain(self, mango_query): """Explain a mango find-query. @@ -936,7 +936,7 @@ if isinstance(doc, dict): docs.append(doc) elif hasattr(doc, 'items'): - RefactoringTool: No changes to ./couchdb/__main__.py RefactoringTool: No changes to ./couchdb/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./perftest.py RefactoringTool: ./doc/conf.py RefactoringTool: ./couchdb/view.py RefactoringTool: ./couchdb/util3.py RefactoringTool: ./couchdb/util2.py RefactoringTool: ./couchdb/util.py RefactoringTool: ./couchdb/tools/replicate.py RefactoringTool: ./couchdb/tools/load.py RefactoringTool: ./couchdb/tools/dump.py RefactoringTool: ./couchdb/tests/view.py RefactoringTool: ./couchdb/tests/tools.py RefactoringTool: ./couchdb/tests/testutil.py RefactoringTool: ./couchdb/tests/package.py RefactoringTool: ./couchdb/tests/multipart.py RefactoringTool: ./couchdb/tests/mapping.py RefactoringTool: ./couchdb/tests/loader.py RefactoringTool: ./couchdb/tests/design.py RefactoringTool: ./couchdb/tests/couchhttp.py RefactoringTool: ./couchdb/tests/couch_tests.py RefactoringTool: ./couchdb/tests/client.py RefactoringTool: ./couchdb/tests/__main__.py RefactoringTool: ./couchdb/multipart.py RefactoringTool: ./couchdb/mapping.py RefactoringTool: ./couchdb/loader.py RefactoringTool: ./couchdb/json.py RefactoringTool: ./couchdb/http.py RefactoringTool: ./couchdb/design.py RefactoringTool: ./couchdb/client.py RefactoringTool: ./couchdb/__main__.py RefactoringTool: ./couchdb/__init__.py docs.append(dict(doc.items())) + docs.append(dict(list(doc.items()))) else: raise TypeError('expected dict, got %s' % type(doc)) @@ -974,7 +974,7 @@ if isinstance(doc, dict): content[doc['_id']] = [doc['_rev']] elif hasattr(doc, 'items'): - doc = dict(doc.items()) + doc = dict(list(doc.items())) content[doc['_id']] = [doc['_rev']] else: raise TypeError('expected dict, got %s' % type(doc)) @@ -1175,7 +1175,7 @@ def __repr__(self): return '<%s %r@%r %r>' % (type(self).__name__, self.id, self.rev, - dict([(k,v) for k,v in self.items() + dict([(k,v) for k,v in list(self.items()) if k not in ('_id', '_rev')])) @property @@ -1270,7 +1270,7 @@ view/list function. """ retval = {} - for name, value in options.items(): + for name, value in list(options.items()): if name in ('key', 'startkey', 'endkey') \ or not isinstance(value, util.strbase): value = json.encode(value) + sed -i 's|sphinx-build|sphinx-build-3|' doc/Makefile ++ find ./ -name '*.py' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./setup.py ./perftest.py ./doc/conf.py ./couchdb/view.py ./couchdb/util3.py ./couchdb/util2.py ./couchdb/util.py ./couchdb/tools/replicate.py ./couchdb/tools/load.py ./couchdb/tools/dump.py ./couchdb/tools/__init__.py ./couchdb/tests/view.py ./couchdb/tests/tools.py ./couchdb/tests/testutil.py ./couchdb/tests/package.py ./couchdb/tests/multipart.py ./couchdb/tests/mapping.py ./couchdb/tests/loader.py ./couchdb/tests/design.py ./couchdb/tests/couchhttp.py ./couchdb/tests/couch_tests.py ./couchdb/tests/client.py ./couchdb/tests/__main__.py ./couchdb/tests/__init__.py ./couchdb/multipart.py ./couchdb/mapping.py ./couchdb/loader.py ./couchdb/json.py ./couchdb/http.py ./couchdb/design.py ./couchdb/client.py ./couchdb/__main__.py ./couchdb/__init__.py + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.33804 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-couchdb-1.2 + 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 running build running build_py creating build creating build/lib creating build/lib/couchdb copying couchdb/__init__.py -> build/lib/couchdb copying couchdb/__main__.py -> build/lib/couchdb copying couchdb/client.py -> build/lib/couchdb copying couchdb/design.py -> build/lib/couchdb copying couchdb/http.py -> build/lib/couchdb copying couchdb/json.py -> build/lib/couchdb copying couchdb/loader.py -> build/lib/couchdb copying couchdb/mapping.py -> build/lib/couchdb copying couchdb/multipart.py -> build/lib/couchdb copying couchdb/util.py -> build/lib/couchdb copying couchdb/util2.py -> build/lib/couchdb copying couchdb/util3.py -> build/lib/couchdb copying couchdb/view.py -> build/lib/couchdb creating build/lib/couchdb/tools copying couchdb/tools/__init__.py -> build/lib/couchdb/tools copying couchdb/tools/dump.py -> build/lib/couchdb/tools copying couchdb/tools/load.py -> build/lib/couchdb/tools copying couchdb/tools/replicate.py -> build/lib/couchdb/tools creating build/lib/couchdb/tests copying couchdb/tests/__init__.py -> build/lib/couchdb/tests copying couchdb/tests/__main__.py -> build/lib/couchdb/tests copying couchdb/tests/client.py -> build/lib/couchdb/tests copying couchdb/tests/couch_tests.py -> build/lib/couchdb/tests copying couchdb/tests/couchhttp.py -> build/lib/couchdb/tests copying couchdb/tests/design.py -> build/lib/couchdb/tests copying couchdb/tests/loader.py -> build/lib/couchdb/tests copying couchdb/tests/mapping.py -> build/lib/couchdb/tests copying couchdb/tests/multipart.py -> build/lib/couchdb/tests copying couchdb/tests/package.py -> build/lib/couchdb/tests copying couchdb/tests/testutil.py -> build/lib/couchdb/tests copying couchdb/tests/tools.py -> build/lib/couchdb/tests copying couchdb/tests/view.py -> build/lib/couchdb/tests + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.56079 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-couchdb-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-couchdb-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-couchdb-1.2 + 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/python3-module-couchdb-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-couchdb-buildroot creating /usr/src/tmp/python3-module-couchdb-buildroot/usr creating /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib creating /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb creating /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/view.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/tools.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/testutil.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/package.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/multipart.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/mapping.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/loader.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/design.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/couchhttp.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/couch_tests.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/client.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/__main__.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests copying build/lib/couchdb/tests/__init__.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests creating /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools copying build/lib/couchdb/tools/replicate.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools copying build/lib/couchdb/tools/load.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools copying build/lib/couchdb/tools/dump.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools copying build/lib/couchdb/tools/__init__.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools copying build/lib/couchdb/view.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/util3.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/util2.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/util.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/multipart.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/mapping.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/loader.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/json.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/http.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/design.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/client.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/__main__.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb copying build/lib/couchdb/__init__.py -> /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/view.py to view.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/tools.py to tools.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/testutil.py to testutil.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/package.py to package.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/multipart.py to multipart.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/mapping.py to mapping.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/loader.py to loader.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/design.py to design.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/couchhttp.py to couchhttp.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/couch_tests.py to couch_tests.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/client.py to client.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/__main__.py to __main__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools/replicate.py to replicate.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools/load.py to load.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools/dump.py to dump.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/tools/__init__.py to __init__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/view.py to view.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/util3.py to util3.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/util2.py to util2.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/util.py to util.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/multipart.py to multipart.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/mapping.py to mapping.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/loader.py to loader.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/json.py to json.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/http.py to http.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/design.py to design.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/client.py to client.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/__main__.py to __main__.cpython-39.pyc byte-compiling /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/couchdb/__init__.py to __init__.cpython-39.pyc running install_egg_info running egg_info creating CouchDB.egg-info writing CouchDB.egg-info/PKG-INFO writing dependency_links to CouchDB.egg-info/dependency_links.txt writing entry points to CouchDB.egg-info/entry_points.txt writing top-level names to CouchDB.egg-info/top_level.txt writing manifest file 'CouchDB.egg-info/SOURCES.txt' adding license file 'COPYING' (matched pattern 'COPYING*') reading manifest file 'CouchDB.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'CouchDB.egg-info/SOURCES.txt' Copying CouchDB.egg-info to /usr/src/tmp/python3-module-couchdb-buildroot/usr/lib/python3/site-packages/CouchDB-1.2-py3.9.egg-info running install_scripts Installing couchdb-dump script to /usr/src/tmp/python3-module-couchdb-buildroot/usr/bin Installing couchdb-load script to /usr/src/tmp/python3-module-couchdb-buildroot/usr/bin Installing couchdb-load-design-doc script to /usr/src/tmp/python3-module-couchdb-buildroot/usr/bin Installing couchdb-replicate script to /usr/src/tmp/python3-module-couchdb-buildroot/usr/bin Installing couchpy script to /usr/src/tmp/python3-module-couchdb-buildroot/usr/bin + make -C doc html make: Entering directory '/usr/src/RPM/BUILD/python3-module-couchdb-1.2/doc' sphinx-build-3 -b html -d build/doctrees . build/html Traceback (most recent call last): File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 568, in _build_master ws.require(__requires__) File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 886, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 777, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (MarkupSafe 2.0.1 (/usr/lib/python3/site-packages), Requirement.parse('MarkupSafe<2.0'), {'Sphinx'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/sphinx-build-3", line 33, in sys.exit(load_entry_point('Sphinx==4.0.1.dev20210517', 'console_scripts', 'sphinx-build')()) File "/usr/bin/sphinx-build-3", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 855, in exec_module File "", line 228, in _call_with_frames_removed File "/usr/lib/python3/site-packages/sphinx/cmd/build.py", line 25, in from sphinx.application import Sphinx File "/usr/lib/python3/site-packages/sphinx/application.py", line 41, in from sphinx.registry import SphinxComponentRegistry File "/usr/lib/python3/site-packages/sphinx/registry.py", line 24, in from pkg_resources import iter_entry_points File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 3243, in def _initialize_master_working_set(): File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 570, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3/site-packages/pkg_resources/__init__.py", line 772, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'MarkupSafe<2.0' distribution was not found and is required by Sphinx make: *** [Makefile:36: html] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/python3-module-couchdb-1.2/doc' error: Bad exit status from /usr/src/tmp/rpm-tmp.56079 (%install) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.56079 (%install) Command exited with non-zero status 1 14.21user 0.43system 0:14.74elapsed 99%CPU (0avgtext+0avgdata 28396maxresident)k 0inputs+0outputs (0major+53854minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-couchdb-1.2-alt1.src.rpm' failed. Command exited with non-zero status 1 29.05user 8.07system 0:36.10elapsed 102%CPU (0avgtext+0avgdata 105020maxresident)k 0inputs+0outputs (0major+487300minor)pagefaults 0swaps