<86>Jul 16 04:43:16 userdel[3093163]: delete user 'rooter' <86>Jul 16 04:43:16 userdel[3093163]: removed group 'rooter' owned by 'rooter' <86>Jul 16 04:43:16 userdel[3093163]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 16 04:43:16 groupadd[3093189]: group added to /etc/group: name=rooter, GID=966 <86>Jul 16 04:43:16 groupadd[3093189]: group added to /etc/gshadow: name=rooter <86>Jul 16 04:43:16 groupadd[3093189]: new group: name=rooter, GID=966 <86>Jul 16 04:43:16 useradd[3093211]: new user: name=rooter, UID=966, GID=966, home=/root, shell=/bin/bash <86>Jul 16 04:43:16 userdel[3093244]: delete user 'builder' <86>Jul 16 04:43:16 userdel[3093244]: removed group 'builder' owned by 'builder' <86>Jul 16 04:43:16 userdel[3093244]: removed shadow group 'builder' owned by 'builder' <86>Jul 16 04:43:16 groupadd[3093261]: group added to /etc/group: name=builder, GID=967 <86>Jul 16 04:43:16 groupadd[3093261]: group added to /etc/gshadow: name=builder <86>Jul 16 04:43:16 groupadd[3093261]: new group: name=builder, GID=967 <86>Jul 16 04:43:16 useradd[3093281]: new user: name=builder, UID=967, GID=967, 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>Jul 16 04:43:17 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293464 installed <13>Jul 16 04:43:17 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jul 16 04:43:17 rpmi: libexpat-2.4.7-alt1 sisyphus+296417.100.1.1 1646812526 installed <13>Jul 16 04:43:17 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jul 16 04:43:17 rpmi: libtasn1-4.18.0-alt2 sisyphus+301112.100.1.1 1654185769 installed <13>Jul 16 04:43:17 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Jul 16 04:43:17 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Jul 16 04:43:17 rpmi: ca-certificates-2022.04.01-alt1 sisyphus+297635.100.1.1 1648830809 installed <13>Jul 16 04:43:17 rpmi: ca-trust-0.1.3-alt1 sisyphus+299449.100.1.1 1651660001 installed <13>Jul 16 04:43:17 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jul 16 04:43:17 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Jul 16 04:43:17 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Jul 16 04:43:17 rpmi: python3-3.10.5-alt1 sisyphus+302218.100.1.1 1655400746 installed <13>Jul 16 04:43:18 rpmi: python3-base-3.10.5-alt1 sisyphus+302218.100.1.1 1655400746 installed <13>Jul 16 04:43:18 rpmi: tests-for-installed-python3-pkgs-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Jul 16 04:43:18 rpmi: rpm-build-python3-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Jul 16 04:43:19 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Jul 16 04:43:19 rpmi: python3-module-Pygments-2.12.0-alt1 sisyphus+302439.100.1.1 1655830967 installed <13>Jul 16 04:43:19 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Jul 16 04:43:19 rpmi: python3-module-alabaster-0.7.6-alt4 sisyphus+281697.200.1.1 1627919931 installed <13>Jul 16 04:43:19 rpmi: python3-module-genshi-0.7.7-alt1 sisyphus+299111.100.1.1 1651061011 installed <13>Jul 16 04:43:19 rpmi: python3-module-dateutil-2.8.2-alt1 sisyphus+282710.100.1.1 1628976583 installed <13>Jul 16 04:43:19 rpmi: python3-module-yapps2-2.2.0-alt2 sisyphus+281199.100.1.1 1627462968 installed <13>Jul 16 04:43:19 rpmi: python3-module-snowballstemmer-1.2.0-alt3 sisyphus+284856.100.1.1 1631108763 installed <13>Jul 16 04:43:19 rpmi: python3-module-railroad-diagrams-1.1.1-alt1 sisyphus+294587.100.1.1 1643813088 installed <13>Jul 16 04:43:19 rpmi: python3-module-pkg_resources-1:62.0.0-alt1 sisyphus+297628.2400.4.1 1649344543 installed <13>Jul 16 04:43:19 rpmi: python3-module-markupsafe-1:2.1.1-alt1 sisyphus+296796.100.1.1 1647522025 installed <13>Jul 16 04:43:19 rpmi: python3-module-jinja2-3.1.2-alt1 sisyphus+303664.100.1.1 1657809843 installed <13>Jul 16 04:43:19 rpmi: python3-module-pyparsing-3.0.9-alt1 sisyphus+302403.100.1.1 1655812396 installed <13>Jul 16 04:43:19 rpmi: python3-module-packaging-21.3-alt1 sisyphus+293292.100.4.1 1642663064 installed <13>Jul 16 04:43:19 rpmi: python3-module-imagesize-1.2.0-alt1 sisyphus+282837.100.1.1 1629041158 installed <13>Jul 16 04:43:19 rpmi: python3-module-idna-3.3-alt1 sisyphus+288800.100.1.1 1635936399 installed <13>Jul 16 04:43:19 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+276020.100.1.1 1624812421 installed <13>Jul 16 04:43:19 rpmi: python3-module-charset-normalizer-2.0.6-alt1 sisyphus+286375.600.1.1 1633362792 installed <13>Jul 16 04:43:19 rpmi: python3-module-pycparser-2.20-alt2 sisyphus+278697.200.1.1 1626167452 installed <13>Jul 16 04:43:19 rpmi: python3-module-cffi-1.15.0-alt1 sisyphus+291245.7540.54.1 1643302047 installed <13>Jul 16 04:43:19 rpmi: python3-module-cryptography-37.0.2-alt1 sisyphus+299462.200.1.1 1651672035 installed <13>Jul 16 04:43:19 rpmi: python3-module-openssl-22.0.0-alt1 sisyphus+297852.100.1.1 1649097500 installed <13>Jul 16 04:43:19 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Jul 16 04:43:19 rpmi: python3-module-requests-2.27.1-alt1 sisyphus+295017.300.2.1 1644497798 installed <13>Jul 16 04:43:19 rpmi: python3-module-pytz-1:2021.1-alt1 sisyphus+267903.400.1.1 1615896636 installed <13>Jul 16 04:43:20 rpmi: python3-module-babel-1:2.9.1-alt1 sisyphus+282703.100.1.1 1628975529 installed <13>Jul 16 04:43:20 rpmi: python-sphinx-objects.inv-1:2.3.12.20220708-alt1 sisyphus+303508.100.1.1 1657602948 installed <13>Jul 16 04:43:20 rpmi: libxslt-1.1.35-alt2 sisyphus+296567.100.1.1 1647097788 installed <13>Jul 16 04:43:20 rpmi: python3-module-html5lib-1:1.1-alt1 sisyphus+278096.120.5.1 1626086978 installed <13>Jul 16 04:43:20 rpmi: python3-module-cssselect-0.9.1-alt3 sisyphus+270533.2600.6.1 1619684675 installed <13>Jul 16 04:43:20 rpmi: python3-module-lxml-4.9.1-alt1 sisyphus+303704.100.1.1 1657881623 installed <13>Jul 16 04:43:20 rpmi: python3-module-docutils-0.18.1-alt2 sisyphus+298475.100.1.1 1650019614 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinxcontrib-applehelp-1.0.2-alt1 sisyphus+276002.100.2.2 1624878023 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinxcontrib-devhelp-1.0.2-alt1 sisyphus+276003.100.2.2 1624879024 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinxcontrib-htmlhelp-2.0.0-alt2 sisyphus+298571.100.1.1 1650103344 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinxcontrib-jsmath-1.0.1-alt1 sisyphus+276004.100.1.1 1624811634 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinxcontrib-qthelp-1.0.3-alt1 sisyphus+276005.100.2.2 1624879764 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinxcontrib-serializinghtml-1.1.5-alt2 sisyphus+298572.100.1.1 1650104574 installed <13>Jul 16 04:43:20 rpmi: python3-module-sphinx-1:5.0.1-alt1 sisyphus+302579.100.1.2 1656067095 installed <13>Jul 16 04:43:20 rpmi: libverto-0.3.2-alt1_1 sisyphus+279289.100.1.3 1626493872 installed <13>Jul 16 04:43:20 rpmi: libpython-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python2-base-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-encodings-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-compiler-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-email-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-unittest-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-ctypes-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-multiprocessing-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: python-modules-logging-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed <13>Jul 16 04:43:20 rpmi: liblmdb-0.9.23-alt1 sisyphus+275369.100.1.2 1624493869 installed <13>Jul 16 04:43:20 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <86>Jul 16 04:43:20 groupadd[3127774]: group added to /etc/group: name=_keytab, GID=499 <86>Jul 16 04:43:20 groupadd[3127774]: group added to /etc/gshadow: name=_keytab <86>Jul 16 04:43:20 groupadd[3127774]: new group: name=_keytab, GID=499 <13>Jul 16 04:43:21 rpmi: libkrb5-1.19.3-alt1 sisyphus+296671.100.1.1 1647339985 installed <13>Jul 16 04:43:21 rpmi: python3-module-kerberos-1.3.0-alt3 sisyphus+291245.13700.54.1 1643303009 installed <13>Jul 16 04:43:21 rpmi: python3-module-logilab-common-1.5.2-alt1 sisyphus+249111.40.2.1 1585742072 installed <13>Jul 16 04:43:21 rpmi: python3-module-logilab-database-1.17.1-alt1 sisyphus+249127.100.1.1 1585751288 installed <13>Jul 16 04:43:21 rpmi: python-tools-2to3-2.7.18-alt10 sisyphus+302234.100.1.1 1655470157 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-yams-0.45.1-alt2.nosrc.rpm (w1.gzdio) <13>Jul 16 04:43:22 rpmi: libpython3-3.10.5-alt1 sisyphus+302218.100.1.1 1655400746 installed <13>Jul 16 04:43:22 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed <13>Jul 16 04:43:22 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed <13>Jul 16 04:43:22 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed <13>Jul 16 04:43:22 rpmi: python3-dev-3.10.5-alt1 sisyphus+302218.100.1.1 1655400746 installed <13>Jul 16 04:43:23 rpmi: python3-module-setuptools-1:62.0.0-alt1 sisyphus+297628.2400.4.1 1649344543 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.89961 + 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.29036 + 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 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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.10 copying and adjusting bin/yams-check -> build/scripts-3.10 copying and adjusting bin/yams-view -> build/scripts-3.10 changing mode of build/scripts-3.10/yams-check from 644 to 755 changing mode of build/scripts-3.10/yams-view from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.29036 + 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 + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-yams-0.45.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 /usr/lib/python3/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( 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-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/_exceptions.py to _exceptions.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/buildobjs.py to buildobjs.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/constraints.py to constraints.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/diff.py to diff.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/interfaces.py to interfaces.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py to reader.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema.py to schema.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py to schema2dot.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/serialize.py to serialize.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py to tools.cpython-310.pyc byte-compiling /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/xy.py to xy.cpython-310.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' adding license file 'COPYING' adding license file 'COPYING.LESSER' 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.10.egg-info running install_scripts creating /usr/src/tmp/python3-module-yams-buildroot/usr/bin copying build/scripts-3.10/yams-view -> /usr/src/tmp/python3-module-yams-buildroot/usr/bin copying build/scripts-3.10/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 egrep: warning: egrep is obsolescent; using grep -E 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,gnuconfig) 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: (from :0) 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 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-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.pyc unlink /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.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__/diff.cpython-310.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.pyc' './usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.pyc' './usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.pyc' './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-1.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.pyc' './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-2.pyc' => './usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-1.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.78389 + 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 WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. 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' adding license file 'COPYING' adding license file 'COPYING.LESSER' 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.14092 + 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.5SKf8k 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.pn1Wiy 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: Ignore for REQ=slight module=yams.constraints /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/__init__.py: Ignore for REQ=slight module=yams.schema 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: Ignore for REQ=slight module=optparse 'Name' object has no attribute 'value' python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/reader.py: skipping sys 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 itertools python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py: skipping sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/schema2dot.py: Ignore for REQ=slight module=yams.reader /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py: Ignore for REQ=slight module=cubicweb /usr/lib/rpm/python3.req.py: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py: Ignore for REQ=slight module=cubicweb.cwconfig python3.req: /usr/src/tmp/python3-module-yams-buildroot/usr/lib/python3/site-packages/yams/tools.py: skipping sys 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 (w2.lzdio) 7.25user 0.66system 0:09.45elapsed 83%CPU (0avgtext+0avgdata 32180maxresident)k 0inputs+0outputs (0major+179246minor)pagefaults 0swaps /.out/python3-module-yams-0.45.1-alt2.noarch.rpm: The use of such a license name is ambiguous: LGPL 13.77user 4.34system 0:18.84elapsed 96%CPU (0avgtext+0avgdata 103536maxresident)k 264inputs+0outputs (46090major+599710minor)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 2022-07-16 04:43:33.401088088 +0000 @@ -3,46 +3,46 @@ /usr/lib/python3/site-packages/yams 40755 root:root -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info 40755 root:root -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/PKG-INFO 100644 root:root -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/SOURCES.txt 100644 root:root -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/dependency_links.txt 100644 root:root -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/requires.txt 100644 root:root -/usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/top_level.txt 100644 root:root +/usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info 40755 root:root +/usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/PKG-INFO 100644 root:root +/usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/SOURCES.txt 100644 root:root +/usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/dependency_links.txt 100644 root:root +/usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/requires.txt 100644 root:root +/usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/top_level.txt 100644 root:root /usr/lib/python3/site-packages/yams/__init__.py 100644 root:root /usr/lib/python3/site-packages/yams/__pycache__ 40755 root:root -/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.pyc 100644 root:root /usr/lib/python3/site-packages/yams/_exceptions.py 100644 root:root @@ -108,46 +108,46 @@ File: /usr/lib/python3/site-packages/yams 40755 root:root -File: /usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info 40755 root:root -File: /usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/PKG-INFO 100644 root:root c2a566be771fbf77900eb6525829b695 -File: /usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/SOURCES.txt 100644 root:root 71adfc3a8895f8c971e1acf89e7cfd27 -File: /usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/dependency_links.txt 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 -File: /usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/requires.txt 100644 root:root 2ed2f8cdd32d990a40d36b580da3b3d3 -File: /usr/lib/python3/site-packages/yams-0.45.1-py3.7.egg-info/top_level.txt 100644 root:root 689d036231036f0f1faffc3d127433f6 +File: /usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info 40755 root:root +File: /usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/PKG-INFO 100644 root:root 483a14000f798cb44a517c686ef598eb +File: /usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/SOURCES.txt 100644 root:root 71adfc3a8895f8c971e1acf89e7cfd27 +File: /usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/dependency_links.txt 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 +File: /usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/requires.txt 100644 root:root 2ed2f8cdd32d990a40d36b580da3b3d3 +File: /usr/lib/python3/site-packages/yams-0.45.1-py3.10.egg-info/top_level.txt 100644 root:root 689d036231036f0f1faffc3d127433f6 File: /usr/lib/python3/site-packages/yams/__init__.py 100644 root:root 43ab46538cfecb89c9ecc4c46d45f759 File: /usr/lib/python3/site-packages/yams/__pycache__ 40755 root:root -File: /usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.opt-1.pyc 100644 root:root cb5c1243c490b38ce69b83c288272820 -File: /usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.opt-2.pyc 100644 root:root 675aad11ca0d14a8bde34910afdb32ae -File: /usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-37.pyc 100644 root:root 32b16b34d876a1c5a2786682bca1990c -File: /usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.opt-1.pyc 100644 root:root 584a57ad0ac4291b4e8cad4d8057a7ee -File: /usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.opt-2.pyc 100644 root:root 300ef8a2e08c73bcb79c162b3c3ccb7b -File: /usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-37.pyc 100644 root:root 2a12ee9a43f2555460290f0b533a2dd0 -File: /usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.opt-1.pyc 100644 root:root a54053acc9f1b9a32749d82b739b7b09 -File: /usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.opt-2.pyc 100644 root:root 4e2c64c38790ac15ac2840ded2144f55 -File: /usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-37.pyc 100644 root:root 75d634bd31171182e10abc6a849c5768 -File: /usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.opt-1.pyc 100644 root:root ef5ec089c393f445374a073e5eabed5a -File: /usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.opt-2.pyc 100644 root:root e33ed64c4f41fa6aea84465547106613 -File: /usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-37.pyc 100644 root:root a2cd88b25dc6e61c866389341f39102f -File: /usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.opt-1.pyc 100644 root:root d1baa3ede21a1df4b8e7e02cbdbbe515 -File: /usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.opt-2.pyc 100644 root:root 74a33c0f8912512dbf74a5e0c53fdb6b -File: /usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-37.pyc 100644 root:root d1baa3ede21a1df4b8e7e02cbdbbe515 -File: /usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.opt-1.pyc 100644 root:root f9cd862faad949046993f6547f982621 -File: /usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.opt-2.pyc 100644 root:root 4442e15da76af287d412452205051af7 -File: /usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-37.pyc 100644 root:root f9cd862faad949046993f6547f982621 -File: /usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.opt-1.pyc 100644 root:root d2b4bfdc0dd0b5bf24bc455cdf0e4017 -File: /usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.opt-2.pyc 100644 root:root 6bf793cbe55700e4b3d192e4252d40f2 -File: /usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-37.pyc 100644 root:root 258e9c931503c460cfbdc24042ffdd4b -File: /usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.opt-1.pyc 100644 root:root 5ed606cfa06e7fd8a985c4db5a02cd82 -File: /usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.opt-2.pyc 100644 root:root 61d3933f12c5266f522eba31873365f5 -File: /usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-37.pyc 100644 root:root 01674c5cb0b42c281218ec96055746f1 -File: /usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.opt-1.pyc 100644 root:root 9dbde639b393b9f7e7791617dfe416d9 -File: /usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.opt-2.pyc 100644 root:root ba5960538c3835d6c7c78f0941079ebe -File: /usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-37.pyc 100644 root:root 9dbde639b393b9f7e7791617dfe416d9 -File: /usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.opt-1.pyc 100644 root:root a1b8fae3b7943337c8c6bdbcda23c345 -File: /usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.opt-2.pyc 100644 root:root a1b8fae3b7943337c8c6bdbcda23c345 -File: /usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-37.pyc 100644 root:root a1b8fae3b7943337c8c6bdbcda23c345 -File: /usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.opt-1.pyc 100644 root:root 57427d977820990c04f1ae9fdd729064 -File: /usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.opt-2.pyc 100644 root:root b38b0f6447c604e377a3bd2b22448806 -File: /usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-37.pyc 100644 root:root ba258f8db815d7be2fdcf055c703ab07 -File: /usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.opt-1.pyc 100644 root:root d03534f5450f437f4ca615b1084a01ed -File: /usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.opt-2.pyc 100644 root:root 9345215b0232e021806ca32ed9996fd3 -File: /usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-37.pyc 100644 root:root c01372435e0c990e42307d592e775d81 +File: /usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-310.opt-1.pyc 100644 root:root 2d65b42e7a14f873466a0c18b42c4495 +File: /usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-310.opt-2.pyc 100644 root:root 52ba1cbbebb6e4351ee6ac2083787d85 +File: /usr/lib/python3/site-packages/yams/__pycache__/__init__.cpython-310.pyc 100644 root:root ce6fe310d028beac106035add12318fa +File: /usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.opt-1.pyc 100644 root:root a19dfd4fa1072595bb8fec700cd45234 +File: /usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.opt-2.pyc 100644 root:root c12377efc25826e86a83b2384e4c47e4 +File: /usr/lib/python3/site-packages/yams/__pycache__/_exceptions.cpython-310.pyc 100644 root:root ee4d6df883f9403135884f4c798fea86 +File: /usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.opt-1.pyc 100644 root:root 5b0fd9c6e5e578d9344246932e454c54 +File: /usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.opt-2.pyc 100644 root:root 2a55bbe34dc1a86a840897ff042d46b1 +File: /usr/lib/python3/site-packages/yams/__pycache__/buildobjs.cpython-310.pyc 100644 root:root 0936275ae1c86321953264e044f9f9cc +File: /usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.opt-1.pyc 100644 root:root 3c80c6cbc33d794a40ac711500acee40 +File: /usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.opt-2.pyc 100644 root:root 79b51a043fcfe33ec5601dcf06592fd9 +File: /usr/lib/python3/site-packages/yams/__pycache__/constraints.cpython-310.pyc 100644 root:root 555199424c37cfd9a0657f6146d4ba83 +File: /usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.opt-1.pyc 100644 root:root c4a70c14553fa1e834d3fde0fa45c918 +File: /usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.opt-2.pyc 100644 root:root 6156c1c630c261431b92fb2fce174b34 +File: /usr/lib/python3/site-packages/yams/__pycache__/diff.cpython-310.pyc 100644 root:root c4a70c14553fa1e834d3fde0fa45c918 +File: /usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.opt-1.pyc 100644 root:root 1d77d059f34e3d1d1fd0699b91f6c68b +File: /usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.opt-2.pyc 100644 root:root 7b2701dbfb24508556cdde173ec70599 +File: /usr/lib/python3/site-packages/yams/__pycache__/interfaces.cpython-310.pyc 100644 root:root 1d77d059f34e3d1d1fd0699b91f6c68b +File: /usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.opt-1.pyc 100644 root:root f6c0c967697fbdc12de380aa539f6b77 +File: /usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.opt-2.pyc 100644 root:root 2ef30bb5358136ade599132737c4289e +File: /usr/lib/python3/site-packages/yams/__pycache__/reader.cpython-310.pyc 100644 root:root b1229a20fba05d028285772667afdf62 +File: /usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.opt-1.pyc 100644 root:root ede311874d62b514dd0b1be3569a9018 +File: /usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.opt-2.pyc 100644 root:root b6bed04c3570ea656235fc3e1ac35dc1 +File: /usr/lib/python3/site-packages/yams/__pycache__/schema.cpython-310.pyc 100644 root:root a56cb3cda8cd0a23f54e7d5f9accb1df +File: /usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.opt-1.pyc 100644 root:root 5c7952c9cd8805b8d2d9bd8f1ddb37b1 +File: /usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.opt-2.pyc 100644 root:root 25ca0f6350205d03a02292033d2eeae4 +File: /usr/lib/python3/site-packages/yams/__pycache__/schema2dot.cpython-310.pyc 100644 root:root 5c7952c9cd8805b8d2d9bd8f1ddb37b1 +File: /usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-1.pyc 100644 root:root f7a7da49467fd7b658dc572fa05e794c +File: /usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.opt-2.pyc 100644 root:root f7a7da49467fd7b658dc572fa05e794c +File: /usr/lib/python3/site-packages/yams/__pycache__/serialize.cpython-310.pyc 100644 root:root f7a7da49467fd7b658dc572fa05e794c +File: /usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.opt-1.pyc 100644 root:root 09dee7bd56ecf1f59c045f0ce76d0d71 +File: /usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.opt-2.pyc 100644 root:root 23c8165919900c562a199f6fc14a034e +File: /usr/lib/python3/site-packages/yams/__pycache__/tools.cpython-310.pyc 100644 root:root e124424b7d6c161f813ec0451b4ad32c +File: /usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.opt-1.pyc 100644 root:root e601f9502da17f4019ea49cf1935e74d +File: /usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.opt-2.pyc 100644 root:root f58889aa4175962df2f2591565092259 +File: /usr/lib/python3/site-packages/yams/__pycache__/xy.cpython-310.pyc 100644 root:root a38e444496cfc7c9d08e368d93fbd2b3 File: /usr/lib/python3/site-packages/yams/_exceptions.py 100644 root:root 07e4f5e0947769ab11078fda22c0e901 @@ -166,2 +166,2 @@ File: /usr/share/doc/python3-module-yams-0.45.1/README 100644 root:root 6a830d49abffb27bded7dbeb68197f46 -RPMIdentity: 555da8d9afb8ad286ef16216fce27e3455f29ac3be0371430289ffebe47f0bf7bc37ec9a87fdd6e7dd85d02b42dc49b6ab896ddf857d998fdb5c4284237733c9 +RPMIdentity: 489817827ddfb0adb96c93bdae619a8b836bdb80b17a027cf3d855ebe30a3152de3e9419dc0ecf9ff7fb249dba5431adac4cd407cb2ca6f67ae14d2a45dd7475