<86>Apr 5 07:04:36 userdel[105342]: delete user 'rooter' <86>Apr 5 07:04:36 userdel[105342]: removed group 'rooter' owned by 'rooter' <86>Apr 5 07:04:36 userdel[105342]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 5 07:04:36 groupadd[105410]: group added to /etc/group: name=rooter, GID=651 <86>Apr 5 07:04:36 groupadd[105410]: group added to /etc/gshadow: name=rooter <86>Apr 5 07:04:36 groupadd[105410]: new group: name=rooter, GID=651 <86>Apr 5 07:04:36 useradd[105427]: new user: name=rooter, UID=651, GID=651, home=/root, shell=/bin/bash <86>Apr 5 07:04:36 userdel[105447]: delete user 'builder' <86>Apr 5 07:04:36 userdel[105447]: removed group 'builder' owned by 'builder' <86>Apr 5 07:04:36 groupadd[105458]: group added to /etc/group: name=builder, GID=652 <86>Apr 5 07:04:36 groupadd[105458]: group added to /etc/gshadow: name=builder <86>Apr 5 07:04:36 groupadd[105458]: new group: name=builder, GID=652 <86>Apr 5 07:04:36 useradd[105469]: new user: name=builder, UID=652, GID=652, home=/usr/src, shell=/bin/bash <13>Apr 5 07:04:38 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 5 07:04:38 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 5 07:04:38 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 5 07:04:38 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Apr 5 07:04:38 rpmi: rpm-macros-alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 5 07:04:38 rpmi: alternatives-0.5.0-alt1 sisyphus+221902.300.4.1 1550587121 installed <13>Apr 5 07:04:39 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Apr 5 07:04:39 rpmi: ca-trust-0.1.1-alt2 1515595785 installed <13>Apr 5 07:04:39 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 5 07:04:39 rpmi: libcrypto1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 5 07:04:39 rpmi: libssl1.1-1.1.1b-alt1 sisyphus+225327.200.2.1 1553099317 installed <13>Apr 5 07:04:39 rpmi: python3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:04:39 rpmi: python3-base-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:04:39 rpmi: libpython3-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:04:39 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 5 07:04:39 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 5 07:04:43 rpmi: python3-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 07:04:43 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:43 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 5 07:04:43 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 5 07:04:43 rpmi: python3-dev-3.6.8-alt1 sisyphus+220164.200.3.1 1548842636 installed <13>Apr 5 07:04:43 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 5 07:04:43 rpmi: libkeyutils-1.6-alt2 sisyphus.217337.100 1544003161 installed <13>Apr 5 07:04:43 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 5 07:04:43 groupadd[7908]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 5 07:04:43 groupadd[7908]: group added to /etc/gshadow: name=_keytab <86>Apr 5 07:04:43 groupadd[7908]: new group: name=_keytab, GID=499 <13>Apr 5 07:04:43 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Apr 5 07:04:43 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 5 07:04:43 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 5 07:04:43 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:43 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:43 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:43 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Apr 5 07:04:44 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Apr 5 07:04:44 rpmi: python3-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-django-json-rpc-0.6.2-alt2.git0d98fb.2.nosrc.rpm <13>Apr 5 07:04:47 rpmi: python-module-pkg_resources-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed <13>Apr 5 07:04:47 rpmi: python-module-setuptools-1:40.8.0-alt1 sisyphus+221229.100.2.1 1550559950 installed Installing python-module-django-json-rpc-0.6.2-alt2.git0d98fb.2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.46225 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-django-json-rpc-0.6.2 + echo 'Source #0 (python-module-django-json-rpc-0.6.2.tar):' Source #0 (python-module-django-json-rpc-0.6.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-django-json-rpc-0.6.2.tar + cd python-module-django-json-rpc-0.6.2 + /bin/chmod -c -Rf u+rwX,go-w . + find . -name '*.py' -print0 + xargs -0 sed -i -e 's/from jsonrpc/from django_jsonrpc/' + sed -i -e 's/from jsonrpc/from django_jsonrpc/' README.mdown + sed -i -e 's/packages=\['\''jsonrpc'\''\]/packages=['\''django_jsonrpc'\'']/' setup.py + sed -i -e 's/package_data={'\''jsonrpc'\''/package_data={'\''django_jsonrpc'\''/' setup.py + mv jsonrpc django_jsonrpc + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.46225 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-json-rpc-0.6.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/python2.7 setup.py build running build running build_py creating build creating build/lib creating build/lib/django_jsonrpc copying django_jsonrpc/__init__.py -> build/lib/django_jsonrpc copying django_jsonrpc/_json.py -> build/lib/django_jsonrpc copying django_jsonrpc/exceptions.py -> build/lib/django_jsonrpc copying django_jsonrpc/mochikit.py -> build/lib/django_jsonrpc copying django_jsonrpc/proxy.py -> build/lib/django_jsonrpc copying django_jsonrpc/site.py -> build/lib/django_jsonrpc copying django_jsonrpc/types.py -> build/lib/django_jsonrpc copying django_jsonrpc/views.py -> build/lib/django_jsonrpc creating build/lib/django_jsonrpc/templates copying django_jsonrpc/templates/browse.html -> build/lib/django_jsonrpc/templates + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + 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: No changes to ./test/jsontesturls.py RefactoringTool: Refactored ./test/subprocess_.py --- ./test/subprocess_.py (original) +++ ./test/subprocess_.py (refactored) @@ -421,7 +421,7 @@ def _cleanup(): for inst in _active[:]: - if inst._internal_poll(_deadstate=sys.maxint) >= 0: + if inst._internal_poll(_deadstate=sys.maxsize) >= 0: try: _active.remove(inst) except ValueError: @@ -541,7 +541,7 @@ _cleanup() self._child_created = False - if not isinstance(bufsize, (int, long)): + if not isinstance(bufsize, int): raise TypeError("bufsize must be an integer") if mswindows: @@ -635,7 +635,7 @@ # We didn't get to successfully create a child process. return # In case the child hasn't been waited on, check if it's done. - self._internal_poll(_deadstate=sys.maxint) + self._internal_poll(_deadstate=sys.maxsize) if self.returncode is None and _active is not None: # Child is still running, keep us alive until we can wait on it. _active.append(self) @@ -776,7 +776,7 @@ errread, errwrite): """Execute program (MS Windows version)""" - if not isinstance(args, types.StringTypes): + if not isinstance(args, (str,)): args = list2cmdline(args) # Process startup details @@ -793,7 +793,7 @@ startupinfo.wShowWindow = SW_HIDE comspec = os.environ.get("COMSPEC", "cmd.exe") args = comspec + " /c " + args - if (GetVersion() >= 0x80000000L or + if (GetVersion() >= 0x80000000 or os.path.basename(comspec).lower() == "command.com"): # Win9x, or using command.com on NT. We need to # use the w9xpopen intermediate program. For more @@ -819,7 +819,7 @@ env, cwd, startupinfo) - except pywintypes.error, e: + except pywintypes.error as e: # Translate pywintypes.error to WindowsError, which is # a subclass of OSError. FIXME: We should really # translate errno using _sys_errlist (or simliar), but @@ -1001,7 +1001,7 @@ errread, errwrite): """Execute program (POSIX version)""" - if isinstance(args, types.StringTypes): + if isinstance(args, (str,)): args = [args] else: args = list(args) @@ -1164,7 +1164,7 @@ while read_set or write_set: try: rlist, wlist, xlist = select.select(read_set, write_set, []) - except select.error, e: + except select.error as e: if e.args[0] == errno.EINTR: continue raise @@ -1234,8 +1234,8 @@ # Example 1: Simple redirection: Get process list # plist = Popen(["ps"], stdout=PIPE).communicate()[0] - print "Process list:" - print plist + print("Process list:") + print(plist) # # Example 2: Change uid before executing child @@ -1247,42 +1247,42 @@ # # Example 3: Connecting several subprocesses # - print "Looking for 'hda'..." + print("Looking for 'hda'...") p1 = Popen(["dmesg"], stdout=PIPE) p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE) - print repr(p2.communicate()[0]) + print(repr(p2.communicate()[0])) # # Example 4: Catch execution error # - print - print "Trying a weird file..." + print() + print("Trying a weird file...") try: - print Popen(["/this/path/does/not/exist"]).communicate() - except OSError, e: + print(Popen(["/this/path/does/not/exist"]).communicate()) + except OSError as e: if e.errno == errno.ENOENT: - print "The file didn't exist. I thought so..." - RefactoringTool: Refactored ./test/test.py print "Child traceback:" - print e.child_traceback + print("The file didn't exist. I thought so...") + print("Child traceback:") + print(e.child_traceback) else: - print "Error", e.errno + print("Error", e.errno) else: - print >>sys.stderr, "Gosh. No error." + print("Gosh. No error.", file=sys.stderr) def _demo_windows(): # # Example 1: Connecting several subprocesses # - print "Looking for 'PROMPT' in set output..." + print("Looking for 'PROMPT' in set output...") p1 = Popen("set", stdout=PIPE, shell=True) p2 = Popen('find "PROMPT"', stdin=p1.stdout, stdout=PIPE) - print repr(p2.communicate()[0]) + print(repr(p2.communicate()[0])) # # Example 2: Simple execution of program # - print "Executing calc..." + print("Executing calc...") p = Popen("calc") p.wait() --- ./test/test.py (original) +++ ./test/test.py (refactored) @@ -4,9 +4,9 @@ try: import subprocess except ImportError: - import subprocess_ as subprocess + from . import subprocess_ as subprocess import time -import urllib +import urllib.request, urllib.parse, urllib.error sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) @@ -53,7 +53,7 @@ def _call(host, req): - return loads(urllib.urlopen(host, dumps(req)).read()) + return loads(urllib.request.urlopen(host, dumps(req)).read()) def json_serve_thread(): @@ -109,7 +109,7 @@ @jsonrpc_method('jsonrpc.varArgs(String, String, str3=String) -> Array', validate=True) def checkedVarArgsEcho(request, *args, **kw): - return list(args) + kw.values() + return list(args) + list(kw.values()) class JSONRPCFunctionalTests(unittest.TestCase): @@ -132,38 +132,38 @@ ] for sig in working_sigs: ret = _parse_sig(sig[0], list(iter(sig[2]))) - self.assertEquals(ret[0], sig[1]) - self.assertEquals(ret[1], sig[2]) - self.assertEquals(ret[2], sig[3]) + self.assertEqual(ret[0], sig[1]) + self.assertEqual(ret[1], sig[2]) + self.assertEqual(ret[2], sig[3]) for sig in error_sigs: e = None try: _parse_sig(sig[0], ['a']) - except Exception, exc: + except Exception as exc: e = exc - self.assert_(type(e) is sig[1]) + self.assertTrue(type(e) is sig[1]) def test_validate_args(self): sig = 'jsonrpc(String, String) -> String' M = jsonrpc_method(sig, validate=True)(lambda r, s1, s2: s1+s2) - self.assert_(validate_params(M, {'params': ['omg', u'wtf']}) is None) + self.assertTrue(validate_params(M, {'params': ['omg', 'wtf']}) is None) E = None try: validate_params(M, {'params': [['omg'], ['wtf']]}) - except Exception, e: + except Exception as e: E = e - self.assert_(type(E) is InvalidParamsError) + self.assertTrue(type(E) is InvalidParamsError) def test_validate_args_any(self): sig = 'jsonrpc(s1=Any, s2=Any)' M = jsonrpc_method(sig, validate=True)(lambda r, s1, s2: s1+s2) - self.assert_(validate_params(M, {'params': ['omg', 'wtf']}) is None) - self.assert_(validate_params(M, {'params': [['omg'], ['wtf']]}) is None) - self.assert_(validate_params(M, {'params': {'s1': 'omg', 's2': 'wtf'}}) is None) + self.assertTrue(validate_params(M, {'params': ['omg', 'wtf']}) is None) + self.assertTrue(validate_params(M, {'params': [['omg'], ['wtf']]}) is None) + self.assertTrue(validate_params(M, {'params': {'s1': 'omg', 's2': 'wtf'}}) is None) def test_types(self): - assert type(u'') == String + assert type('') == String assert type('') == String assert not type('') == Object assert not type([]) == Object @@ -193,20 +193,20 @@ def test_positional_args(self): proxy = ServiceProxy(self.host) - self.assert_(proxy.jsonrpc.test('Hello')[u'result'] == 'Hello') + self.assertTrue(proxy.jsonrpc.test('Hello')['result'] == 'Hello') try: proxy.jsonrpc.test(string='Hello') - except Exception, e: - self.assert_(e.args[0] == 'Unsupported arg type for JSON-RPC 1.0 ' + except Exception as e: + self.assertTrue(e.args[0] == 'Unsupported arg type for JSON-RPC 1.0 ' '(the default version for this client, ' 'pass version="2.0" to use keyword arguments)') else: - self.assert_(False, 'Proxy didnt warn about version mismatch') + self.assertTrue(False, 'Proxy didnt warn about version mismatch') def test_keyword_args(self): proxy = ServiceProxy(self.host, version='2.0') - self.assert_(proxy.jsonrpc.test(string='Hello')[u'result'] == 'Hello') - self.assert_(proxy.jsonrpc.test('Hello')[u'result'] == 'Hello') + self.assertTrue(proxy.jsonrpc.test(string='Hello')['result'] == 'Hello') + self.assertTrue(proxy.jsonrpc.test('Hello')['result'] == 'Hello') class JSONRPCTest(unittest.TestCase): @@ -228,36 +228,36 @@ def test_10(self): self.assertEqual( - self.proxy10.jsonrpc.test('this is a string')[u'result'], - u'this is a string') + self.proxy10.jsonrpc.test('this is a string')['result'], + 'this is a string') def test_11(self): req = { - u'version': u'1.1', - u'method': u'jsonrpc.test', - u'params': [u'this is a string'], - u'id': u'holy-mother-of-god' + 'version': '1.1', + 'method': 'jsonrpc.test', + 'params': ['this is a string'], + 'id': 'holy-mother-of-god' } resp = _call(self.host, req) - self.assertEquals(resp[u'id'], req[u'id']) - self.assertEquals(resp[u'result'], req[u'params'][0]) + self.assertEqual(resp['id'], req['id']) + self.assertEqual(resp['result'], req['params'][0]) def test_10_notify(self): pass def test_11_positional_mixed_args(self): req = { - u'version': u'1.1', - u'method': u'jsonrpc.strangeEcho', - u'params': {u'1': u'this is a string', u'2': u'this is omg', - u'wtf': u'pants', u'nowai': 'nopants'}, - u'id': u'toostrange' + 'version': '1.1', + 'method': 'jsonrpc.strangeEcho', + 'params': {'1': 'this is a string', '2': 'this is omg', + 'wtf': 'pants', 'nowai': 'nopants'}, + 'id': 'toostrange' } resp = _call(self.host, req) - self.assertEquals(resp[u'result'][-1], u'Default') - self.assertEquals(resp[u'result'][1], u'this is omg') - self.assertEquals(resp[u'result'][0], u'this is a string') - self.assert_(u'error' not in resp) + self.assertEqual(resp['result'][-1], 'Default') + self.assertEqual(resp['result'][1], 'this is omg') + self.assertEqual(resp['result'][0], 'this is a string') + self.assertTrue('error' not in resp) def test_11_GET(self): pass @@ -266,109 +266,109 @@ pass def test_11_GET_mixed_args(self): - params = {u'1': u'this is a string', u'2': u'this is omg', - u'wtf': u'pants', u'nowai': 'nopants'} + params = {'1': 'this is a string', '2': 'this is omg', + 'wtf': 'pants', 'nowai': 'nopants'} url = "%s%s?%s" % ( self.host, 'jsonrpc.strangeSafeEcho', - (''.join(['%s=%s&' % (k, urllib.quote(v)) for k, v in params.iteritems()])).rstrip('&') + (''.join(['%s=%s&' % (k, urllib.parse.quote(v)) for k, v in params.items()])).rstrip('&') ) - resp = loads(urllib.urlopen(url).read()) - self.assertEquals(resp[u'result'][-1], u'Default') - self.assertEquals(resp[u'result'][1], u'this is omg') - self.assertEquals(resp[u'result'][0], u'this is a string') - self.assert_(u'error' not in resp) + resp = loads(urllib.request.urlopen(url).read()) + self.assertEqual(resp['result'][-1], 'Default') + self.assertEqual(resp['result'][1], 'this is omg') + self.assertEqual(resp['result'][0], 'this is a string') + self.assertTrue('error' not in resp) def test_20_checked(self): self.assertEqual( - self.proxy10.jsonrpc.varArgs('o', 'm', 'g')[u'result'], + self.proxy10.jsonrpc.varArgs('o', 'm', 'g')['result'], ['o', 'm', 'g'] ) - self.assert_(self.proxy10.jsonrpc.varArgs(1,2,3)[u'error']) + self.assertTrue(self.proxy10.jsonrpc.varArgs(1,2,3)['error']) def test_11_service_description(self): pass def test_20_keyword_args(self): self.assertEqual( - self.proxy20.jsonrpc.test(string='this is a string')[u'result'], - u'this is a string') + self.proxy20.jsonrpc.test(string='this is a string')['result'], + 'this is a string') def test_20_positional_args(self): self.assertEqual( - self.proxy20.jsonrpc.test('this is a string')[u'result'], - u'this is a string') + self.proxy20.jsonrpc.test('this is a string')['result'], + 'this is a string') def test_20_notify(self): req = { - u'jsonrpc': u'2.0', - u'method': u'jsonrpc.notify', - u'params': [u'this is a string'], - u'id': None + 'jsonrpc': '2.0', + 'method': 'jsonrpc.notify', + 'params': ['this is a string'], + 'id': None } - resp = urllib.urlopen(self.host, dumps(req)).read() - self.assertEquals(resp, '') + resp = urllib.request.urlopen(self.host, dumps(req)).read() + self.assertEqual(resp, '') def test_20_batch(self): req = [{ - u'jsonrpc': u'2.0', - u'method': u'jsonrpc.test', - u'params': [u'this is a string'], - u'id': u'id-'+unicode(i) + 'jsonrpc': '2.0', + 'method': 'jsonrpc.test', + 'params': ['this is a string'], + 'id': 'id-'+str(i) } for i in range(5)] - resp = loads(urllib.urlopen(self.host, dumps(req)).read()) - self.assertEquals(len(resp), len(req)) + resp = loads(urllib.request.urlopen(self.host, dumps(req)).read()) + self.assertEqual(len(resp), len(req)) for i, D in enumerate(resp): - self.assertEquals(D[u'result'], req[i][u'params'][0]) - self.assertEquals(D[u'id'], req[i][u'id']) + self.assertEqual(D['result'], req[i]['params'][0]) + self.assertEqual(D['id'], req[i]['id']) def test_20_batch_with_errors(self): req = [{ - u'jsonrpc': u'2.0', - u'method': u'jsonrpc.test' if not i % 2 else u'jsonrpc.fails', - u'params': [u'this is a string'], - u'id': u'id-'+unicode(i) + 'jsonrpc': '2.0', + 'method': 'jsonrpc.test' if not i % 2 else 'jsonrpc.fails', + 'params': ['this is a string'], + 'id': 'id-'+str(i) } for i in range(10)] - resp = loads(urllib.urlopen(self.host, dumps(req)).read()) - self.assertEquals(len(resp), len(req)) + resp = loads(urllib.request.urlopen(self.host, dumps(req)).read()) + self.assertEqual(len(resp), len(req)) for i, D in enumerate(resp): if not i % 2: - self.assertEquals(D[u'result'], req[i][u'params'][0]) - self.assertEquals(D[u'id'], req[i][u'id']) - self.assert_(u'error' not in D) + self.assertEqual(D['result'], req[i]['params'][0]) + self.assertEqual(D['id'], req[i]['id']) + self.assertTrue('error' not in D) else: - self.assert_(u'result' not in D) - self.assert_(u'error' in D) - self.assertEquals(D[u'error'][u'code'], 500) + self.assertTrue('result' not in D) + self.assertTrue('error' in D) + self.assertEqual(D['error']['code'], 500) def test_authenticated_ok(self): - self.assertEquals( + self.assertEqual( self.proxy10.jsonrpc.testAuth( - 'sammeh', 'password', u'this is a string')[u'result'], - u'this is a string') + 'sammeh', 'password', 'this is a string')['result'], + 'this is a string') def test_authenticated_ok_kwargs(self): - self.assertEquals( + self.assertEqual( self.proxy20.jsonrpc.testAuth( - username='sammeh', password='password', string=u'this is a string')[u'result'], - u'this is a string') + username='sammeh', password='password', string='this is a string')['result'], + 'this is a string') def test_authenticated_fail_kwargs(self): try: self.proxy20.jsonrpc.testAuth( - username='osammeh', password='pRefactoringTool: Refactored ./django_jsonrpc/__init__.py RefactoringTool: No changes to ./django_jsonrpc/_json.py RefactoringTool: Refactored ./django_jsonrpc/exceptions.py RefactoringTool: No changes to ./django_jsonrpc/mochikit.py RefactoringTool: Refactored ./django_jsonrpc/proxy.py RefactoringTool: Refactored ./django_jsonrpc/site.py assword', string=u'this is a string') - except IOError, e: - self.assertEquals(e.args[1], 401) + username='osammeh', password='password', string='this is a string') + except IOError as e: + self.assertEqual(e.args[1], 401) else: - self.assert_(False, 'Didnt return status code 401 on unauthorized access') + self.assertTrue(False, 'Didnt return status code 401 on unauthorized access') def test_authenticated_fail(self): try: self.proxy10.jsonrpc.testAuth( - 'osammeh', 'password', u'this is a string') - except IOError, e: - self.assertEquals(e.args[1], 401) + 'osammeh', 'password', 'this is a string') + except IOError as e: + self.assertEqual(e.args[1], 401) else: - self.assert_(False, 'Didnt return status code 401 on unauthorized access') + self.assertTrue(False, 'Didnt return status code 401 on unauthorized access') if __name__ == '__main__': --- ./django_jsonrpc/__init__.py (original) +++ ./django_jsonrpc/__init__.py (refactored) @@ -42,7 +42,7 @@ """ try: T = eval(arg_type) - except Exception, e: + except Exception as e: raise ValueError('The type of %s could not be evaluated in %s for %s: %s' % (arg_type, arg, sig, str(e))) else: --- ./django_jsonrpc/exceptions.py (original) +++ ./django_jsonrpc/exceptions.py (refactored) @@ -30,9 +30,9 @@ """ return the Exception data in a format for JSON-RPC """ error = { - 'name': unicode(self.__class__.__name__), + 'name': str(self.__class__.__name__), 'code': self.code, - 'message': "%s: %s" % (unicode(self.__class__.__name__), unicode(self.message)), + 'message': "%s: %s" % (str(self.__class__.__name__), str(self.message)), 'data': self.data} from django.conf import settings --- ./django_jsonrpc/proxy.py (original) +++ ./django_jsonrpc/proxy.py (refactored) @@ -1,4 +1,4 @@ -import urllib, uuid +import urllib.request, urllib.parse, urllib.error, uuid from django.test.client import FakePayload from django_jsonrpc._json import loads, dumps @@ -22,7 +22,7 @@ def send_payload(self, params): """Performs the actual sending action and returns the result""" - return urllib.urlopen(self.service_url, + return urllib.request.urlopen(self.service_url, dumps({ "jsonrpc": self.version, "method": self.service_name, @@ -38,11 +38,11 @@ r = self.send_payload(params) y = loads(r) - if u'error' in y: + if 'error' in y: try: from django.conf import settings if settings.DEBUG: - print '%s error %r' % (self.service_name, y) + print('%s error %r' % (self.service_name, y)) except: pass return y --- ./django_jsonrpc/site.py (original) +++ ./django_jsonrpc/site.py (refactored) @@ -14,14 +14,14 @@ from django.core.serializers.json import DjangoJSONEncoder NoneType = type(None) -encode_kw = lambda p: dict([(str(k), v) for k, v in p.iteritems()]) +encode_kw = lambda p: dict([(str(k), v) for k, v in p.items()]) def encode_kw11(p): if not type(p) is dict: return {} ret = p.copy() removes = [] - for k, v in ret.iteritems(): + for k, v in ret.items(): try: int(k) except ValueError: @@ -40,7 +40,7 @@ else: pos = [] d = encode_kw(p) - for k, v in d.iteritems(): + for k, v in d.items(): try: pos.append(int(k)) except ValueError: @@ -51,7 +51,7 @@ def validate_params(method, D): if type(D['params']) == Object: - keys = method.json_arg_types.keys() + keys = list(method.json_arg_types.keys()) if len(keys) != len(D['params']): raise InvalidParamsError('Not enough params provided for %s' % method.json_sig) for k in keys: @@ -62,7 +62,7 @@ raise InvalidParamsError('%s is not the correct type %s for %s' % (type(D['params'][k]), method.json_arg_types[k], method.json_sig)) elif type(D['params'RefactoringTool: Refactored ./django_jsonrpc/types.py ]) == Array: - arg_types = method.json_arg_types.values() + arg_types = list(method.json_arg_types.values()) try: for i, arg in enumerate(D['params']): if not Any.kind(arg) == arg_types[i]: @@ -89,7 +89,7 @@ self.json_encoder = json_encoder def register(self, name, method): - self.urls[unicode(name)] = method + self.urls[str(name)] = method def empty_response(self, version='1.0'): resp = {'id': None} @@ -105,7 +105,7 @@ encode_get_params = lambda r: dict([(k, v[0] if len(v) == 1 else v) for k, v in r]) if request.method == 'GET': - method = unicode(method) + method = str(method) if method in self.urls and getattr(self.urls[method], 'json_safe', False): D = { 'params': encode_get_params(request.GET.lists()), @@ -133,7 +133,7 @@ raise InvalidParamsError('Request requires str:"method" and list:"params"') if D['method'] not in self.urls: raise MethodNotFoundError('Method not found. Available methods: %s' % ( - '\n'.join(self.urls.keys()))) + '\n'.join(list(self.urls.keys())))) if 'jsonrpc' in D: if str(D['jsonrpc']) not in apply_version: @@ -163,24 +163,23 @@ return None, 204 encoder = json_encoder() - if not sum(map(lambda e: isinstance(R, e), # type of `R` should be one of these or... - (dict, str, unicode, int, long, list, set, NoneType, bool))): + if not sum([isinstance(R, e) for e in (dict, str, str, int, int, list, set, NoneType, bool)]): try: rs = encoder.default(R) # ...or something this thing supports - except TypeError, exc: + except TypeError as exc: raise TypeError("Return type not supported, for %r" % R) response['result'] = R status = 200 - except Error, e: + except Error as e: signals.got_request_exception.send(sender=self.__class__, request=request) response['error'] = e.json_rpc_format if version in ('1.1', '2.0') and 'result' in response: response.pop('result') status = e.status - except Exception, e: + except Exception as e: # exception missed by others signals.got_request_exception.send(sender=self.__class__, request=request) other_error = OtherError(e) @@ -225,16 +224,16 @@ status = 200 else: response, status = self.response_dict(request, D, json_encoder=json_encoder) - if response is None and (not u'id' in D or D[u'id'] is None): # a notification + if response is None and (not 'id' in D or D['id'] is None): # a notification return HttpResponse('', status=status) json_rpc = dumps(response, cls=json_encoder) - except Error, e: + except Error as e: signals.got_request_exception.send(sender=self.__class__, request=request) response['error'] = e.json_rpc_format status = e.status json_rpc = dumps(response, cls=json_encoder) - except Exception, e: + except Exception as e: # exception missed by others signals.got_request_exception.send(sender=self.__class__, request=request) other_error = OtherError(e) @@ -253,7 +252,7 @@ 'summary': M.__doc__, 'idempotent': M.json_safe, 'params': [{'type': str(Any.kind(t)), 'name': k} - for k, t in M.json_arg_types.iteritems()], + for k, t in M.json_arg_types.items()], 'return': {'type': M.json_return_type}} def service_desc(self): @@ -264,7 +263,7 @@ 'summary': self.__doc__, 'version': self.version, 'procs': [self.procedure_desc(k) - for k in self.urls.iterkeys() + for k in self.urls.keys() if self.urls[k] != self.describe]} def describe(self, request): --- ./django_jsonrpc/types.py (original) +++ ./django_jsonrpc/types.py (refactored) @@ -1,3 +1,4 @@ +from functools import reduce def _types_gen(T): yield T if hasattr(T, 't'): @@ -51,8 +5RefactoringTool: Refactored ./django_jsonrpc/views.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./test/jsontesturls.py RefactoringTool: ./test/subprocess_.py RefactoringTool: ./test/test.py RefactoringTool: ./django_jsonrpc/__init__.py RefactoringTool: ./django_jsonrpc/_json.py RefactoringTool: ./django_jsonrpc/exceptions.py RefactoringTool: ./django_jsonrpc/mochikit.py RefactoringTool: ./django_jsonrpc/proxy.py RefactoringTool: ./django_jsonrpc/site.py RefactoringTool: ./django_jsonrpc/types.py RefactoringTool: ./django_jsonrpc/views.py 2,7 @@ ty = lambda t: t return reduce( lambda L, R: R if (hasattr(R, 't') and ty(t) == R) else L, - filter(lambda T: T is not Any, - _types_gen(self))) + [T for T in _types_gen(self) if T is not Any]) def decode(self, n): return reduce( @@ -61,9 +61,9 @@ # JSON primitives and data types Object = Type('Object', (object,), {}).I(dict).N('obj') -Number = Type('Number', (object,), {}).I(int, long).N('num') +Number = Type('Number', (object,), {}).I(int, int).N('num') Boolean = Type('Boolean', (object,), {}).I(bool).N('bit') -String = Type('String', (object,), {}).I(str, unicode).N('str') +String = Type('String', (object,), {}).I(str, str).N('str') Array = Type('Array', (object,), {}).I(list, set, tuple).N('arr') Nil = Type('Nil', (object,), {}).I(type(None)).N('nil') Any = Type('Any', (object,), {}).I( --- ./django_jsonrpc/views.py (original) +++ ./django_jsonrpc/views.py (refactored) @@ -1,4 +1,4 @@ -from _json import dumps +from ._json import dumps from django.http import HttpResponse from django.shortcuts import render_to_response from django_jsonrpc.site import jsonrpc_site + 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/django_jsonrpc copying django_jsonrpc/__init__.py -> build/lib/django_jsonrpc copying django_jsonrpc/_json.py -> build/lib/django_jsonrpc copying django_jsonrpc/exceptions.py -> build/lib/django_jsonrpc copying django_jsonrpc/mochikit.py -> build/lib/django_jsonrpc copying django_jsonrpc/proxy.py -> build/lib/django_jsonrpc copying django_jsonrpc/site.py -> build/lib/django_jsonrpc copying django_jsonrpc/types.py -> build/lib/django_jsonrpc copying django_jsonrpc/views.py -> build/lib/django_jsonrpc creating build/lib/django_jsonrpc/templates copying django_jsonrpc/templates/browse.html -> build/lib/django_jsonrpc/templates + popd ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.92611 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-django-json-rpc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-django-json-rpc-buildroot + cd python-module-django-json-rpc-0.6.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/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-json-rpc-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-django-json-rpc-buildroot creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/templates/browse.html -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/views.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/types.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/site.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/proxy.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/mochikit.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/exceptions.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/_json.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/__init__.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py to views.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.py to types.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py to site.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py to proxy.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.py to mochikit.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py to _json.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py to __init__.pyc running install_egg_info running egg_info creating django_json_rpc.egg-info writing requirements to django_json_rpc.egg-info/requires.txt writing django_json_rpc.egg-info/PKG-INFO writing top-level names to django_json_rpc.egg-info/top_level.txt writing dependency_links to django_json_rpc.egg-info/dependency_links.txt writing manifest file 'django_json_rpc.egg-info/SOURCES.txt' reading manifest file 'django_json_rpc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'jsonrpc/templates' writing manifest file 'django_json_rpc.egg-info/SOURCES.txt' Copying django_json_rpc.egg-info to /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-json-rpc-0.6.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/python-module-django-json-rpc-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/templates/browse.html -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/views.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/types.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/site.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/proxy.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/mochikit.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/exceptions.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/_json.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/__init__.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py to views.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py to types.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py to site.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py to proxy.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py to mochikit.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py to exceptions.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py to _json.cpython-36.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py to __init__.cpython-36.pyc running install_egg_info running egg_info creating django_json_rpc.egg-info writing django_json_rpc.egg-info/PKG-INFO writing dependency_links to django_json_rpc.egg-info/dependency_links.txt writing requirements to django_json_rpc.egg-info/requires.txt writing top-level names to django_json_rpc.egg-info/top_level.txt writing manifest file 'django_json_rpc.egg-info/SOURCES.txt' reading manifest file 'django_json_rpc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'jsonrpc/templates' writing manifest file 'django_json_rpc.egg-info/SOURCES.txt' Copying django_json_rpc.egg-info to /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.6.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-django-json-rpc-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-django-json-rpc-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python-module-django-json-rpc-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-django-json-rpc-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-django-json-rpc-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-django-json-rpc-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-django-json-rpc-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.pyc compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-django-json-rpc-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py Bytecompiling python3 modules in /usr/src/tmp/python-module-django-json-rpc-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-36.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-36.pyc compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-django-json-rpc-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-django-json-rpc-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-36.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-36.opt-2.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-36.opt-1.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-36.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-36.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/django_jsonrpc/views.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/views.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/types.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/types.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/site.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/site.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/proxy.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/proxy.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/_json.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/_json.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/__init__.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/__init__.pyc' Processing files: python-module-django-json-rpc-0.6.2-alt2.git0d98fb.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.50910 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-json-rpc-0.6.2 + DOCDIR=/usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + /bin/mkdir -p /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + cp -prL README.ALT README.mdown /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + chmod -R go-w /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + chmod -R a+rX /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BKvqPm find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.spN75v find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: line=182 IGNORE (for REQ=slight and deep=20) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: line=183 IGNORE (for REQ=slight and deep=20) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py: line=2 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py: line=5 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py: line=7 IGNORE (for REQ=slight and deep=12) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=2 IGNORE (for REQ=slight and deep=8) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=38 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=traceback python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py: line=43 IGNORE (for REQ=slight and deep=19) module=django python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: line=10 IGNORE (for REQ=slight and deep=8) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: line=201 IGNORE (for REQ=slight and deep=12) module=django python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py: hiding _json, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED Provides: python2.7-module-django-json-rpc = 0.6.2-alt2.git0d98fb.2, python2.7(django_jsonrpc), python2.7(django_jsonrpc._json), python2.7(django_jsonrpc.exceptions), python2.7(django_jsonrpc.mochikit), python2.7(django_jsonrpc.proxy), python2.7(django_jsonrpc.site), python2.7(django_jsonrpc.types), python2.7(django_jsonrpc.views) Requires: python = 2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(django), python2.7(inspect) Processing files: python3-module-django-json-rpc-0.6.2-alt2.git0d98fb.2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.88158 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-json-rpc-0.6.2 + DOCDIR=/usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + /bin/mkdir -p /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + cp -prL README.ALT README.mdown /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + chmod -R go-w /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + chmod -R a+rX /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1pBBb7 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gTFY1o find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py: line=182 IGNORE (for REQ=slight and deep=20) module=django.contrib.auth /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py: line=183 IGNORE (for REQ=slight and deep=20) module=django.contrib.auth.models /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py: line=2 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py: line=5 IGNORE (for REQ=slight and deep=12) module=django.utils /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py: line=7 IGNORE (for REQ=slight and deep=12) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=2 IGNORE (for REQ=slight and deep=8) module=django.utils.translation /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=38 IGNORE (for REQ=slight and deep=12) module=django.conf /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=traceback /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py: line=43 IGNORE (for REQ=slight and deep=19) module=django.conf /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py: line=10 IGNORE (for REQ=slight and deep=8) module=django.views.decorators.csrf /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py: line=200 IGNORE (for REQ=slight and deep=12) module=django.http /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py: line=1 possible relative import from ., UNIMPLEMENTED Provides: python3(django_jsonrpc), python3(django_jsonrpc._json), python3(django_jsonrpc.exceptions), python3(django_jsonrpc.mochikit), python3(django_jsonrpc.proxy), python3(django_jsonrpc.site), python3(django_jsonrpc.types), python3(django_jsonrpc.views) Requires: /usr/lib/python3/site-packages, python3(base64) < 0, python3(datetime) < 0, python3(decimal) < 0, python3(django.core) < 0, python3(django.core.serializers.json) < 0, python3(django.http) < 0, python3(django.shortcuts) < 0, python3(django.test.client) < 0, python3(django.utils.datastructures) < 0, python3(functools) < 0, python3(inspect) < 0, python3(re) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(uuid) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-django-json-rpc-0.6.2-alt2.git0d98fb.2.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-django-json-rpc-0.6.2-alt2.git0d98fb.2.noarch.rpm 12.75user 0.78system 0:20.44elapsed 66%CPU (0avgtext+0avgdata 23376maxresident)k 0inputs+0outputs (0major+263665minor)pagefaults 0swaps 20.90user 4.11system 0:33.72elapsed 74%CPU (0avgtext+0avgdata 116592maxresident)k 27664inputs+0outputs (0major+764523minor)pagefaults 0swaps --- python-module-django-json-rpc-0.6.2-alt2.git0d98fb.2.noarch.rpm.repo 2018-05-22 09:42:36.000000000 +0000 +++ python-module-django-json-rpc-0.6.2-alt2.git0d98fb.2.noarch.rpm.hasher 2019-04-05 07:05:08.860288204 +0000 @@ -1,2 +1,8 @@ -/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info 100644 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info 40755 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info/PKG-INFO 100644 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info/SOURCES.txt 100644 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info/dependency_links.txt 100644 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info/not-zip-safe 100644 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info/requires.txt 100644 +/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info/top_level.txt 100644 /usr/lib/python2.7/site-packages/django_jsonrpc 40755