<86>Aug 1 11:00:30 userdel[564732]: delete user 'rooter' <86>Aug 1 11:00:30 userdel[564732]: removed group 'rooter' owned by 'rooter' <86>Aug 1 11:00:30 userdel[564732]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 1 11:00:30 groupadd[564773]: group added to /etc/group: name=rooter, GID=642 <86>Aug 1 11:00:30 groupadd[564773]: group added to /etc/gshadow: name=rooter <86>Aug 1 11:00:30 groupadd[564773]: new group: name=rooter, GID=642 <86>Aug 1 11:00:30 useradd[564796]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Aug 1 11:00:30 userdel[564847]: delete user 'builder' <86>Aug 1 11:00:30 userdel[564847]: removed group 'builder' owned by 'builder' <86>Aug 1 11:00:30 userdel[564847]: removed shadow group 'builder' owned by 'builder' <86>Aug 1 11:00:30 groupadd[564870]: group added to /etc/group: name=builder, GID=643 <86>Aug 1 11:00:30 groupadd[564870]: group added to /etc/gshadow: name=builder <86>Aug 1 11:00:30 useradd[564886]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>Aug 1 11:00:31 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Aug 1 11:00:32 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103337 installed <13>Aug 1 11:00:32 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Aug 1 11:00:32 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Aug 1 11:00:32 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 1 11:00:32 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Aug 1 11:00:32 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Aug 1 11:00:32 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Aug 1 11:00:32 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Aug 1 11:00:32 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Aug 1 11:00:32 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Aug 1 11:00:32 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 1 11:00:32 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 1 11:00:33 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 1 11:00:33 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Aug 1 11:00:33 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Aug 1 11:00:36 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Aug 1 11:00:36 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Aug 1 11:00:36 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Aug 1 11:00:36 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587127349 installed <13>Aug 1 11:00:36 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Aug 1 11:00:36 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Aug 1 11:00:36 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Aug 1 11:00:36 groupadd[596698]: group added to /etc/group: name=_keytab, GID=499 <86>Aug 1 11:00:36 groupadd[596698]: group added to /etc/gshadow: name=_keytab <86>Aug 1 11:00:36 groupadd[596698]: new group: name=_keytab, GID=499 <13>Aug 1 11:00:36 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489307 installed <13>Aug 1 11:00:36 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Aug 1 11:00:36 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Aug 1 11:00:36 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Aug 1 11:00:36 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Aug 1 11:00:36 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003681 installed <13>Aug 1 11:00:36 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Aug 1 11:00:36 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python-module-z3c.json-0.5.5-alt2.1.1.nosrc.rpm (w1.gzdio) Installing python-module-z3c.json-0.5.5-alt2.1.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.29077 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-z3c.json-0.5.5 + echo 'Source #0 (python-module-z3c.json-0.5.5.tar):' Source #0 (python-module-z3c.json-0.5.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-z3c.json-0.5.5.tar + cd python-module-z3c.json-0.5.5 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.44116 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-z3c.json-0.5.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/z3c copying src/z3c/__init__.py -> build/lib/z3c creating build/lib/z3c/json copying src/z3c/json/transport.py -> build/lib/z3c/json copying src/z3c/json/tests.py -> build/lib/z3c/json copying src/z3c/json/testing.py -> build/lib/z3c/json copying src/z3c/json/proxy.py -> build/lib/z3c/json copying src/z3c/json/minjson.py -> build/lib/z3c/json copying src/z3c/json/interfaces.py -> build/lib/z3c/json copying src/z3c/json/exceptions.py -> build/lib/z3c/json copying src/z3c/json/converter.py -> build/lib/z3c/json copying src/z3c/json/__init__.py -> build/lib/z3c/json running egg_info writing requirements to src/z3c.json.egg-info/requires.txt writing src/z3c.json.egg-info/PKG-INFO writing namespace_packages to src/z3c.json.egg-info/namespace_packages.txt writing top-level names to src/z3c.json.egg-info/top_level.txt writing dependency_links to src/z3c.json.egg-info/dependency_links.txt reading manifest file 'src/z3c.json.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/z3c.json.egg-info/SOURCES.txt' copying src/z3c/json/README.txt -> build/lib/z3c/json copying src/z3c/json/configure.zcml -> build/lib/z3c/json copying src/z3c/json/z3c.json-configure.zcml -> build/lib/z3c/json + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-z3c.json-0.5.5 + 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: Refactored ./src/z3c/json/transport.py RefactoringTool: Refactored ./src/z3c/json/tests.py --- ./src/z3c/json/transport.py (original) +++ ./src/z3c/json/transport.py (refactored) @@ -17,8 +17,8 @@ __docformat__ = "reStructuredText" import string -import urllib -import httplib +import urllib.request, urllib.parse, urllib.error +import http.client import base64 import types @@ -129,13 +129,13 @@ """ x509 = {} - if isinstance(host, types.TupleType): + if isinstance(host, tuple): host, x509 = host - auth, host = urllib.splituser(host) + auth, host = urllib.parse.splituser(host) if auth: - auth = base64.encodestring(urllib.unquote(auth)) + auth = base64.encodestring(urllib.parse.unquote(auth)) auth = string.join(string.split(auth), "") # get rid of whitespace extra_headers = [ ("Authorization", "Basic " + auth) @@ -148,7 +148,7 @@ def make_connection(self, host): # create a HTTP connection object from a host descriptor host, extra_headers, x509 = self.get_host_info(host) - return httplib.HTTP(host) + return http.client.HTTP(host) def send_request(self, connection, handler, request_body): connection.putrequest("POST", handler) @@ -158,7 +158,7 @@ connection.putheader("Host", host) if extra_headers: if isinstance(extra_headers, dict): - extra_headers = extra_headers.items() + extra_headers = list(extra_headers.items()) for key, value in extra_headers: connection.putheader(key, value) @@ -192,7 +192,7 @@ if not response: break if self.verbose: - print "body:", repr(response) + print("body:", repr(response)) p.feed(response) file.close() @@ -212,7 +212,7 @@ """ host, extra_headers, x509 = self.get_host_info(host) try: - HTTPS = httplib.HTTPS + HTTPS = http.client.HTTPS except AttributeError: raise NotImplementedError( "your version of httplib doesn't support HTTPS" --- ./src/z3c/json/tests.py (original) +++ ./src/z3c/json/tests.py (refactored) @@ -18,10 +18,10 @@ __docformat__ = "reStructuredText" import unittest -import BaseHTTPServer +import http.server import random import threading -import urllib +import urllib.request, urllib.parse, urllib.error import cgi import pprint @@ -48,7 +48,7 @@ class JSONTests(unittest.TestCase): def testReadString(self): - s = u"'hello'" + s = "'hello'" self.assertEqual(json.read(s) ,'hello') def testWriteString(self): @@ -56,7 +56,7 @@ self.assertEqual(json.write(s), '"hello"') def testReadInt(self): - s = u"1" + s = "1" self.assertEqual(json.read(s), 1) def testWriteInt(self): @@ -64,19 +64,19 @@ self.assertEqual(json.write(s), "1") def testReadLong(self): - s = u"999999999999999999999" + s = "999999999999999999999" self.assertEqual(json.read(s), 999999999999999999999) def testWriteShortLong(self): - s = 1L + s = 1 self.assertEqual(json.write(s), "1") def testWriteLongLong(self): - s = 999999999999999999999L + s = 999999999999999999999 self.assertEqual(json.write(s), "999999999999999999999") def testReadNegInt(self): - s = u"-1" + s = "-1" assert json.read(s) == -1 def testWriteNegInt(self): @@ -84,23 +84,23 @@ assert json.write(s) == '-1' def testReadFloat(self): - s = u"1.334" + s = "1.334" assert json.read(s) == 1.334 def testReadEFloat1(self): - s = u"1.334E2" + s = "1.334E2" assert json.read(s) == 133.4 def testReadEFloat2(self): - s = u"1.334E-02" + s = "1.334E-02" assert json.read(s) == 0.01334 def testReadeFloat1(self): - s = u"1.334e2" + s = "1.334e2" assert json.read(s) == 133.4 def testReadeFloat2(self): - s = u"1.334e-02" + s = "1.334e-02" assert json.read(s) == 0.01334 def testWriteFloat(self): @@ -116,7 +116,7 @@ pass def testReadNegFloat(self): - s = u"-1.334" + s = "-1.334" assert json.read(s) == -1.334 def testWriteNegFloat(self): @@ -124,7 +124,7 @@ assert json.write(s) == "-1.334" def testReadEmptyDict(self): - s = u"{}" + s = "{}" assert json.read(s) == {} def testWriteEmptyList(self): @@ -136,7 +136,7 @@ assert json.write(s) == "[]" def testReadEmptyList(self): - s = u"[]" + s = "[]" assert json.read(s) == [] def testWriteEmptyDict(self): @@ -144,7 +144,7 @@ assert json.write(s) == '{}' def testReadTrue(self): - s = u"true" + s = "true" assert json.read(s) == True def testWriteTrue(self): @@ -152,7 +152,7 @@ assert json.write(s) == "true" def testReadStringTrue(self): - s = u'"true"' + s = '"true"' assert json.read(s) == 'true' def testWriteStringTrue(self): @@ -160,7 +160,7 @@ assert json.write(s) == '"True"' def testReadStringNull(self): - s = u'"null"' + s = '"null"' assert json.read(s) == 'null' def testWriteStringNone(self): @@ -168,7 +168,7 @@ assert json.write(s) == '"None"' def testReadFalse(self): - s = u"false" + s = "false" assert json.read(s) == False def testWriteFalse(self): @@ -176,7 +176,7 @@ assert json.write(s) == 'false' def testReadNull(self): - s = u"null" + s = "null" assert json.read(s) == None def testWriteNone(self): @@ -184,11 +184,11 @@ assert json.write(s) == "null" def testReadDictOfLists(self): - s = u"{'a':[],'b':[]}" + s = "{'a':[],'b':[]}" assert json.read(s) == {'a':[],'b':[]} def testReadDictOfListsWithSpaces(self): - s = u"{ 'a' : [], 'b' : [] } " + s = "{ 'a' : [], 'b' : [] } " assert json.read(s) == {'a':[],'b':[]} def testWriteDictOfLists(self): @@ -210,11 +210,11 @@ assert spaceless(w) == '[4,4,5,6]' def testReadListOfDicts(self): - s = u"[{},{}]" + s = "[{},{}]" assert json.read(s) == [{},{}] def testReadListOfDictsWithSpaces(self): - s = u" [ { } ,{ \n} ] " + s = " [ { } ,{ \n} ] " assert json.read(s) == [{},{}] def testWriteListOfDicts(self): @@ -226,23 +226,23 @@ assert spaceless(json.write(s)) == "[{},{}]" def testReadListOfStrings(self): - s = u"['a','b','c']" + s = "['a','b','c']" assert json.read(s) == ['a','b','c'] def testReadListOfStringsWithSpaces(self): - s = u" ['a' ,'b' ,\n 'c'] " + s = " ['a' ,'b' ,\n 'c'] " assert json.read(s) == ['a','b','c'] def testReadStringWithWhiteSpace(self): - s = ur"'hello \tworld'" + s = r"'hello \tworld'" assert json.read(s) == 'hello \tworld' def testWriteMixedList(self): - o = ['OIL',34,199L,38.5] + o = ['OIL',34,199,38.5] assert spaceless(json.write(o)) == '["OIL",34,199,38.5]' def testWriteMixedTuple(self): - o = ('OIL',34,199L,38.5) + o = ('OIL',34,199,38.5) assert spaceless(json.write(o)) == '["OIL",34,199,38.5]' def testWriteStringWithWhiteSpace(self): @@ -321,23 +321,23 @@ assert json.read(s) == '\n' def testWriteNewLine(self): - s = u'\n' + s = '\n' assert json.write(s) == r'"\n"' def testWriteSimpleUnicode(self): - s = u'hello' + s = 'hello' assert json.write(s) == '"hello"' def testReadBackSlashuUnicode(self): - s = u'"\u0066"' + s = '"\u0066"' assert json.read(s) == 'f' def testReadBackSlashuUnicodeInDWARNING: couldn't encode ./src/z3c/json/tests.py's diff for your terminal RefactoringTool: No changes to ./src/z3c/json/testing.py RefactoringTool: Refactored ./src/z3c/json/proxy.py RefactoringTool: Refactored ./src/z3c/json/minjson.py ictKey(self): - s = u'{"\u0066ather":34}' + s = '{"\u0066ather":34}' assert json.read(s) == {'father':34} def testReadDictKeyWithBackSlash(self): - s = u'{"mo\\use":22}' + s = '{"mo\\use":22}' self.assertEqual(json.read(s) , {r'mo\use':22}) def testWriteDictKeyWithBackSlash(self): @@ -345,26 +345,26 @@ self.assertEqual(json.write(s) , r'{"mo\\use":22}') def testWriteListOfBackSlashuUnicodeStrings(self): - s = [u'\u20ac',u'\u20ac',u'\u20ac'] - self.assertEqual(spaceless(json.write(s)) ,u'["\u20ac","\u20ac","\u20ac"]') + s = ['\u20ac','\u20ac','\u20ac'] + self.assertEqual(spaceless(json.write(s)) ,'["\u20ac","\u20ac","\u20ac"]') def testWriteUnicodeCharacter(self): - s = json.write(u'\u1001', 'ascii') - self.assertEqual(u'"\u1001"', s) + s = json.write('\u1001', 'ascii') + self.assertEqual('"\u1001"', s) def testWriteUnicodeCharacter1(self): - s = json.write(u'\u1001', 'ascii',outputEncoding='ascii') + s = json.write('\u1001', 'ascii',outputEncoding='ascii') self.assertEqual(r'"\u1001"', s) def testWriteHexUnicode(self): - s = unicode('\xff\xfe\xbf\x00Q\x00u\x00\xe9\x00 \x00p\x00a\x00s\x00a\x00?\x00','utf-16') + s = str('\xff\xfe\xbf\x00Q\x00u\x00\xe9\x00 \x00p\x00a\x00s\x00a\x00?\x00','utf-16') p = json.write(s, 'latin-1', outputEncoding="latin-1") --- ./src/z3c/json/proxy.py (original) +++ ./src/z3c/json/proxy.py (refactored) @@ -16,7 +16,7 @@ """ __docformat__ = "reStructuredText" -import urllib +import urllib.request, urllib.parse, urllib.error import copy import logging import socket @@ -87,7 +87,7 @@ data = json.write(request) try: return self.call(data) - except socket.error, msg: + except socket.error as msg: raise ResponseError("JSONRPC server connection error.") def __getattr__(self, name): @@ -100,10 +100,10 @@ def __init__(self, uri, transport=None, encoding=None, verbose=None, jsonId=None, jsonVersion=JSON_RPC_VERSION): - utype, uri = urllib.splittype(uri) + utype, uri = urllib.parse.splittype(uri) if utype not in ("http", "https"): - raise IOError, "Unsupported JSONRPC protocol" - self.__host, self.__handler = urllib.splithost(uri) + raise IOError("Unsupported JSONRPC protocol") + self.__host, self.__handler = urllib.parse.splithost(uri) if not self.__handler: self.__handler = "" @@ -116,7 +116,7 @@ self.__encoding = encoding self.__verbose = verbose - self.jsonId = jsonId or u'jsonrpc' + self.jsonId = jsonId or 'jsonrpc' self.jsonVersion = jsonVersion or JSON_RPC_VERSION self.error = None @@ -133,9 +133,9 @@ response = self.__transport.request(self.__host, self.__handler, request, verbose=self.__verbose) self.error = None - except ResponseError, e: + except ResponseError as e: # catch error message - self.error = unicode(str(e), 'utf-8') + self.error = str(str(e), 'utf-8') raise if isinstance(response, int): --- ./src/z3c/json/minjson.py (original) +++ ./src/z3c/json/minjson.py (refactored) @@ -71,7 +71,7 @@ unichrRE = compile(r"\\u[0-9a-fA-F]{4,4}") def unichrReplace(match): - return unichr(int(match.group()[2:],16)) + return chr(int(match.group()[2:],16)) escapeStrs = (('\n',r'\n'),('\b',r'\b'), ('\f',r'\f'),('\t',r'\t'),('\r',r'\r'), ('"',r'\"') @@ -102,7 +102,7 @@ def tokenize(self): try: - tokenize(self._data.next,self.readTokens) + tokenize(self._data.__next__,self.readTokens) except TokenError: raise SyntaxError @@ -154,7 +154,7 @@ try: #key key = self.objects.pop() - if not isinstance(key,basestring): + if not isinstance(key,str): raise SyntaxError except IndexError: @@ -185,7 +185,7 @@ raise SyntaxError try: key = self.objects.pop() - if not isinstance(key,basestring): + if not isinstance(key,str): raise SyntaxError except IndexError: raise SyntaxError @@ -194,8 +194,10 @@ theDict[k[0]] = k[1] self.objects.append(theDict) - def readTokens(self,type, token, (srow, scol), (erow, ecol), line): + def readTokens(self,type, token, xxx_todo_changeme, xxx_todo_changeme1, line): # UPPERCASE consts from tokens.py or tokenize.py + (srow, scol) = xxx_todo_changeme + (erow, ecol) = xxx_todo_changeme1 if type == OP: if token not in "[{}],:-": raise SyntaxError @@ -275,7 +277,7 @@ if unicodechars: aString = unichrRE.sub(unichrReplace, aString) #if it's already unicode, we won't try to decode it - if isinstance(aString, unicode): + if isinstance(aString, str): s = aString else: if encoding: @@ -283,24 +285,24 @@ # incoming byte string. UnicodeDecode error will be raised # in that case. Often, it will be best not to provide the encoding # and allow the default - s = unicode(aString, encoding) + s = str(aString, encoding) #print "decoded %s from %s" % (s,encoding) else: # let's try to decode to unicode in system default encoding try: - s = unicode(aString) + s = str(aString) #import sys #print "decoded %s from %s" % (s,sys.getdefaultencoding()) except UnicodeDecodeError: # last choice: handle as emergencyEncoding enc = emergencyEncoding - s = unicode(aString, enc) + s = str(aString, enc) #print "%s decoded from %s" % (s, enc) # parse and get the object. try: data = JSONReader(s).output() except SyntaxError: - raise ReadException, 'Unacceptable JSON expression: %s' % aString + raise ReadException('Unacceptable JSON expression: %s' % aString) return data read = safeRead @@ -310,7 +312,7 @@ ################################# import re, codecs -from cStringIO import StringIO +from io import StringIO ### Codec error handler @@ -325,7 +327,7 @@ if isinstance(exc, UnicodeEncodeError): part = exc.object[exc.start] # repr(part) will convert u'\unnnn' to u'u\\nnnn' - return u'\\u%04x' % ord(part), exc.start+1 + return '\\u%04x' % ord(part), exc.start+1 else: raise exc @@ -376,7 +378,7 @@ ''' if stream is not None: if output_encoding is None: - raise WriteException, 'If a stream is given, output encoding must also be provided' + raise WriteException('If a stream is given, output encoding must also be provided') else: stream = JsonStream() self.stream = stream @@ -397,7 +399,7 @@ elif isinstance(obj, dict): self.stream.write('{') first = True - for key, value in obj.iteritems(): + for key, value in obj.items(): if first: first = False else: @@ -412,20 +414,20 @@ self.stream.write('false') elif obj is None: self.stream.write('null') - elif not isinstance(obj, basestring): + elif not isinstance(obj, str): # if we are not baseobj, convert to it try: obj = str(obj) - except Exception, exc: - raise WriteException, 'Cannot write object (%s: %s)' % (exc.__class__, exc) + except Exception as exc: + raise WriteException('Cannot write object (%s: %s)RefactoringTool: No changes to ./src/z3c/json/interfaces.py RefactoringTool: No changes to ./src/z3c/json/exceptions.py RefactoringTool: Refactored ./src/z3c/json/converter.py RefactoringTool: No changes to ./src/z3c/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./bootstrap.py RefactoringTool: Files that were modified: RefactoringTool: ./src/z3c/json/transport.py RefactoringTool: ./src/z3c/json/tests.py RefactoringTool: ./src/z3c/json/testing.py RefactoringTool: ./src/z3c/json/proxy.py RefactoringTool: ./src/z3c/json/minjson.py RefactoringTool: ./src/z3c/json/interfaces.py RefactoringTool: ./src/z3c/json/exceptions.py RefactoringTool: ./src/z3c/json/converter.py RefactoringTool: ./src/z3c/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./bootstrap.py ' % (exc.__class__, exc)) self.stream.write(obj) else: # convert to unicode first - if not isinstance(obj, unicode): + if not isinstance(obj, str): try: - obj = unicode(obj, self.input_encoding) + obj = str(obj, self.input_encoding) except (UnicodeDecodeError, UnicodeTranslateError): - obj = unicode(obj, 'utf-8', 'replace') + obj = str(obj, 'utf-8', 'replace') # do the mangling obj = strmangle(obj) # make the encoding --- ./src/z3c/json/converter.py (original) +++ ./src/z3c/json/converter.py (refactored) @@ -51,7 +51,7 @@ # This is a fall-back position for less-well-constructed JSON try: return minjson.read(aString, encoding) - except minjson.ReadException, e: + except minjson.ReadException as e: raise exceptions.ResponseError(e) @@ -62,14 +62,14 @@ def write(self, anObject): if hasCJson: try: - return unicode(cjson.encode(anObject)) + return str(cjson.encode(anObject)) except cjson.EncodeError: # fall back to minjson pass try: return minjson.write(anObject) - except minjson.WriteException, e: - raise TypeError, e + except minjson.WriteException as e: + raise TypeError(e) def premarshal(data): @@ -93,7 +93,7 @@ self.data = data def __call__(self): - raise Exception, "Not implemented" + raise Exception("Not implemented") class DictPreMarshaller(PreMarshallerBase): @@ -101,12 +101,12 @@ def __call__(self): return dict([(premarshal(k), premarshal(v)) - for (k, v) in self.data.items()]) + for (k, v) in list(self.data.items())]) class ListPreMarshaller(PreMarshallerBase): """Pre-marshaller for list""" def __call__(self): - return map(premarshal, self.data) + return list(map(premarshal, self.data)) --- ./bootstrap.py (original) +++ ./bootstrap.py (refactored) @@ -71,7 +71,7 @@ try: from urllib.request import urlopen except ImportError: - from urllib2 import urlopen + from urllib.request import urlopen exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez) setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True) + 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/z3c copying src/z3c/__init__.py -> build/lib/z3c creating build/lib/z3c/json copying src/z3c/json/transport.py -> build/lib/z3c/json copying src/z3c/json/tests.py -> build/lib/z3c/json copying src/z3c/json/testing.py -> build/lib/z3c/json copying src/z3c/json/proxy.py -> build/lib/z3c/json copying src/z3c/json/minjson.py -> build/lib/z3c/json copying src/z3c/json/interfaces.py -> build/lib/z3c/json copying src/z3c/json/exceptions.py -> build/lib/z3c/json copying src/z3c/json/converter.py -> build/lib/z3c/json copying src/z3c/json/__init__.py -> build/lib/z3c/json running egg_info writing src/z3c.json.egg-info/PKG-INFO writing dependency_links to src/z3c.json.egg-info/dependency_links.txt writing namespace_packages to src/z3c.json.egg-info/namespace_packages.txt writing requirements to src/z3c.json.egg-info/requires.txt writing top-level names to src/z3c.json.egg-info/top_level.txt reading manifest file 'src/z3c.json.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/z3c.json.egg-info/SOURCES.txt' copying src/z3c/json/README.txt -> build/lib/z3c/json copying src/z3c/json/configure.zcml -> build/lib/z3c/json copying src/z3c/json/z3c.json-configure.zcml -> build/lib/z3c/json + popd ~/RPM/BUILD/python-module-z3c.json-0.5.5 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.2932 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-z3c.json-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-z3c.json-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python-module-z3c.json-0.5.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-z3c.json-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/__init__.py (namespace package) copying z3c/json/z3c.json-configure.zcml -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/configure.zcml -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/README.txt -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/__init__.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/converter.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/exceptions.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/interfaces.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/minjson.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/proxy.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/testing.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/tests.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json copying z3c/json/transport.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/converter.py to converter.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/interfaces.py to interfaces.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/minjson.py to minjson.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/proxy.py to proxy.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/testing.py to testing.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/tests.py to tests.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/transport.py to transport.pyc running install_egg_info running egg_info writing requirements to src/z3c.json.egg-info/requires.txt writing src/z3c.json.egg-info/PKG-INFO writing namespace_packages to src/z3c.json.egg-info/namespace_packages.txt writing top-level names to src/z3c.json.egg-info/top_level.txt writing dependency_links to src/z3c.json.egg-info/dependency_links.txt reading manifest file 'src/z3c.json.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/z3c.json.egg-info/SOURCES.txt' Copying src/z3c.json.egg-info to /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c.json-0.5.5-py2.7.egg-info Installing /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c.json-0.5.5-py2.7-nspkg.pth running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-z3c.json-0.5.5 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-z3c.json-buildroot --force running install running install_lib Skipping installation of /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/__init__.py (namespace package) copying z3c/json/z3c.json-configure.zcml -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/configure.zcml -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/README.txt -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/__init__.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/converter.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/exceptions.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/interfaces.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/minjson.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/proxy.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/testing.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/tests.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json copying z3c/json/transport.py -> /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/converter.py to converter.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/exceptions.py to exceptions.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/interfaces.py to interfaces.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/minjson.py to minjson.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/proxy.py to proxy.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/testing.py to testing.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/tests.py to tests.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/transport.py to transport.cpython-37.pyc running install_egg_info running egg_info writing src/z3c.json.egg-info/PKG-INFO writing dependency_links to src/z3c.json.egg-info/dependency_links.txt writing namespace_packages to src/z3c.json.egg-info/namespace_packages.txt writing requirements to src/z3c.json.egg-info/requires.txt writing top-level names to src/z3c.json.egg-info/top_level.txt reading manifest file 'src/z3c.json.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/z3c.json.egg-info/SOURCES.txt' Copying src/z3c.json.egg-info to /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info Installing /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7-nspkg.pth running install_scripts + popd ~/RPM/BUILD/python-module-z3c.json-0.5.5 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-z3c.json-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-z3c.json-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python-module-z3c.json-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-z3c.json-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-z3c.json-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-z3c.json-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-z3c.json-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/__init__.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/converter.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/exceptions.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/interfaces.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/minjson.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/proxy.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/testing.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/tests.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/transport.pyc compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/__init__.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/converter.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/exceptions.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/interfaces.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/minjson.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/proxy.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/testing.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/tests.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/transport.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-z3c.json-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/__init__.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/converter.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/exceptions.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/interfaces.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/minjson.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/proxy.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/testing.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/tests.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/transport.py Bytecompiling python3 modules in /usr/src/tmp/python-module-z3c.json-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.pyc unlink /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.pyc compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__init__.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/converter.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/exceptions.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/interfaces.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/minjson.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/proxy.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/testing.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/tests.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/transport.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-z3c.json-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__init__.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/converter.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/exceptions.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/interfaces.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/minjson.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/proxy.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/testing.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/tests.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/transport.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-z3c.json-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/__init__.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/converter.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/exceptions.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/interfaces.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/minjson.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/proxy.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/testing.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/tests.py compile /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/transport.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/z3c/json/transport.pyo' => './usr/lib/python2.7/site-packages/z3c/json/transport.pyc' './usr/lib/python2.7/site-packages/z3c/json/testing.pyo' => './usr/lib/python2.7/site-packages/z3c/json/testing.pyc' './usr/lib/python2.7/site-packages/z3c/json/proxy.pyo' => './usr/lib/python2.7/site-packages/z3c/json/proxy.pyc' './usr/lib/python2.7/site-packages/z3c/json/interfaces.pyo' => './usr/lib/python2.7/site-packages/z3c/json/interfaces.pyc' './usr/lib/python2.7/site-packages/z3c/json/exceptions.pyo' => './usr/lib/python2.7/site-packages/z3c/json/exceptions.pyc' './usr/lib/python2.7/site-packages/z3c/json/converter.pyo' => './usr/lib/python2.7/site-packages/z3c/json/converter.pyc' './usr/lib/python2.7/site-packages/z3c/json/__init__.pyo' => './usr/lib/python2.7/site-packages/z3c/json/__init__.pyc' Processing files: python-module-z3c.json-0.5.5-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.48171 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-z3c.json-0.5.5 + DOCDIR=/usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python-module-z3c.json-0.5.5 + export DOCDIR + rm -rf /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python-module-z3c.json-0.5.5 + /bin/mkdir -p /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python-module-z3c.json-0.5.5 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt TODO.txt /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python-module-z3c.json-0.5.5 + chmod -R go-w /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python-module-z3c.json-0.5.5 + chmod -R a+rX /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python-module-z3c.json-0.5.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wwg5om 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.HS9R7V find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/converter.py: line=27 IGNORE (for REQ=slight and deep=8) module=cjson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/converter.py: line=30 IGNORE (for REQ=slight and deep=8) module=logging Provides: python2.7(z3c.json), python2.7(z3c.json.converter), python2.7(z3c.json.exceptions), python2.7(z3c.json.interfaces), python2.7(z3c.json.minjson), python2.7(z3c.json.proxy), python2.7(z3c.json.transport) Requires: python2.7(zope.component), /usr/lib/python2.7/site-packages, python-modules, python2.7(logging), python2.7(tokenize), python2.7(z3c), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ulrtn3 Processing files: python3-module-z3c.json-0.5.5-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.51672 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-z3c.json-0.5.5 + DOCDIR=/usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python3-module-z3c.json-0.5.5 + export DOCDIR + rm -rf /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python3-module-z3c.json-0.5.5 + /bin/mkdir -p /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python3-module-z3c.json-0.5.5 + cp -prL CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt TODO.txt /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python3-module-z3c.json-0.5.5 + chmod -R go-w /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python3-module-z3c.json-0.5.5 + chmod -R a+rX /usr/src/tmp/python-module-z3c.json-buildroot/usr/share/doc/python3-module-z3c.json-0.5.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nq5y1r 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.hJoViv find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/converter.py: line=27 IGNORE (for REQ=slight and deep=8) module=cjson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/converter.py: line=30 IGNORE (for REQ=slight and deep=8) module=logging Provides: python3(z3c.json), python3(z3c.json.converter), python3(z3c.json.exceptions), python3(z3c.json.interfaces), python3(z3c.json.minjson), python3(z3c.json.proxy), python3(z3c.json.transport) Requires: python3(zope.component) < 0, /usr/lib/python3/site-packages, python3(base64) < 0, python3(codecs) < 0, python3(copy) < 0, python3(http.client) < 0, python3(io) < 0, python3(logging) < 0, python3(re) < 0, python3(socket) < 0, python3(string) < 0, python3(token) < 0, python3(tokenize) < 0, python3(types) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(zope.interface) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y9ByMU Processing files: python3-module-z3c.json-tests-0.5.5-alt2.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9KFOAZ 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.PBxmFQ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python3/site-packages/z3c/json/tests.py: line=112 IGNORE (for REQ=slight and deep=15) module=decimal Provides: python3(z3c.json.testing), python3(z3c.json.tests) Requires: python3-module-z3c.json = 0.5.5-alt2.1.1, python3(z3c.coverage) < 0, python3(zope.app.testing) < 0, /usr/lib/python3/site-packages, python3(cgi) < 0, python3(http.server) < 0, python3(pprint) < 0, python3(random) < 0, python3(threading) < 0, python3(unittest) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(z3c.json) < 0, python3(z3c.json.converter) < 0, python3(z3c.json.exceptions) < 0, python3(z3c.json.interfaces) < 0, python3(z3c.json.minjson) < 0, python3(z3c.json.proxy) < 0, python3(z3c.json.transport) < 0, python3(zope.component) < 0, python3(zope.testing) < 0, python3(zope.testing.doctestunit) < 0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5LSTXW Processing files: python-module-z3c.json-tests-0.5.5-alt2.1.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4A5Neq 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.071dKj find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-z3c.json-buildroot/usr/lib/python2.7/site-packages/z3c/json/tests.py: line=112 IGNORE (for REQ=slight and deep=15) module=decimal Provides: python2.7(z3c.json.testing), python2.7(z3c.json.tests) Requires: python-module-z3c.json = 0.5.5-alt2.1.1, python2.7(z3c.coverage), python2.7(zope.app.testing), /usr/lib/python2.7/site-packages, python-modules, python2.7(unittest), python2.7(z3c), python2.7(zope) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2IlkiA Removing 7 extra deps from python3-module-z3c.json-tests due to dependency on python3-module-z3c.json Removing 4 extra deps from python-module-z3c.json-tests due to repentancy on python-module-z3c.json Removing 5 extra deps from python3-module-z3c.json-tests due to repentancy on python3-module-z3c.json Wrote: /usr/src/RPM/RPMS/i586/python-module-z3c.json-0.5.5-alt2.1.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python3-module-z3c.json-0.5.5-alt2.1.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python3-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/python-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm (w2.lzdio) 13.13user 1.13system 0:26.48elapsed 53%CPU (0avgtext+0avgdata 19324maxresident)k 0inputs+0outputs (0major+358038minor)pagefaults 0swaps 21.75user 4.33system 0:38.86elapsed 67%CPU (0avgtext+0avgdata 118056maxresident)k 0inputs+0outputs (0major+823045minor)pagefaults 0swaps --- python-module-z3c.json-0.5.5-alt2.1.1.i586.rpm.repo 2016-06-07 22:28:07.000000000 +0000 +++ python-module-z3c.json-0.5.5-alt2.1.1.i586.rpm.hasher 2021-08-01 11:01:07.474157795 +0000 @@ -58,3 +58,3 @@ File: /usr/lib/python2.7/site-packages/z3c.json-0.5.5-py2.7.egg-info 40755 root:root -File: /usr/lib/python2.7/site-packages/z3c.json-0.5.5-py2.7.egg-info/PKG-INFO 100644 root:root 7ae85f37e4b11b052fc08fb09834ee54 +File: /usr/lib/python2.7/site-packages/z3c.json-0.5.5-py2.7.egg-info/PKG-INFO 100644 root:root e0fdf8b3408e1cf54532e35c06e8757c File: /usr/lib/python2.7/site-packages/z3c.json-0.5.5-py2.7.egg-info/SOURCES.txt 100644 root:root 87fce75bd1e9050ebbd1acc49385bf7a @@ -68,4 +68,4 @@ File: /usr/lib/python2.7/site-packages/z3c/json/__init__.py 100644 root:root 4f1baff55c7841490f968c963b81275e -File: /usr/lib/python2.7/site-packages/z3c/json/__init__.pyc 100644 root:root fa9b63c1dc258f8a3e6d8daf1c44fd8f -File: /usr/lib/python2.7/site-packages/z3c/json/__init__.pyo 100644 root:root fa9b63c1dc258f8a3e6d8daf1c44fd8f +File: /usr/lib/python2.7/site-packages/z3c/json/__init__.pyc 100644 root:root 7e938e502ace86007860e9f879ddf730 +File: /usr/lib/python2.7/site-packages/z3c/json/__init__.pyo 100644 root:root 7e938e502ace86007860e9f879ddf730 File: /usr/lib/python2.7/site-packages/z3c/json/configure.zcml 100644 root:root d30ed37a59b53685ae9867fbf083d6c8 @@ -78,4 +78,4 @@ File: /usr/lib/python2.7/site-packages/z3c/json/interfaces.py 100644 root:root 9d13b8e4c6124ed3ead78b1f53b3f37d -File: /usr/lib/python2.7/site-packages/z3c/json/interfaces.pyc 100644 root:root 8a7f7d99fad21b154e7c92bb1bb1b9e8 -File: /usr/lib/python2.7/site-packages/z3c/json/interfaces.pyo 100644 root:root 8a7f7d99fad21b154e7c92bb1bb1b9e8 +File: /usr/lib/python2.7/site-packages/z3c/json/interfaces.pyc 100644 root:root a82e4bf53f6ef9d5630f82edab6bc676 +File: /usr/lib/python2.7/site-packages/z3c/json/interfaces.pyo 100644 root:root a82e4bf53f6ef9d5630f82edab6bc676 File: /usr/lib/python2.7/site-packages/z3c/json/minjson.py 100644 root:root 607f86832aec900d3d76559964f92acc @@ -96,2 +96,2 @@ File: /usr/share/doc/python-module-z3c.json-0.5.5/TODO.txt 100644 root:root cfcf53fac4b34ceaf1a6bb342e9939f8 -RPMIdentity: 6dbb735e4d4b7978e9f84782bb668ed398cf424ad4a3973ab40c287a1049d0abf41e7a69e883a1b7d4f25c53d9dde5eb28f85ef059803ba0b37ac71b679a94af +RPMIdentity: c7774fbc09daaa2100ae02daf8debad4a1e6b0a0c7b0dc79d95515556cf296cf8a1b6078558580bcf7792d2131ee7f82771d6bab9875fc407976c485c708b588 --- python-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm.repo 2016-06-07 22:28:07.000000000 +0000 +++ python-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm.hasher 2021-08-01 11:01:07.574158748 +0000 @@ -18,4 +18,4 @@ File: /usr/lib/python2.7/site-packages/z3c/json/tests.py 100644 root:root 91595a55a44bd360048156316be2390a -File: /usr/lib/python2.7/site-packages/z3c/json/tests.pyc 100644 root:root a3646f03a027bf5ed0bdf3a35f7a96a9 -File: /usr/lib/python2.7/site-packages/z3c/json/tests.pyo 100644 root:root c175c48ed489a0308eb78ea0437a3082 -RPMIdentity: 414e857792b81fc498f3b7f1789fb9f263c4be2127f3314b4c0335b4a1d796c2d0be8c09af73f71fdefb9a27580c0c540fc6e526ee805158e4f7e18f74c72e5a +File: /usr/lib/python2.7/site-packages/z3c/json/tests.pyc 100644 root:root 0649f3f958bd40a5fccd2a43d73f5e5a +File: /usr/lib/python2.7/site-packages/z3c/json/tests.pyo 100644 root:root 4e20f21a278eb8a7b0edd643d74dd0af +RPMIdentity: bcb1c336e3e4d259bf398d28f383d05ba1b9731645320c338d65914510c7136f91632700166137a96ea5302bce10a452b933e060927c359d3a50b99d380b9eca --- python3-module-z3c.json-0.5.5-alt2.1.1.i586.rpm.repo 2016-06-07 22:28:07.000000000 +0000 +++ python3-module-z3c.json-0.5.5-alt2.1.1.i586.rpm.hasher 2021-08-01 11:01:08.625168768 +0000 @@ -1,10 +1,10 @@ /usr/lib/python3/site-packages/z3c 40755 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info 40755 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/PKG-INFO 100644 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/SOURCES.txt 100644 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/dependency_links.txt 100644 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/namespace_packages.txt 100644 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/not-zip-safe 100644 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/requires.txt 100644 root:root -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/top_level.txt 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info 40755 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/PKG-INFO 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/SOURCES.txt 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/dependency_links.txt 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/namespace_packages.txt 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/not-zip-safe 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/requires.txt 100644 root:root +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/top_level.txt 100644 root:root /usr/lib/python3/site-packages/z3c/json 40755 root:root @@ -13,22 +13,23 @@ /usr/lib/python3/site-packages/z3c/json/__pycache__ 40755 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.pyc 100644 root:root /usr/lib/python3/site-packages/z3c/json/configure.zcml 100644 root:root @@ -47,3 +48,3 @@ /usr/share/doc/python3-module-z3c.json-0.5.5/TODO.txt 100644 root:root -Requires: python3(zope.component) +Requires: python3(zope.component) < 0 Requires: /usr/lib/python3/site-packages @@ -52,3 +53,3 @@ Requires: python3(copy) < 0 -Requires: python3(http) < 0 +Requires: python3(http.client) < 0 Requires: python3(io) < 0 @@ -61,5 +62,6 @@ Requires: python3(types) < 0 -Requires: python3(urllib) < 0 -Requires: python3(z3c) < 0 -Requires: python3(zope) < 0 +Requires: python3(urllib.error) < 0 +Requires: python3(urllib.parse) < 0 +Requires: python3(urllib.request) < 0 +Requires: python3(zope.interface) < 0 Requires: rpmlib(PayloadIsLzma) @@ -72,19 +74,12 @@ Provides: python3(z3c.json.transport) -Provides: python3.3(z3c.json) -Provides: python3.3(z3c.json.converter) -Provides: python3.3(z3c.json.exceptions) -Provides: python3.3(z3c.json.interfaces) -Provides: python3.3(z3c.json.minjson) -Provides: python3.3(z3c.json.proxy) -Provides: python3.3(z3c.json.transport) Provides: python3-module-z3c.json = 0.5.5-alt2.1.1 File: /usr/lib/python3/site-packages/z3c 40755 root:root -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info 40755 root:root -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/PKG-INFO 100644 root:root 7ae85f37e4b11b052fc08fb09834ee54 -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/SOURCES.txt 100644 root:root 87fce75bd1e9050ebbd1acc49385bf7a -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/dependency_links.txt 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/namespace_packages.txt 100644 root:root 0b942d02523dd27c533e3b1dfaa8b7be -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/not-zip-safe 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/requires.txt 100644 root:root 1faeef744a8e8fc0c7b275e2da26b297 -File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/top_level.txt 100644 root:root 0b942d02523dd27c533e3b1dfaa8b7be +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info 40755 root:root +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/PKG-INFO 100644 root:root e0fdf8b3408e1cf54532e35c06e8757c +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/SOURCES.txt 100644 root:root 87fce75bd1e9050ebbd1acc49385bf7a +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/dependency_links.txt 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/namespace_packages.txt 100644 root:root 0b942d02523dd27c533e3b1dfaa8b7be +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/not-zip-safe 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/requires.txt 100644 root:root 1faeef744a8e8fc0c7b275e2da26b297 +File: /usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/top_level.txt 100644 root:root 0b942d02523dd27c533e3b1dfaa8b7be File: /usr/lib/python3/site-packages/z3c/json 40755 root:root @@ -93,22 +88,23 @@ File: /usr/lib/python3/site-packages/z3c/json/__pycache__ 40755 root:root -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-35.opt-1.pyc 100644 root:root af0f8658dcbf1e50c2892065e93ddb4d -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-35.opt-2.pyc 100644 root:root af0f8658dcbf1e50c2892065e93ddb4d -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.opt-1.pyc 100644 root:root 96202f33ce7ea587eb0ca81c8ccf6860 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.opt-2.pyc 100644 root:root a05eff7a0767e4127c0f34c95fee8018 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.pyc 100644 root:root 96202f33ce7ea587eb0ca81c8ccf6860 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.opt-1.pyc 100644 root:root 1ed8434d562bc01b8b753502363e0cb7 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.opt-2.pyc 100644 root:root 377aec0b8e674299adc8306a43bb2d0f -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.pyc 100644 root:root 1ed8434d562bc01b8b753502363e0cb7 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.opt-1.pyc 100644 root:root 78d45f76b65cade4199249b6d213ac57 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.opt-2.pyc 100644 root:root 72e6d9a5b4e6a79ddc93c99d03a31d5c -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.pyc 100644 root:root 78d45f76b65cade4199249b6d213ac57 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.opt-1.pyc 100644 root:root 5a22c57bc17991b795bc819f182ad504 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.opt-2.pyc 100644 root:root 769f22fa606751f92fe33fd62f4b097e -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.pyc 100644 root:root 5394c8d95e06042524e82448ffc0dc22 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.opt-1.pyc 100644 root:root 831596e8b1129773278e8400aee2fe2b -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.opt-2.pyc 100644 root:root 9816b0010f08bbbd7c18483f8757b46e -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.pyc 100644 root:root 831596e8b1129773278e8400aee2fe2b -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.opt-1.pyc 100644 root:root a9d0ec1850bca4f0ac0a4d3addbe1cae -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.opt-2.pyc 100644 root:root c1c5e81d4db47d936e555a072a62b3d9 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.pyc 100644 root:root a9d0ec1850bca4f0ac0a4d3addbe1cae +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-1.pyc 100644 root:root d6b4eb428c8886b7cd723e175ade543c +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-2.pyc 100644 root:root d6b4eb428c8886b7cd723e175ade543c +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.pyc 100644 root:root d6b4eb428c8886b7cd723e175ade543c +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-1.pyc 100644 root:root 3192b6a789f24e638bb2bf7063cdcbe5 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-2.pyc 100644 root:root ddb59fad1a5458d928228e612895012a +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.pyc 100644 root:root 3192b6a789f24e638bb2bf7063cdcbe5 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-1.pyc 100644 root:root aef7761659b9f94252117a46b94eb1e3 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-2.pyc 100644 root:root 9ff69f80ef0f4b50d176d6ced4bc77ac +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.pyc 100644 root:root aef7761659b9f94252117a46b94eb1e3 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-1.pyc 100644 root:root 240db8f92e5753fd9822d898b97634e4 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-2.pyc 100644 root:root 620bf7e716e02b62926691990dcd80ba +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.pyc 100644 root:root 240db8f92e5753fd9822d898b97634e4 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.opt-1.pyc 100644 root:root 0a4399b3006d1892ce4c9500d30e6d86 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.opt-2.pyc 100644 root:root 08bb88c03e88cf3fd344144254431808 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.pyc 100644 root:root 01b953eb487a75bcf585e05c72e2d85d +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-1.pyc 100644 root:root bdd18e25e20fdd0a464327b74d20174f +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-2.pyc 100644 root:root 726d497140e1613aa319e0e9372f1d71 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.pyc 100644 root:root bdd18e25e20fdd0a464327b74d20174f +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-1.pyc 100644 root:root dcec6f213f6eb97f3f32d553ec2bcabe +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-2.pyc 100644 root:root 4e53d208552b4d11c1b4fd77c55a63c6 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.pyc 100644 root:root dcec6f213f6eb97f3f32d553ec2bcabe File: /usr/lib/python3/site-packages/z3c/json/configure.zcml 100644 root:root d30ed37a59b53685ae9867fbf083d6c8 @@ -127,2 +123,2 @@ File: /usr/share/doc/python3-module-z3c.json-0.5.5/TODO.txt 100644 root:root cfcf53fac4b34ceaf1a6bb342e9939f8 -RPMIdentity: f5f99a66609bd568418f9ba5bd9a06f4856f9e9adbb100c5b874b1ba693f5d7a90b4269c303e955603bcf86d970d66b9f7ae5aa239d3c00d581e35087003f921 +RPMIdentity: c38e00fcee824205112438261978e233a7a721cb3731b64a399e5abf15b2a35b97e3f1308d150e36f0d482c92d8c5560e5602b35ac00c3a301d130da751db7c0 --- python3-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm.repo 2016-06-07 22:28:07.000000000 +0000 +++ python3-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm.hasher 2021-08-01 11:01:09.200174250 +0000 @@ -1,7 +1,7 @@ -/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.pyc 100644 root:root /usr/lib/python3/site-packages/z3c/json/testing.py 100644 root:root @@ -9,5 +9,6 @@ Requires: python3-module-z3c.json = 0.5.5-alt2.1.1 -Requires: python3(z3c.coverage) -Requires: python3(zope.app.testing) +Requires: python3(z3c.coverage) < 0 +Requires: python3(zope.app.testing) < 0 Requires: python3(cgi) < 0 +Requires: python3(http.server) < 0 Requires: python3(pprint) < 0 @@ -16,2 +17,4 @@ Requires: python3(unittest) < 0 +Requires: python3(zope.testing) < 0 +Requires: python3(zope.testing.doctestunit) < 0 Requires: rpmlib(PayloadIsLzma) @@ -19,13 +22,11 @@ Provides: python3(z3c.json.tests) -Provides: python3.3(z3c.json.testing) -Provides: python3.3(z3c.json.tests) Provides: python3-module-z3c.json-tests = 0.5.5-alt2.1.1 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.opt-1.pyc 100644 root:root 3f7d85c395c01fd8d23c44ea54a22360 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.opt-2.pyc 100644 root:root 69683446f3ba58a85d5980ecb1fe6ffe -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.pyc 100644 root:root 3f7d85c395c01fd8d23c44ea54a22360 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.opt-1.pyc 100644 root:root dd8f6bed8b1a241691152ec0affef709 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.opt-2.pyc 100644 root:root 1b6132878739fdeb7508f37c1c798bd3 -File: /usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.pyc 100644 root:root 8d8bbe1d4644272fecd12901f6d45b52 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-1.pyc 100644 root:root e97c801b9c522918bd7b5c846845bcf9 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-2.pyc 100644 root:root a6ee7692b0757e6820d020b45a888a0f +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.pyc 100644 root:root e97c801b9c522918bd7b5c846845bcf9 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.opt-1.pyc 100644 root:root 958ad33039887e7d36aa6eae8116ac41 +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.opt-2.pyc 100644 root:root 90899ccfb7ab86a3612e916c7f31358b +File: /usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.pyc 100644 root:root 291447d02eaf626a2b6cc28165fe7fd7 File: /usr/lib/python3/site-packages/z3c/json/testing.py 100644 root:root 2d19262b09ca746d252a23c2167fce22 File: /usr/lib/python3/site-packages/z3c/json/tests.py 100644 root:root e7af4f92ed372b652bfa4d93010a3fd5 -RPMIdentity: ae2c1d32130192388a5d3ce56e9247dee863526915d1bfd0b3d972131b2f2d96a0ccad77bd9b160bd0806d46ed74502a54845cc44356d0372690a0af21d25a5c +RPMIdentity: 1fb3f4db6e226713be284457d5e01fe89346629aa967361789efd366e11bcb20fb17fabf9ade5c13b21289e86dce9e848e3f1d66852e4bc943406ada02357c7a