<86>Apr 16 11:49:44 userdel[3693107]: delete user 'rooter' <86>Apr 16 11:49:44 userdel[3693107]: removed group 'rooter' owned by 'rooter' <86>Apr 16 11:49:44 userdel[3693107]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 16 11:49:44 groupadd[3693116]: group added to /etc/group: name=rooter, GID=615 <86>Apr 16 11:49:44 groupadd[3693116]: group added to /etc/gshadow: name=rooter <86>Apr 16 11:49:44 groupadd[3693116]: new group: name=rooter, GID=615 <86>Apr 16 11:49:44 useradd[3693123]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Apr 16 11:49:44 userdel[3693131]: delete user 'builder' <86>Apr 16 11:49:44 userdel[3693131]: removed group 'builder' owned by 'builder' <86>Apr 16 11:49:44 userdel[3693131]: removed shadow group 'builder' owned by 'builder' <86>Apr 16 11:49:44 groupadd[3693137]: group added to /etc/group: name=builder, GID=616 <86>Apr 16 11:49:44 groupadd[3693137]: group added to /etc/gshadow: name=builder <86>Apr 16 11:49:44 groupadd[3693137]: new group: name=builder, GID=616 <86>Apr 16 11:49:44 useradd[3693141]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-yams-0.45.1-alt2.src.rpm: The use of such a license name is ambiguous: LGPL <13>Apr 16 11:49:46 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 16 11:49:46 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 16 11:49:46 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 16 11:49:46 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 16 11:49:46 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 16 11:49:46 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 16 11:49:46 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 16 11:49:46 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 16 11:49:47 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 16 11:49:47 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 16 11:49:47 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 16 11:49:47 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 16 11:49:48 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 16 11:49:48 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 16 11:49:48 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 16 11:49:48 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 16 11:49:52 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Apr 16 11:49:52 rpmi: python3-module-six-1.13.0-alt1 sisyphus+240546.100.2.1 1573542703 installed <13>Apr 16 11:49:52 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>Apr 16 11:49:52 rpmi: python3-module-ntlm-1.1.0-alt1.2 sisyphus+228512.100.1.1 1556654575 installed <13>Apr 16 11:49:52 rpmi: python3-module-yapps2-2.2.0-alt1.2 sisyphus+227542.500.1.2 1555971937 installed <13>Apr 16 11:49:52 rpmi: pytz-zoneinfo-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Apr 16 11:49:52 rpmi: python3-module-dateutil-2.8.1-alt1 sisyphus+248266.102.7.1 1584846156 installed <13>Apr 16 11:49:52 rpmi: python3-module-snowballstemmer-1.2.0-alt2.1 1457859319 installed <13>Apr 16 11:49:52 rpmi: python3-module-pyparsing-2.4.2-alt1 sisyphus+236061.100.3.1 1565853577 installed <13>Apr 16 11:49:52 rpmi: python3-module-packaging-19.0-alt2 sisyphus+235493.3500.8.1 1565461874 installed <13>Apr 16 11:49:52 rpmi: python3-module-markupsafe-1.1.1-alt1 sisyphus+248369.100.1.1 1585046136 installed <13>Apr 16 11:49:52 rpmi: python3-module-jinja2-2.10.3-alt1 sisyphus+241982.100.1.1 1575023523 installed <13>Apr 16 11:49:52 rpmi: python3-module-imagesize-1.1.0-alt1 sisyphus+229015.100.2.1 1557233756 installed <13>Apr 16 11:49:52 rpmi: python3-module-pytz-1:2019.3-alt1 sisyphus+242012.100.2.1 1575623104 installed <13>Apr 16 11:49:52 rpmi: python3-module-babel-1:2.6.0-alt1 sisyphus+228351.2400.6.2 1556652168 installed <13>Apr 16 11:49:52 rpmi: python3-module-ndg-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 16 11:49:52 rpmi: python3-module-idna-2.9-alt1 sisyphus+248055.100.1.1 1584555852 installed <13>Apr 16 11:49:52 rpmi: python3-module-chardet-3.0.4-alt1 sisyphus+227476.1700.1.2 1555756717 installed <13>Apr 16 11:49:52 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+245915.200.1.1 1581496105 installed <13>Apr 16 11:49:52 rpmi: python3-module-genshi-0.7-alt2 sisyphus+229363.100.1.1 1557847335 installed <13>Apr 16 11:49:52 rpmi: python3-module-pycparser-2.19-alt2 sisyphus+245734.100.1.1 1581192421 installed <13>Apr 16 11:49:52 rpmi: python3-module-cffi-1.14.0-alt1 sisyphus+244999.200.3.1 1585219427 installed <13>Apr 16 11:49:53 rpmi: python3-module-cryptography-2.9-alt1 sisyphus+249274.100.1.1 1585916902 installed <13>Apr 16 11:49:53 rpmi: python3-module-OpenSSL-19.0.0-alt1 sisyphus+238757.100.1.1 1570339901 installed <13>Apr 16 11:49:53 rpmi: python3-module-ndg-httpsclient-0.4.2-alt1.qa1 sisyphus+227504.1300.1.2 1555853234 installed <13>Apr 16 11:49:53 rpmi: python3-module-urllib3-2:1.25.6-alt1 sisyphus+238720.100.2.1 1570349439 installed <13>Apr 16 11:49:53 rpmi: python3-module-requests-2.23.0-alt1 sisyphus+248062.500.2.1 1584568230 installed <13>Apr 16 11:49:53 rpmi: python-sphinx-objects.inv-1:2.3.9.20200324-alt1 sisyphus+248564.100.1.1 1585184032 installed <13>Apr 16 11:49:53 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 16 11:49:53 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <86>Apr 16 11:49:53 groupadd[3700413]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 16 11:49:53 groupadd[3700413]: group added to /etc/gshadow: name=_keytab <86>Apr 16 11:49:53 groupadd[3700413]: new group: name=_keytab, GID=499 <13>Apr 16 11:49:53 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Apr 16 11:49:53 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 16 11:49:53 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 16 11:49:53 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:53 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:53 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:53 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:53 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:54 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:54 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:54 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:54 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 16 11:49:54 rpmi: python3-module-kerberos-1.3.0-alt2 sisyphus+245000.4500.78.1 1583197254 installed <13>Apr 16 11:49:54 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Apr 16 11:49:54 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Apr 16 11:49:54 rpmi: libxslt-1.1.34-alt2 sisyphus+248264.100.1.1 1584829770 installed <13>Apr 16 11:49:54 rpmi: python3-module-cssselect-0.9.1-alt1.2 sisyphus+227479.1100.1.2 1555757152 installed <13>Apr 16 11:49:54 rpmi: python3-module-html5lib-1:1.0.1-alt1 sisyphus+238807.100.2.1 1570465973 installed <13>Apr 16 11:49:54 rpmi: python3-module-lxml-4.5.0-alt1 sisyphus+244999.400.3.1 1585220375 installed <13>Apr 16 11:49:54 rpmi: python3-module-docutils-0.15.2-alt1 sisyphus+239215.200.1.1 1576583082 installed <13>Apr 16 11:49:54 rpmi: python3-module-alabaster-0.7.6-alt3 sisyphus+228351.700.4.1 1556637370 installed <13>Apr 16 11:49:54 rpmi: python3-module-sphinxcontrib-applehelp-1.0.1-alt1 sisyphus+228217.100.1.1 1556282506 installed <13>Apr 16 11:49:54 rpmi: python3-module-sphinxcontrib-devhelp-1.0.1-alt1 sisyphus+228218.100.1.1 1556283262 installed <13>Apr 16 11:49:54 rpmi: python3-module-sphinxcontrib-htmlhelp-1.0.2-alt1 sisyphus+228401.100.1.1 1556572721 installed <13>Apr 16 11:49:54 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+238085.500.1.1 1569313099 installed <13>Apr 16 11:49:54 rpmi: python3-module-sphinxcontrib-qthelp-1.0.2-alt1 sisyphus+228215.100.1.1 1556282300 installed <13>Apr 16 11:49:54 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.3-alt1 sisyphus+228216.100.1.1 1556282403 installed <13>Apr 16 11:49:55 rpmi: python3-module-sphinx-1:2.2.0-alt3 sisyphus+238476.100.2.1 1569998637 installed <13>Apr 16 11:49:55 rpmi: python3-module-Pygments-2.4.2-alt2 sisyphus+245852.1100.2.1 1581424681 installed <13>Apr 16 11:49:55 rpmi: python3-module-logilab-common-1.5.2-alt1 sisyphus+249111.40.2.1 1585742072 installed <13>Apr 16 11:49:55 rpmi: python3-module-logilab-database-1.17.1-alt1 sisyphus+249127.100.1.1 1585751288 installed <13>Apr 16 11:49:55 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-yams-0.45.1-alt2.nosrc.rpm <13>Apr 16 11:49:59 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 16 11:49:59 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 16 11:49:59 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 16 11:49:59 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-yams-0.45.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.80969 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-yams-0.45.1 + echo 'Source #0 (python3-module-yams-0.45.1.tar):' Source #0 (python3-module-yams-0.45.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-yams-0.45.1.tar + cd python3-module-yams-0.45.1 + /bin/chmod -c -Rf u+rwX,go-w . + find -type f '(' -name '*.py' -o -name owl2yams -o -name yams-check -o -name yams-view ')' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./yams/xy.py RefactoringTool: Refactored ./yams/tools.py RefactoringTool: Refactored ./yams/serialize.py RefactoringTool: Refactored ./yams/schema2dot.py RefactoringTool: Refactored ./yams/schema.py --- ./yams/tools.py (original) +++ ./yams/tools.py (refactored) @@ -1,5 +1,5 @@ """some yams command line tools""" -from __future__ import print_function + import sys from os.path import exists, join, dirname @@ -39,7 +39,7 @@ return 0 except Exception as ex: tb_offset = getattr(ex, 'tb_offset', 0) - filename, lineno, func, text = extract_tb(sys.exc_traceback)[-1-tb_offset] + filename, lineno, func, text = extract_tb(sys.exc_info()[2])[-1-tb_offset] if hasattr(ex, "schema_files"): filename = ', '.join(ex.schema_files) _error(filename, lineno,"%s -> %s" % (ex.__class__.__name__, ex)) @@ -69,7 +69,7 @@ packages = [pkg for pkg in packages if pkg != app_dir] elif False: glob = globals().copy() - execfile(join(app_dir,"__pkginfo__.py"), glob) + exec(compile(open(join(app_dir,"__pkginfo__.py"), "rb").read(), join(app_dir,"__pkginfo__.py"), 'exec'), glob) #dirnames = [ join(lib_dir,dep) for dep in glob['__use__']]+dirnames packages = [ dep for dep in glob['__use__']] --- ./yams/serialize.py (original) +++ ./yams/serialize.py (refactored) @@ -5,7 +5,7 @@ def serialize_to_python(s): out = StringIO() w = out.write - w(u'from yams.buildobjs import *\n\n') + w('from yams.buildobjs import *\n\n') graph = {} for entity in s.entities(): l = graph.setdefault(entity, []) @@ -17,21 +17,21 @@ base = e._specialized_type else: base = 'EntityType' - w(u'class %s(%s):\n' % (e.type, base)) + w('class %s(%s):\n' % (e.type, base)) attr_defs = list(e.attribute_definitions()) if attr_defs: for attr,obj in attr_defs: - w(u' %s = %s()\n' % (attr.type, obj.type)) + w(' %s = %s()\n' % (attr.type, obj.type)) else: - w(u' pass\n') - w(u'\n') + w(' pass\n') + w('\n') for r in s.relations(): if not r.final: if r.subjects() and r.objects(): - w(u'class %s(RelationDefinition):\n' % r.type) - w(u' subject = (%s,)\n' % ', '.join("'%s'" % x for x in r.subjects())) - w(u' object = (%s,)\n' % ', '.join("'%s'" % x for x in r.objects())) - w(u'\n') + w('class %s(RelationDefinition):\n' % r.type) + w(' subject = (%s,)\n' % ', '.join("'%s'" % x for x in r.subjects())) + w(' object = (%s,)\n' % ', '.join("'%s'" % x for x in r.objects())) + w('\n') else: logging.warning('relation definition %s missing subject/object' % r.type) return out.getvalue() --- ./yams/schema2dot.py (original) +++ ./yams/schema2dot.py (refactored) @@ -18,7 +18,7 @@ """Write a schema as a dot file. """ -from __future__ import print_function + __docformat__ = "restructuredtext en" import sys, os @@ -128,12 +128,12 @@ self._eindex = dict([(e.type, e) for e in entities]) def nodes(self): - for eschema in sorted(self._eindex.values(), key=lambda x: x.type): + for eschema in sorted(list(self._eindex.values()), key=lambda x: x.type): yield eschema.type, eschema def edges(self): # Entities with inheritance relations. - for eschema in sorted(self._eindex.values(), key=lambda x: x.type): + for eschema in sorted(list(self._eindex.values()), key=lambda x: x.type): if eschema.specializes(): yield str(eschema), str(eschema.specializes()), None # Subject/object relations. --- ./yams/schema.py (original) +++ ./yams/schema.py (refactored) @@ -76,10 +76,10 @@ >>> 'Folder' in d True """ - return dict(item for item in dictionary.items()) + return dict(item for item in list(dictionary.items())) def _format_properties(props): - res = [('%s=%s' % item) for item in props.items() if item[1]] RefactoringTool: Refactored ./yams/reader.py RefactoringTool: No changes to ./yams/interfaces.py RefactoringTool: Refactored ./yams/diff.py + res = [('%s=%s' % item) for item in list(props.items()) if item[1]] return ','.join(res) class ERSchema(object): @@ -143,7 +143,7 @@ def check_permission_definitions(self): """check permissions are correctly defined""" # already initialized, check everything is fine - for action, groups in self.permissions.items(): + for action, groups in list(self.permissions.items()): assert action in self.ACTIONS, \ 'unknown action %s for %s' % (action, self) assert isinstance(groups, tuple), \ @@ -311,7 +311,7 @@ @cached def ordered_relations(self): """return subject relations in an ordered way""" - return sorted(self.subjrels.values(), + return sorted(list(self.subjrels.values()), key=lambda x: x.rdef(self, x.objects(self)[0]).order) def relation_definitions(self, includefinal=False): @@ -607,7 +607,7 @@ return set(chain(cls._RPROPERTIES, cls._NONFINAL_RPROPERTIES, cls._FINAL_RPROPERTIES, - *cls.BASE_TYPE_PROPERTIES.values())) + *list(cls.BASE_TYPE_PROPERTIES.values()))) def __init__(self, subject, rtype, object, package, values=None): if values is not None: @@ -788,7 +788,7 @@ def __repr__(self): return '<%s [%s]>' % (self.type, '; '.join('%s,%s' % (s.type, o.type) - for (s, o), props in self.rdefs.items())) + for (s, o), props in list(self.rdefs.items()))) def _rehash(self): self._subj_schemas = rehash(self._subj_schemas) @@ -907,7 +907,7 @@ raise BadSchemaDefinition(msg) self.rdefs[key] = rdef = self.rdef_class(subject, self, object, buildrdef.package) - for prop, default in rdef.rproperties().items(): + for prop, default in list(rdef.rproperties().items()): rdefval = getattr(buildrdef, prop, MARKER) if rdefval is MARKER: if prop == 'permissions': @@ -978,7 +978,7 @@ def check_permission_definitions(self): """check permissions are correctly defined""" - for rdef in self.rdefs.values(): + for rdef in list(self.rdefs.values()): rdef.check_permission_definitions() if self.rule and (self.permissions.get('add') or self.permissions.get('delete')): @@ -1019,9 +1019,9 @@ def _rehash(self): """rehash schema's internal structures""" - for eschema in self._entities.values(): + for eschema in list(self._entities.values()): eschema._rehash() - for rschema in self._relations.values(): + for rschema in list(self._relations.values()): rschema._rehash() def get(self, name, default=None): --- ./yams/reader.py (original) +++ ./yams/reader.py (refactored) @@ -20,7 +20,7 @@ Use either a sql derivated language for entities and relation definitions files or a direct python definition file. """ -from __future__ import print_function + __docformat__ = "restructuredtext en" @@ -200,7 +200,7 @@ if filepath not in self.loaded_files: modname, module = self.exec_file(filepath, modname) objects_to_add = set() - for name, obj in vars(module).items(): + for name, obj in list(vars(module).items()): if (isinstance(obj, type) and issubclass(obj, buildobjs.Definition) and obj.__module__ == modname --- ./yams/diff.py (original) +++ ./yams/diff.py (refactored) @@ -20,7 +20,7 @@ Textual representation of schema are created and standard diff algorithm are applied. """ -from __future__ import print_function + import subprocess import tempfile @@ -214,7 +214,7 @@ # Handle multi-rdef relation types for rtype in sorted(multirtypes): - RefactoringTool: Refactored ./yams/constraints.py RefactoringTool: Refactored ./yams/buildobjs.py for (subjectschema, objectschema), relation in sorted(schema[rtype].rdefs.iteritems()): + for (subjectschema, objectschema), relation in sorted(schema[rtype].rdefs.items()): subjetype = subjectschema.type objetype = objectschema.type output.append('class %s_%s_%s(RelationDefinition):\n' % --- ./yams/constraints.py (original) +++ ./yams/constraints.py (refactored) @@ -99,7 +99,7 @@ def serialize(self): """called to make persistent valuable data of a constraint""" - return cstr_json_dumps({u'msg': self.msg}) + return cstr_json_dumps({'msg': self.msg}) @classmethod def deserialize(cls, value): @@ -233,8 +233,8 @@ def serialize(self): """simple text serialization""" - return cstr_json_dumps({u'min': self.min, u'max': self.max, - u'msg': self.msg}) + return cstr_json_dumps({'min': self.min, 'max': self.max, + 'msg': self.msg}) @classmethod def deserialize(cls, value): @@ -290,8 +290,8 @@ def serialize(self): """simple text serialization""" - return cstr_json_dumps({u'regexp': self.regexp, u'flags': self.flags, - u'msg': self.msg}) + return cstr_json_dumps({'regexp': self.regexp, 'flags': self.flags, + 'msg': self.msg}) @classmethod def deserialize(cls, value): @@ -350,8 +350,8 @@ def serialize(self): """simple text serialization""" - return cstr_json_dumps({u'op': self.operator, u'boundary': self.boundary, - u'msg': self.msg}) + return cstr_json_dumps({'op': self.operator, 'boundary': self.boundary, + 'msg': self.msg}) @classmethod def deserialize(cls, value): @@ -421,8 +421,8 @@ def serialize(self): """simple text serialization""" - return cstr_json_dumps({u'minvalue': self.minvalue, u'maxvalue': self.maxvalue, - u'msg': self.msg}) + return cstr_json_dumps({'minvalue': self.minvalue, 'maxvalue': self.maxvalue, + 'msg': self.msg}) @classmethod def deserialize(cls, value): @@ -444,7 +444,7 @@ self.values = tuple(values) def __str__(self): - return 'value in (%s)' % u', '.join(repr(text_type(word)) for word in self.vocabulary()) + return 'value in (%s)' % ', '.join(repr(text_type(word)) for word in self.vocabulary()) def check(self, entity, rtype, value): """return true if the value is in the specific vocabulary""" @@ -452,10 +452,10 @@ def _failed_message(self, entity, key, value): if isinstance(value, string_types): - value = u'"%s"' % text_type(value) - choices = u', '.join('"%s"' % val for val in self.values) + value = '"%s"' % text_type(value) + choices = ', '.join('"%s"' % val for val in self.values) else: - choices = u', '.join(text_type(val) for val in self.values) + choices = ', '.join(text_type(val) for val in self.values) return _('invalid value %(KEY-value)s, it must be one of %(KEY-choices)s'), { key + '-value': value, key + '-choices': choices} @@ -466,7 +466,7 @@ def serialize(self): """serialize possible values as a json object""" - return cstr_json_dumps({u'values': self.values, u'msg': self.msg}) + return cstr_json_dumps({'values': self.values, 'msg': self.msg}) @classmethod def deserialize(cls, value): --- ./yams/buildobjs.py (original) +++ ./yams/buildobjs.py (refactored) @@ -83,7 +83,7 @@ insertidx = len(relations) relations.insert(insertidx, rdef) if getattr(rdef, 'metadata', {}): - for meta_name, value in rdef.metadata.items(): + for meta_name, value in list(rdef.metadata.items()): assert meta_name in KNOWN_METAATTRIBUTES insertidx += 1 # inseRefactoringTool: Refactored ./yams/_exceptions.py RefactoringTool: No changes to ./yams/__init__.py RefactoringTool: No changes to ./test/unittest_xy.py RefactoringTool: Refactored ./test/unittest_specialization.py RefactoringTool: No changes to ./test/unittest_serialize.py RefactoringTool: No changes to ./test/unittest_schema2dot.py RefactoringTool: Refactored ./test/unittest_schema.py rt meta after main meta_rel_name = '_'.join(((name or rdef.name), meta_name)) @@ -256,7 +256,7 @@ # Main attribute are marked as created before it's metadata. # order in meta data is preserved. if self.metadata: - meta = sorted(metadata.values(), key= lambda x: x.creation_rank) + meta = sorted(list(metadata.values()), key= lambda x: x.creation_rank) if meta[0].creation_rank < self.creation_rank: m_iter = iter(meta) previous = self @@ -369,7 +369,7 @@ specialized.__specialized_by__.append(name) ### Initialize processed class defclass = super(metadefinition, mcs).__new__(mcs, name, bases, classdict) - for rname, rdef in relations.items(): + for rname, rdef in list(relations.items()): _add_relation(defclass.__relations__, rdef, rname) ### take base classes'relations into account for base in bases: --- ./yams/_exceptions.py (original) +++ ./yams/_exceptions.py (refactored) @@ -29,7 +29,7 @@ if PY2: def __str__(self): - return unicode(self).encode('utf8') + return str(self).encode('utf8') else: def __str__(self): return self.__unicode__() @@ -113,10 +113,10 @@ else: errors = dict(self._translated_errors(text_type)) if len(errors) == 1: - attr, error = next(iter(errors.items())) - return u'%s (%s): %s' % (self.entity, attr, error) - errors = '\n'.join('* %s: %s' % (k, v) for k, v in errors.items()) - return u'%s:\n%s' % (self.entity, errors) + attr, error = next(iter(list(errors.items()))) + return '%s (%s): %s' % (self.entity, attr, error) + errors = '\n'.join('* %s: %s' % (k, v) for k, v in list(errors.items())) + return '%s:\n%s' % (self.entity, errors) def translate(self, _): """Translate and interpolate messsages in the errors dictionary, using @@ -136,7 +136,7 @@ self.errors = dict(self._translated_errors(_)) def _translated_errors(self, _): - for key, msg in self.errors.items(): + for key, msg in list(self.errors.items()): msg = _(msg) if key is not None: msg = msg.replace('%(KEY-', '%('+key+'-') --- ./test/unittest_specialization.py (original) +++ ./test/unittest_specialization.py (refactored) @@ -56,7 +56,7 @@ 'add': ('managers', ), 'update': ('managers', )} - return build_schema_from_namespace(locals().items()) + return build_schema_from_namespace(list(locals().items())) class SpecializationTC(TestCase): @@ -206,7 +206,7 @@ # though we've only partial implementation in yams that can't be easily # tested, and they will rely on the tested behaviour of # remove_infered_definitions - for rdef in self.schema['works_for'].rdefs.values(): + for rdef in list(self.schema['works_for'].rdefs.values()): rdef.infered = True self.schema.remove_infered_definitions() self.assertIn('works_for', self.schema) --- ./test/unittest_schema.py (original) +++ ./test/unittest_schema.py (refactored) @@ -89,8 +89,8 @@ schema.add_relation_def(RelationDefinition(_from, _type, _to, order=i)) schema.rschema('nom').rdef('Person', 'String').cardinality = '11' # not null - enote.rdef('type').constraints = [StaticVocabularyConstraint((u'bon', u'pasbon', - u'bof', u'peux mieux faire'))] + enote.rdef('type').constraints = [StaticVocabularyConstraint(('bon', 'pasbon', + 'bof', 'peux mieux faire'))] enote.rdef('date').cardinality = '11' eaffaire.rdef('sujet').constraints = [SizeConstraint(128)] @@ -99,7 +99,7 @@ eperson.rdef('prenom').constraints = [SizeConstraint(64)] epersWARNING: couldn't encode ./test/unittest_schema.py's diff for your terminal RefactoringTool: Refactored ./test/unittest_reader.py on.rdef('tel').constraints = [IntervalBoundConstraint(maxvalue=999999)] eperson.rdef('fax').constraints = [IntervalBoundConstraint(minvalue=12, maxvalue=999999)] - eperson.rdef('promo').constraints = [StaticVocabularyConstraint( (u'bon', u'pasbon'))] + eperson.rdef('promo').constraints = [StaticVocabularyConstraint( ('bon', 'pasbon'))] eperson.rdef('promo_format').constraints = [FormatConstraint()] estring = schema.eschema('String') @@ -121,12 +121,12 @@ ) ATTRIBUTE_BAD_VALUES = ( - ('Person', [('nom', 1), ('nom', u'tropcour'), --- ./test/unittest_reader.py (original) +++ ./test/unittest_reader.py (refactored) @@ -418,7 +418,7 @@ rel = SubjectRelation('Anentity', inlined=False) with self.assertRaises(BadSchemaDefinition) as cm: - build_schema_from_namespace(locals().items()) + build_schema_from_namespace(list(locals().items())) self.assertBadInlinedMessage(cm.exception) @@ -429,7 +429,7 @@ inlined = False with self.assertRaises(BadSchemaDefinition) as cm: - build_schema_from_namespace(locals().items()) + build_schema_from_namespace(list(locals().items())) self.assertBadInlinedMessage(cm.exception) def test_bad_int_size_constraint(self): @@ -437,7 +437,7 @@ attr = Int(maxsize=40) with self.assertRaises(BadSchemaDefinition) as cm: - build_schema_from_namespace(locals().items()) + build_schema_from_namespace(list(locals().items())) self.assertEqual("size constraint doesn't apply to Int entity type", str(cm.exception)) @@ -449,7 +449,7 @@ #vocabulary=['ab', 'abc'], maxsize=1) with self.assertRaises(BadSchemaDefinition) as cm: - schema = build_schema_from_namespace(locals().items()) + schema = build_schema_from_namespace(list(locals().items())) self.assertEqual("size constraint set to 2 but vocabulary contains string of greater size", str(cm.exception)) @@ -461,7 +461,7 @@ foo = String(__permissions__={'add': ()}) with self.assertRaises(BadSchemaDefinition) as cm: - build_schema_from_namespace(locals().items()) + build_schema_from_namespace(list(locals().items())) self.assertEqual("conflicting values {'add': ()}/{'read': ()} for property __permissions__ of relation 'foo'", str(cm.exception)) @@ -476,7 +476,7 @@ cardinality = '1*' symmetric = True - schema = build_schema_from_namespace(locals().items()) + schema = build_schema_from_namespace(list(locals().items())) self.assertEqual('', schema['Anentity'].package) rel = schema['rel'] self.assertEqual(True, rel.symmetric) @@ -548,7 +548,7 @@ subject = 'MyEntity' object = 'MyOtherEntity' - schema = build_schema_from_namespace(locals().items()) + schema = build_schema_from_namespace(list(locals().items())) self.assertIn('MyEntity', schema.entities()) my_entity = schema['MyEntity'] attributes_def = my_entity.attribute_definitions() @@ -583,7 +583,7 @@ object = 'Form' cardinality = '*1' - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) entities = [x for x in schema.entities() if not x.final] self.assertCountEqual(['Form', 'Question'], entities) relations = [x for x in schema.relations() if not x.final] @@ -607,7 +607,7 @@ __permissions__ = {'read': ('managers', 'users')} rule = ('S travaille O') - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual('S travaille O', schema['est_paye_par'].rule) self.assertEqual({'read': ('managers'RefactoringTool: Refactored ./test/unittest_diff.py , 'users')}, schema['est_paye_par'].permissions) @@ -628,7 +628,7 @@ object = 'Mafieu' with self.assertRaises(BadSchemaDefinition) as cm: - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual('Cannot add relation definition "est_paye_par" ' 'because an homonymous computed relation already ' 'exists with rule "S travaille O"', @@ -650,7 +650,7 @@ inlined = True with self.assertRaises(BadSchemaDefinition) as cm: - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual("Computed relation has no inlined attribute", str(cm.exception)) @@ -672,7 +672,7 @@ rule = ('S travaille O') with self.assertRaises(BadSchemaDefinition) as cm: - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual( 'Cannot set add/delete permissions on computed relation est_paye_par', str(cm.exception)) @@ -682,7 +682,7 @@ attr = Int(formula='Any Z WHERE X oattr Z') oattr = String() - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual('Any Z WHERE X oattr Z', schema['Entity'].rdef('attr').formula) self.assertIsNone(schema['Entity'].rdef('oattr').formula) @@ -696,7 +696,7 @@ object = 'Int' formula='Any Z WHERE X oattr Z' - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual('Any Z WHERE X oattr Z', schema['Entity'].rdef('attr').formula) self.assertIsNone(schema['Entity'].rdef('oattr').formula) @@ -710,7 +710,7 @@ object = 'Int' formula = 'Any Z WHERE X oattr Z' - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual({'read': ('managers', 'users', 'guests'), 'update': (), 'add': ()}, @@ -729,7 +729,7 @@ formula = 'Any Z WHERE X oattr Z' with self.assertRaises(BadSchemaDefinition) as cm: - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual( 'Cannot set add/update permissions on computed attribute Entity.attr[Int]', str(cm.exception)) @@ -751,7 +751,7 @@ subject = 'Entity' object = 'Boolean' - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual({'read': ('clows', ), 'update': (), 'add': ()}, @@ -765,7 +765,7 @@ oattr = String() attr = SubjectRelation('Int', formula='Any Z WHERE X oattr Z') - schema = build_schema_from_namespace(vars().items()) + schema = build_schema_from_namespace(list(vars().items())) self.assertEqual('Any Z WHERE X oattr Z', schema['attr'].rdef('Entity', 'Int').formula) --- ./test/unittest_diff.py (original) +++ ./test/unittest_diff.py (refactored) @@ -75,7 +75,7 @@ def build_rdef(self, props_ref): class AType(EntityType): attr = String(**props_ref) - schema = build_schema_from_namespace(locals().items()) + schema = build_schema_from_namespace(list(locals().items())) return schema['AType'].rdef('attr') def build_props_dict(self, props_ref): @@ -134,7 +134,7 @@ RefactoringTool: Refactored ./test/unittest_constraints.py RefactoringTool: No changes to ./test/data2/schema.py RefactoringTool: No changes to ./test/data2/__init__.py RefactoringTool: No changes to ./test/data/schema_post_build_callback.py RefactoringTool: No changes to ./test/data/schema/schema.py RefactoringTool: No changes to ./test/data/schema/__init__.py RefactoringTool: No changes to ./test/data/schema/State.py RefactoringTool: Refactored ./test/data/schema/Dates.py RefactoringTool: No changes to ./test/data/schema/Company.py RefactoringTool: No changes to ./test/data/dbmodel/blog.py RefactoringTool: No changes to ./test/data/dbmodel/__init__.py RefactoringTool: No changes to ./test/data/__init__.py RefactoringTool: No changes to ./setup.py RefactoringTool: Refactored ./bin/owl2yams self.assertEqual({'maxsize': 5, '__permissions__': " {\n\t\t\t'read': ('managers','users','guests'),\n\t\t\t'add': ('managers','users'),\n\t\t\t'update': ('managers','owners')\n\t\t}", 'order': 1, - 'vocabulary': [u'aaa', u'bbbb', u'ccccc']}, + 'vocabulary': ['aaa', 'bbbb', 'ccccc']}, properties_from(rdef)) --- ./test/unittest_constraints.py (original) +++ ./test/unittest_constraints.py (refactored) @@ -56,22 +56,22 @@ def test_interval_serialization_integers(self): cstr = IntervalBoundConstraint(12, 13) self.assertEqual(IntervalBoundConstraint.deserialize('12;13'), cstr) - self.assertEqual(cstr.serialize(), u'{"maxvalue": 13, "minvalue": 12, "msg": null}') + self.assertEqual(cstr.serialize(), '{"maxvalue": 13, "minvalue": 12, "msg": null}') self.assertEqual(cstr.__class__.deserialize(cstr.serialize()), cstr) cstr = IntervalBoundConstraint(maxvalue=13) self.assertEqual(IntervalBoundConstraint.deserialize('None;13'), cstr) - self.assertEqual(cstr.serialize(), u'{"maxvalue": 13, "minvalue": null, "msg": null}') + self.assertEqual(cstr.serialize(), '{"maxvalue": 13, "minvalue": null, "msg": null}') self.assertEqual(cstr.__class__.deserialize(cstr.serialize()), cstr) cstr = IntervalBoundConstraint(minvalue=13) self.assertEqual(IntervalBoundConstraint.deserialize('13;None'), cstr) - self.assertEqual(cstr.serialize(), u'{"maxvalue": null, "minvalue": 13, "msg": null}') + self.assertEqual(cstr.serialize(), '{"maxvalue": null, "minvalue": 13, "msg": null}') self.assertEqual(cstr.__class__.deserialize(cstr.serialize()), cstr) self.assertRaises(AssertionError, IntervalBoundConstraint) def test_interval_serialization_floats(self): cstr = IntervalBoundConstraint(12.13, 13.14) self.assertEqual(IntervalBoundConstraint.deserialize('12.13;13.14'), cstr) - self.assertEqual(cstr.serialize(), u'{"maxvalue": 13.14, "minvalue": 12.13, "msg": null}') + self.assertEqual(cstr.serialize(), '{"maxvalue": 13.14, "minvalue": 12.13, "msg": null}') self.assertEqual(cstr.__class__.deserialize(cstr.serialize()), cstr) def test_interval_deserialization_integers(self): @@ -94,10 +94,10 @@ cstr = IntervalBoundConstraint(minvalue=Attribute('hip'), maxvalue=Attribute('hop')) class entity: hip, hop = 34, 42 self.assertEqual(cstr.failed_message('key', 20, entity), - (u'value %(KEY-value)s must be >= %(KEY-boundary)s', + ('value %(KEY-value)s must be >= %(KEY-boundary)s', {'key-boundary': 'hip', 'key-value': 20})) self.assertEqual(cstr.failed_message('key', 43, entity), - (u'value %(KEY-value)s must be <= %(KEY-boundary)s', + ('value %(KEY-value)s must be <= %(KEY-boundary)s', {'key-boundary': 'hop', 'key-value': 43})) def test_regexp_serialization(self): --- ./test/data/schema/Dates.py (original) +++ ./test/data/schema/Dates.py (refactored) @@ -19,9 +19,9 @@ from yams.buildobjs import EntityType, Datetime, Date, Time class Datetest(EntityType): - dt1 = Datetime(default=u'now') - dt2 = Datetime(default=u'today') - d1 = Date(default=u'today') + dt1 = Datetime(default='now') + dt2 = Datetime(default='today') + d1 = Date(default='today') d2 = Date(default=date(2007, 12, 11)) t1 = Time(default=time(8, 40)) t2 = Time(default=time(9, 45)) --- ./bin/owl2yams (original) +++ ./bin/owl2yams (refactored) @@ -103,23 +103,23 @@ parent = 'EntityType' if klass.parents: parent = ','.join(last(par) for par in klass.parents) - print 'class %s(%s):' % (last(klass.uri), parent) - print ' """%s <%s>"""' % (klass.label, klass.uri) + print('class %s(%s):' % (last(klass.uri)RefactoringTool: No changes to ./__pkginfo__.py RefactoringTool: Files that were modified: RefactoringTool: ./yams/xy.py RefactoringTool: ./yams/tools.py RefactoringTool: ./yams/serialize.py RefactoringTool: ./yams/schema2dot.py RefactoringTool: ./yams/schema.py RefactoringTool: ./yams/reader.py RefactoringTool: ./yams/interfaces.py RefactoringTool: ./yams/diff.py RefactoringTool: ./yams/constraints.py RefactoringTool: ./yams/buildobjs.py RefactoringTool: ./yams/_exceptions.py RefactoringTool: ./yams/__init__.py RefactoringTool: ./test/unittest_xy.py RefactoringTool: ./test/unittest_specialization.py RefactoringTool: ./test/unittest_serialize.py RefactoringTool: ./test/unittest_schema2dot.py RefactoringTool: ./test/unittest_schema.py RefactoringTool: ./test/unittest_reader.py RefactoringTool: ./test/unittest_diff.py RefactoringTool: ./test/unittest_constraints.py RefactoringTool: ./test/data2/schema.py RefactoringTool: ./test/data2/__init__.py RefactoringTool: ./test/data/schema_post_build_callback.py RefactoringTool: ./test/data/schema/schema.py RefactoringTool: ./test/data/schema/__init__.py RefactoringTool: ./test/data/schema/State.py RefactoringTool: ./test/data/schema/Dates.py RefactoringTool: ./test/data/schema/Company.py RefactoringTool: ./test/data/dbmodel/blog.py RefactoringTool: ./test/data/dbmodel/__init__.py RefactoringTool: ./test/data/__init__.py RefactoringTool: ./setup.py RefactoringTool: ./bin/owl2yams RefactoringTool: ./__pkginfo__.py , parent)) + print(' """%s <%s>"""' % (klass.label, klass.uri)) for attr, dtype in klass.attributes: - print ' %s = %s()' % (attr.lower(), TYPE_MAP[dtype]) - print + print(' %s = %s()' % (attr.lower(), TYPE_MAP[dtype])) + print() for uri, (subj, label, obj) in sorted(relations.items()): rel = clean_attr(label).replace('(','').replace(')','') if rel == 'class': sys.stderr.write('Achtung! relation named class!\n') rel = 'klass' #rel = '_'+rel - print 'class %s(RelationType):' % rel.lower() - print ' """%s"""' % uri - print ' subject = "%s"' % clean_klass(classes[subj].label) - print ' object = "%s"' % clean_klass(classes[obj].label) - print ' cardinality = "**"' - print + print('class %s(RelationType):' % rel.lower()) + print(' """%s"""' % uri) + print(' subject = "%s"' % clean_klass(classes[subj].label)) + print(' object = "%s"' % clean_klass(classes[obj].label)) + print(' cardinality = "**"') + print() write_model(classes, relations) ++ find ./ '(' -name '*.py' -o -name owl2yams -o -name yams-check -o -name yams-view ')' + sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' ./yams/xy.py ./yams/tools.py ./yams/serialize.py ./yams/schema2dot.py ./yams/schema.py ./yams/reader.py ./yams/interfaces.py ./yams/diff.py ./yams/constraints.py ./yams/buildobjs.py ./yams/_exceptions.py ./yams/__init__.py ./test/unittest_xy.py ./test/unittest_specialization.py ./test/unittest_serialize.py ./test/unittest_schema2dot.py ./test/unittest_schema.py ./test/unittest_reader.py ./test/unittest_diff.py ./test/unittest_constraints.py ./test/data2/schema.py ./test/data2/__init__.py ./test/data/schema_post_build_callback.py ./test/data/schema/schema.py ./test/data/schema/__init__.py ./test/data/schema/State.py ./test/data/schema/Dates.py ./test/data/schema/Company.py ./test/data/dbmodel/blog.py ./test/data/dbmodel/__init__.py ./test/data/__init__.py ./setup.py ./bin/yams-view ./bin/yams-check ./bin/owl2yams ./__pkginfo__.py ++ find ./ '(' -name '*.py' -o -name owl2yams -o -name yams-check -o -name yams-view ')' + sed -i 's|#!/usr/bin/python|#!/usr/bin/python3|' ./__pkginfo__.py ./setup.py ./yams/__init__.py ./yams/_exceptions.py ./yams/buildobjs.py ./yams/constraints.py ./yams/diff.py ./yams/interfaces.py ./yams/reader.py ./yams/schema.py ./yams/schema2dot.py ./yams/serialize.py ./yams/tools.py ./yams/xy.py ./test/unittest_constraints.py ./test/unittest_diff.py ./test/unittest_reader.py ./test/unittest_schema.py ./test/unittest_schema2dot.py ./test/unittest_serialize.py ./test/unittest_specialization.py ./test/unittest_xy.py ./test/data2/__init__.py ./test/data2/schema.py ./test/data/__init__.py ./test/data/schema_post_build_callback.py ./test/data/schema/Company.py ./test/data/schema/Dates.py ./test/data/schema/State.py ./test/data/schema/__init__.py ./test/data/schema/schema.py ./test/data/dbmodel/__init__.py ./test/data/dbmodel/blog.py ./bin/owl2yams ./bin/yams-check ./bin/yams-view + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.66063 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-yams-0.45.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/yams copying yams/xy.py -> build/lib/yams copying yams/tools.py -> build/lib/yams copying yams/serialize.py -> build/lib/yams copying yams/schema2dot.py -> build/lib/yams copying yams/schema.py -> build/lib/yams copying yams/reader.py -> build/lib/yams copying yams/interfaces.py -> build/lib/yams copying yams/diff.py -> build/lib/yams copying yams/constraints.py -> build/lib/yams copying yams/buildobjs.py -> build/lib/yams copying yams/_exceptions.py -> build/lib/yams copying yams/__init__.py -> build/lib/yams running build_scripts creating build/scripts-3.8 copying and adjusting bin/yams-check -> build/scripts-3.8 copying and adjusting bin/yams-view -> build/scripts-3.8 changing mode of build/scripts-3.8/yams-check from 644 to 755 changing mode of build/scripts-3.8/yams-view from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.72146 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-yams-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-yams-buildroot + cd python3-module-yams-0.45.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-yams-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-yams-buildroot creating /usr/src/tmp/python3-module-yams-buildroot/usr creating /usr/src/tmp/python3-module-yams-buildroot/usr/lib creating /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/__init__.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/_exceptions.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/buildobjs.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/constraints.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/diff.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/interfaces.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/reader.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/schema.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/schema2dot.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/serialize.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/tools.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams copying build/lib/yams/xy.py -> /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/_exceptions.py to _exceptions.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/buildobjs.py to buildobjs.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/constraints.py to constraints.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/diff.py to diff.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/interfaces.py to interfaces.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py to reader.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema.py to schema.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py to schema2dot.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/serialize.py to serialize.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py to tools.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/xy.py to xy.cpython-38.pyc running install_egg_info running egg_info writing yams.egg-info/PKG-INFO writing dependency_links to yams.egg-info/dependency_links.txt writing requirements to yams.egg-info/requires.txt writing top-level names to yams.egg-info/top_level.txt reading manifest file 'yams.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.sql' under directory 'test/data' warning: no files found matching '*.rel' under directory 'test/data' warning: no files found matching '*.esql' under directory 'test/data' warning: no previously-included files found matching 'python-yams.spec' warning: no previously-included files found matching 'debian' warning: no previously-included files matching '*' found under directory 'debian' writing manifest file 'yams.egg-info/SOURCES.txt' Copying yams.egg-info to /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info running install_scripts creating /usr/src/tmp/python3-module-yams-buildroot/usr/bin copying build/scripts-3.8/yams-view -> /usr/src/tmp/python3-module-yams-buildroot/usr/bin copying build/scripts-3.8/yams-check -> /usr/src/tmp/python3-module-yams-buildroot/usr/bin changing mode of /usr/src/tmp/python3-module-yams-buildroot/usr/bin/yams-view to 755 changing mode of /usr/src/tmp/python3-module-yams-buildroot/usr/bin/yams-check to 755 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-yams-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-yams-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-yams-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-yams-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-yams-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-module-yams-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python3-module-yams-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-yams-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-yams-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-38.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-38.pyc compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/_exceptions.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/buildobjs.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/constraints.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/diff.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/interfaces.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/serialize.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/xy.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-yams-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/_exceptions.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/buildobjs.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/constraints.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/diff.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/interfaces.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/serialize.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/xy.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-yams-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/_exceptions.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/buildobjs.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/constraints.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/diff.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/interfaces.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/serialize.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py compile /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/xy.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.pyc' './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-38.pyc' './usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-38.pyc' './usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-38.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.82226 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-yams-0.45.1 + python3 setup.py test running test running egg_info writing yams.egg-info/PKG-INFO writing dependency_links to yams.egg-info/dependency_links.txt deleting yams.egg-info/requires.txt writing top-level names to yams.egg-info/top_level.txt reading manifest file 'yams.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.sql' under directory 'test/data' warning: no files found matching '*.rel' under directory 'test/data' warning: no files found matching '*.esql' under directory 'test/data' warning: no previously-included files found matching 'python-yams.spec' warning: no previously-included files found matching 'debian' warning: no previously-included files matching '*' found under directory 'debian' writing manifest file 'yams.egg-info/SOURCES.txt' running build_ext ---------------------------------------------------------------------- Ran 0 tests in 0.000s OK + exit 0 Processing files: python3-module-yams-0.45.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.20775 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-yams-0.45.1 + DOCDIR=/usr/src/tmp/python3-module-yams-buildroot/usr/share/doc/python3-module-yams-0.45.1 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-yams-buildroot/usr/share/doc/python3-module-yams-0.45.1 + /bin/mkdir -p /usr/src/tmp/python3-module-yams-buildroot/usr/share/doc/python3-module-yams-0.45.1 + cp -prL ChangeLog README /usr/src/tmp/python3-module-yams-buildroot/usr/share/doc/python3-module-yams-0.45.1 + chmod -R go-w /usr/src/tmp/python3-module-yams-buildroot/usr/share/doc/python3-module-yams-0.45.1 + chmod -R a+rX /usr/src/tmp/python3-module-yams-buildroot/usr/share/doc/python3-module-yams-0.45.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.W8abBd 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.PlNUng find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/bin/yams-check: skipping sys python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/bin/yams-view: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py: line=122 IGNORE (for REQ=slight and deep=8) module=yams.schema /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py: line=123 IGNORE (for REQ=slight and deep=8) module=yams.constraints /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py: line=138 IGNORE (for REQ=slight and deep=8) module=yams.schema /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py: line=139 IGNORE (for REQ=slight and deep=8) module=yams.constraints python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/_exceptions.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/diff.py: line=255 IGNORE (for REQ=slight and deep=8) module=optparse python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [269, [270, [271, [272, [274, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]]]]]], [4, '', 253]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [270, [271, [272, [274, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]]]]]], [4, '', 253]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [271, [272, [274, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [272, [274, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [274, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [318, [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [319, [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [320, [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [321, [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [322, [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [323, [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]]] /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 UNABLE to determine the imported name at parse-time: package /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: line=253 a form of __import__ was read which gave no deps: [324, [325, [1, '__import__', 253]], [327, [7, '(', 253], [335, [336, [306, [310, [311, [312, [313, [316, [317, [318, [319, [320, [321, [322, [323, [324, [325, [1, 'package', 253]]]]]]]]]]]]]]]]]], [8, ')', 253]]] python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema.py: skipping itertools python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py: skipping sys python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py: skipping itertools /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py: line=225 IGNORE (for REQ=slight and deep=8) module=yams.reader python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py: line=66 IGNORE (for REQ=slight and deep=12) module=cubicweb.cwconfig /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py: line=80 IGNORE (for REQ=slight and deep=8) module=cubicweb Provides: python2.7(yams), python3(yams), python3(yams._exceptions), python3(yams.buildobjs), python3(yams.constraints), python3(yams.diff), python3(yams.interfaces), python3(yams.reader), python3(yams.schema), python3(yams.schema2dot), python3(yams.serialize), python3(yams.tools), python3(yams.xy) Requires: /usr/bin/python3, /usr/lib/python3/site-packages, python3(copy) < 0, python3(datetime) < 0, python3(decimal) < 0, python3(io) < 0, python3(json) < 0, python3(logging) < 0, python3(logilab.common) < 0, python3(logilab.common.configuration) < 0, python3(logilab.common.date) < 0, python3(logilab.common.decorators) < 0, python3(logilab.common.deprecation) < 0, python3(logilab.common.graph) < 0, python3(logilab.common.interface) < 0, python3(logilab.common.logging_ext) < 0, python3(logilab.common.modutils) < 0, python3(operator) < 0, python3(os) < 0, python3(os.path) < 0, python3(pkg_resources) < 0, python3(pkgutil) < 0, python3(re) < 0, python3(six) < 0, python3(subprocess) < 0, python3(tempfile) < 0, python3(traceback) < 0, python3(types) < 0, python3(warnings) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-yams-0.45.1-alt2.noarch.rpm 13.70user 0.57system 0:25.05elapsed 56%CPU (0avgtext+0avgdata 32120maxresident)k 0inputs+0outputs (0major+186422minor)pagefaults 0swaps /.out/python3-module-yams-0.45.1-alt2.noarch.rpm: The use of such a license name is ambiguous: LGPL 24.16user 5.03system 0:46.32elapsed 63%CPU (0avgtext+0avgdata 108764maxresident)k 3200inputs+0outputs (0major+658780minor)pagefaults 0swaps --- python3-module-yams-0.45.1-alt2.noarch.rpm.repo 2019-10-29 09:58:20.000000000 +0000 +++ python3-module-yams-0.45.1-alt2.noarch.rpm.hasher 2020-04-16 11:50:27.097651911 +0000 @@ -3,46 +3,46 @@ /usr/lib/python3/site-packages/yams 40755 -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/yams-0.45.1-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/yams/__init__.py 100644 /usr/lib/python3/site-packages/yams/__pycache__ 40755 -/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-38.pyc 100644 /usr/lib/python3/site-packages/yams/_exceptions.py 100644