<86>Jul 4 09:32:24 userdel[9904]: delete user 'rooter' <86>Jul 4 09:32:24 userdel[9904]: removed group 'rooter' owned by 'rooter' <86>Jul 4 09:32:24 userdel[9904]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 4 09:32:24 groupadd[9909]: group added to /etc/group: name=rooter, GID=573 <86>Jul 4 09:32:24 groupadd[9909]: group added to /etc/gshadow: name=rooter <86>Jul 4 09:32:24 groupadd[9909]: new group: name=rooter, GID=573 <86>Jul 4 09:32:24 useradd[9913]: new user: name=rooter, UID=573, GID=573, home=/root, shell=/bin/bash <86>Jul 4 09:32:24 userdel[9927]: delete user 'builder' <86>Jul 4 09:32:24 userdel[9927]: removed group 'builder' owned by 'builder' <86>Jul 4 09:32:24 userdel[9927]: removed shadow group 'builder' owned by 'builder' <86>Jul 4 09:32:24 groupadd[9932]: group added to /etc/group: name=builder, GID=574 <86>Jul 4 09:32:24 groupadd[9932]: group added to /etc/gshadow: name=builder <86>Jul 4 09:32:24 groupadd[9932]: new group: name=builder, GID=574 <86>Jul 4 09:32:24 useradd[9942]: new user: name=builder, UID=574, GID=574, home=/usr/src, shell=/bin/bash <13>Jul 4 09:32:27 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Jul 4 09:32:27 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Jul 4 09:32:27 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jul 4 09:32:27 rpmi: libtasn1-4.13-alt2 1521133850 installed <13>Jul 4 09:32:27 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 4 09:32:27 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 4 09:32:27 rpmi: ca-certificates-2019.03.31-alt1 sisyphus+226302.100.1.1 1554055265 installed <13>Jul 4 09:32:27 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jul 4 09:32:27 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Jul 4 09:32:27 rpmi: libcrypto1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Jul 4 09:32:27 rpmi: libssl1.1-1.1.1b-alt2 sisyphus+227249.100.2.1 1555667822 installed <13>Jul 4 09:32:27 rpmi: python3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Jul 4 09:32:27 rpmi: libpython3-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Jul 4 09:32:29 rpmi: python3-base-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Jul 4 09:32:29 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Jul 4 09:32:29 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Jul 4 09:32:34 rpmi: python3-module-pkg_resources-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jul 4 09:32:34 rpmi: python-modules-curses-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 4 09:32:34 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Jul 4 09:32:34 rpmi: python3-dev-3.7.3-alt1 sisyphus+225625.574.90.1 1555274251 installed <13>Jul 4 09:32:34 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Jul 4 09:32:34 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Jul 4 09:32:34 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Jul 4 09:32:34 groupadd[21085]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 4 09:32:34 groupadd[21085]: group added to /etc/gshadow: name=_keytab <86>Jul 4 09:32:34 groupadd[21085]: new group: name=_keytab, GID=499 <13>Jul 4 09:32:34 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746516 installed <13>Jul 4 09:32:34 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Jul 4 09:32:34 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Jul 4 09:32:34 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-ctypes-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-multiprocessing-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:34 rpmi: python-modules-logging-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-tools-2to3-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-modules-hotshot-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-modules-bsddb-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-modules-distutils-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-module-pkg_resources-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jul 4 09:32:35 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548749 installed <13>Jul 4 09:32:35 rpmi: python-dev-2.7.16-alt1 sisyphus+226365.200.2.1 1554143304 installed <13>Jul 4 09:32:35 rpmi: python-module-setuptools-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 installed <13>Jul 4 09:32:35 rpmi: python3-module-setuptools-1:41.0.1-alt2 sisyphus+231415.100.1.1 1559574158 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 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.15203 + 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.81737 + 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.27120 + 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 + 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) 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.15887 + 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.jfpUnF 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.4qjv2O find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /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.2O9C5N Processing files: python3-module-z3c.json-0.5.5-alt2.1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.46992 + 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.DZ6KYq 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.CBZILJ 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-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.7kV63O 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.AOCT2K 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.twkupm 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-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.PDQWtA 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.orFViE 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.3wNi7i find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /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.YBQDwB 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 Wrote: /usr/src/RPM/RPMS/i586/python3-module-z3c.json-0.5.5-alt2.1.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python3-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/python-module-z3c.json-tests-0.5.5-alt2.1.1.i586.rpm 24.32user 2.37system 0:37.31elapsed 71%CPU (0avgtext+0avgdata 19144maxresident)k 0inputs+0outputs (0major+358756minor)pagefaults 0swaps 38.64user 8.45system 0:57.90elapsed 81%CPU (0avgtext+0avgdata 114196maxresident)k 0inputs+0outputs (0major+844930minor)pagefaults 0swaps --- 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 2019-07-04 09:33:19.037788910 +0000 @@ -1,10 +1,10 @@ /usr/lib/python3/site-packages/z3c 40755 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info 40755 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/namespace_packages.txt 100644 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.5.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info 40755 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/namespace_packages.txt 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/z3c.json-0.5.5-py3.7.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/z3c/json 40755 @@ -13,22 +13,23 @@ /usr/lib/python3/site-packages/z3c/json/__pycache__ 40755 -/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/__init__.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/converter.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/exceptions.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/interfaces.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/minjson.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/proxy.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/transport.cpython-37.pyc 100644 /usr/lib/python3/site-packages/z3c/json/configure.zcml 100644 @@ -47,3 +48,3 @@ /usr/share/doc/python3-module-z3c.json-0.5.5/TODO.txt 100644 -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,9 +74,2 @@ 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 --- 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 2019-07-04 09:33:19.065787992 +0000 @@ -1,7 +1,7 @@ -/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-35.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.opt-1.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.opt-2.pyc 100644 -/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/testing.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.opt-1.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.opt-2.pyc 100644 +/usr/lib/python3/site-packages/z3c/json/__pycache__/tests.cpython-37.pyc 100644 /usr/lib/python3/site-packages/z3c/json/testing.py 100644 @@ -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,4 +22,2 @@ 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