D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-asttokens-2.4.1-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.739n6u Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Kucv4R + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build + rm -rf asttokens-2.4.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/asttokens-2.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd asttokens-2.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eRcHCb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd asttokens-2.4.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info writing /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file '/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir/pip-modern-metadata-xshp8v96/asttokens-2.4.1.dist-info' /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: asttokens Building wheel for asttokens (pyproject.toml): started Running command Building wheel for asttokens (pyproject.toml) running bdist_wheel /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/asttokens copying asttokens/mark_tokens.py -> build/lib/asttokens copying asttokens/version.py -> build/lib/asttokens copying asttokens/astroid_compat.py -> build/lib/asttokens copying asttokens/asttokens.py -> build/lib/asttokens copying asttokens/__init__.py -> build/lib/asttokens copying asttokens/util.py -> build/lib/asttokens copying asttokens/line_numbers.py -> build/lib/asttokens copying asttokens/py.typed -> build/lib/asttokens installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/asttokens copying build/lib/asttokens/mark_tokens.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/version.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/astroid_compat.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/asttokens.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/__init__.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/util.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/line_numbers.py -> build/bdist.linux-x86_64/wheel/./asttokens copying build/lib/asttokens/py.typed -> build/bdist.linux-x86_64/wheel/./asttokens running install_egg_info running egg_info writing asttokens.egg-info/PKG-INFO writing dependency_links to asttokens.egg-info/dependency_links.txt writing requirements to asttokens.egg-info/requires.txt writing top-level names to asttokens.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'asttokens.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'asttokens.egg-info/SOURCES.txt' Copying asttokens.egg-info to build/bdist.linux-x86_64/wheel/./asttokens-2.4.1-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/asttokens-2.4.1.dist-info/WHEEL creating '/home/pterjan/.cache/pip/wheels/ea/39/b4/88ba6c8a6cf4a805e0473d6d70f6f3597042f9bcfe2cb1bcbe/tmp3nsz28n1/.tmp-hdme459j/asttokens-2.4.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'asttokens/__init__.py' adding 'asttokens/astroid_compat.py' adding 'asttokens/asttokens.py' adding 'asttokens/line_numbers.py' adding 'asttokens/mark_tokens.py' adding 'asttokens/py.typed' adding 'asttokens/util.py' adding 'asttokens/version.py' adding 'asttokens-2.4.1.dist-info/licenses/LICENSE' adding 'asttokens-2.4.1.dist-info/METADATA' adding 'asttokens-2.4.1.dist-info/WHEEL' adding 'asttokens-2.4.1.dist-info/top_level.txt' adding 'asttokens-2.4.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for asttokens (pyproject.toml): finished with status 'done' Created wheel for asttokens: filename=asttokens-2.4.1-py2.py3-none-any.whl size=27698 sha256=c0ba668c0106639d9dfda6073cedc35388ecc1148a52f5eeace3bdd4342ec265 Stored in directory: /home/pterjan/.cache/pip/wheels/ea/39/b4/88ba6c8a6cf4a805e0473d6d70f6f3597042f9bcfe2cb1bcbe Successfully built asttokens + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1 + sphinx-build-3 docs html Running Sphinx v8.2.3 loading translations [en]... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 3 source files that are out of date updating environment: [new config] 3 added, 0 changed, 0 removed reading sources... [ 33%] api-index reading sources... [ 67%] index reading sources... [100%] user-guide looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/html/_static/basic.css Writing evaluated template result to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/html/_static/documentation_options.js Writing evaluated template result to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/html/_static/language_data.js Writing evaluated template result to /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/html/_static/js/versions.js copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 33%] api-index writing output... [ 67%] index writing output... [100%] user-guide generating indices... genindex py-modindex done highlighting module code... [ 33%] asttokens.asttokens highlighting module code... [ 67%] asttokens.line_numbers highlighting module code... [100%] asttokens.util writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NHImVM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build + mkdir /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd asttokens-2.4.1 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/pyproject-wheeldir/asttokens-2.4.1-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=asttokens==2.4.1 + '[' -z asttokens==2.4.1 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/pyproject-wheeldir asttokens==2.4.1 Using pip 25.3 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/pyproject-wheeldir Processing ./pyproject-wheeldir/asttokens-2.4.1-py2.py3-none-any.whl Installing collected packages: asttokens Successfully installed asttokens-2.4.1 + '[' -d /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/python-asttokens-2.4.1-3.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/python-asttokens-2.4.1-3.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages/asttokens-2.4.1.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/python-asttokens-2.4.1-3.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/python-asttokens-2.4.1-3.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/python-asttokens-2.4.1-3.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/python-asttokens-2.4.1-3.mga10.noarch-pyproject-record --prefix /usr asttokens + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13 using python3.13 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ug0AJY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd asttokens-2.4.1 + '[' 1 -eq 1 ']' + TOX_TESTENV_PASSENV='*' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + PATH=/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py313 ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-8.3.5, pluggy-1.5.0 cachedir: .tox/py313/.pytest_cache rootdir: /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1 configfile: setup.cfg collected 116 items tests/test_astroid.py FF.FFFFFFFFFFFsFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 42%] tests/test_asttokens.py ....... [ 48%] tests/test_line_numbers.py ... [ 50%] tests/test_mark_tokens.py .............................................. [ 90%] ... [ 93%] tests/test_tokenless.py ... [ 95%] tests/test_util.py ..... [100%] =================================== FAILURES =================================== ___________________ TestAstroid.test_adjacent_joined_strings ___________________ self = def test_adjacent_joined_strings(self): source = """ foo = f'x y z' \\ f'''a b c''' f"u v w" bar = ('x y z' # comment2 'a b c' # comment3 f'u v w' ) """ > m = self.create_mark_checker(source) tests/test_mark_tokens.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nfoo = f\'x y z\' \\\nf\'\'\'a b c\'\'\' f"u v w"\nbar = (\'x y z\' # comment2\n \'a b c\' # comment3\n f\'u v w\'\n )\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ______________________ TestAstroid.test_adjacent_strings _______________________ self = def test_adjacent_strings(self): source = """ foo = 'x y z' \\ '''a b c''' "u v w" bar = ('x y z' # comment2 'a b c' # comment3 'u v w' ) """ > m = self.create_mark_checker(source) tests/test_mark_tokens.py:269: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nfoo = \'x y z\' \\\n\'\'\'a b c\'\'\' "u v w"\nbar = (\'x y z\' # comment2\n \'a b c\' # comment3\n \'u v w\'\n )\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ___________________ TestAstroid.test_assignment_expressions ____________________ self = def test_assignment_expressions(self): # From https://www.python.org/dev/peps/pep-0572/ > self.create_mark_checker(""" # Handle a matched regex if (match := pattern.search(data)) is not None: # Do something with match pass # A loop that can't be trivially rewritten using 2-arg iter() while chunk := file.read(8192): process(chunk) # Reuse a value that's expensive to compute [y := f(x), y**2, y**3] # Share a subexpression between a comprehension filter clause and its output filtered_data = [y for x in data if (y := f(x)) is not None] y0 = (y1 := f(x)) # Valid, though discouraged foo(x=(y := f(x))) # Valid, though probably confusing def foo(answer=(p := 42)): # Valid, though not great style ... def foo(answer: (p := 42) = 5): # Valid, but probably never useful ... lambda: (x := 1) # Valid, but unlikely to be useful (x := lambda: 1) # Valid lambda line: (m := re.match(pattern, line)) and m.group(1) # Valid if any((comment := line).startswith('#') for line in lines): print("First comment:", comment) if all((nonblank := line).strip() == '' for line in lines): print("All lines are blank") partial_sums = [total := total + v for v in values] """) tests/test_mark_tokens.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\n# Handle a matched regex\nif (match := pattern.search(data)) is not None:\n # Do something with match\n pass\...== \'\' for line in lines):\n print("All lines are blank")\n\npartial_sums = [total := total + v for v in values]\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_async_def __________________________ self = def test_async_def(self): > self.create_mark_checker(""" async def foo(): pass @decorator async def foo(): pass """) tests/test_mark_tokens.py:693: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nasync def foo():\n pass\n\n@decorator\nasync def foo():\n pass\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _____________________ TestAstroid.test_async_for_and_with ______________________ self = def test_async_for_and_with(self): # Can't verify all nodes because in < 3.7 # async for/with outside of a function is invalid syntax > m = self.create_mark_checker(""" async def foo(): async for x in y: pass async with x as y: pass """, verify=False) tests/test_mark_tokens.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nasync def foo():\n async for x in y: pass\n async with x as y: pass\n ' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ____________________________ TestAstroid.test_await ____________________________ self = def test_await(self): # Can't verify all nodes because in astroid # await outside of an async function is invalid syntax > m = self.create_mark_checker(""" async def foo(): await bar """, verify=False) tests/test_mark_tokens.py:716: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nasync def foo():\n await bar\n ' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _____________________ TestAstroid.test_bad_tokenless_types _____________________ self = def test_bad_tokenless_types(self): # Cases where _get_text_positions_tokenless is incorrect in 3.8. source = textwrap.dedent(""" def foo(*, name: str): # keyword-only argument with type annotation pass f(*(x)) # ast.Starred with parentheses """) > self.create_mark_checker(source) tests/test_mark_tokens.py:464: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\ndef foo(*, name: str): # keyword-only argument with type annotation\n pass\n\nf(*(x)) # ast.Starred with parentheses\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _______________________ TestAstroid.test_calling_lambdas _______________________ self = def test_calling_lambdas(self): # See https://bitbucket.org/plas/thonny/issues/96/calling-lambdas-crash-the-debugger source = "y = (lambda x: x + 1)(2)" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:386: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'y = (lambda x: x + 1)(2)' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _______________________ TestAstroid.test_complex_numbers _______________________ self = def test_complex_numbers(self): source = """ 1 -1 j # not a complex number, just a name 1j -1j 1+2j 3-4j 1j-1j-1j-1j """ > self.create_mark_checker(source) tests/test_mark_tokens.py:603: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\n1\n-1\nj # not a complex number, just a name\n1j\n-1j\n1+2j\n3-4j\n1j-1j-1j-1j\n ' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________ TestAstroid.test_complex_slice_and_parens ___________________ self = def test_complex_slice_and_parens(self): source = 'f((x)[:, 0])' > self.create_mark_checker(source) tests/test_mark_tokens.py:630: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'f((x)[:, 0])' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _______________________ TestAstroid.test_comprehensions ________________________ self = def test_comprehensions(self): # See https://bitbucket.org/plas/thonny/issues/8/range-marker-doesnt-work-correctly-with for source in ( "[(key, val) for key, val in ast.iter_fields(node)]", "((key, val) for key, val in ast.iter_fields(node))", "{(key, val) for key, val in ast.iter_fields(node)}", "{key: val for key, val in ast.iter_fields(node)}", "[[c for c in key] for key, val in ast.iter_fields(node)]"): > self.create_mark_checker(source) tests/test_mark_tokens.py:402: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '[(key, val) for key, val in ast.iter_fields(node)]' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ______________________ TestAstroid.test_conditional_expr _______________________ self = def test_conditional_expr(self): # See https://bitbucket.org/plas/thonny/issues/108/ast-marker-crashes-with-conditional source = "a = True if True else False\nprint(a)" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:369: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'a = True if True else False\nprint(a)' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________________ TestAstroid.test_decorators __________________________ self = def test_decorators(self): # See https://bitbucket.org/plas/thonny/issues/49/range-marker-fails-with-decorators source = textwrap.dedent(""" @deco1 def f(): pass @deco2(a=1) def g(x): pass @deco3() def g(x): pass @deco4 class C: pass """) > m = self.create_mark_checker(source) tests/test_mark_tokens.py:521: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\n@deco1\ndef f():\n pass\n@deco2(a=1)\ndef g(x):\n pass\n\n@deco3()\ndef g(x):\n pass\n\n@deco4\nclass C:\n pass\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_del_dict ___________________________ self = def test_del_dict(self): # See https://bitbucket.org/plas/thonny/issues/24/try-del-from-dictionary-in-debugging-mode source = "x = {4:5}\ndel x[4]" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:446: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'x = {4:5}\ndel x[4]' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________________ TestAstroid.test_dict_merge __________________________ self = def test_dict_merge(self): > self.create_mark_checker("{**{}}") tests/test_mark_tokens.py:690: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '{**{}}' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________________ TestAstroid.test_dict_order __________________________ self = def test_dict_order(self): # Make sure we iterate over dict keys/values in source order. # See https://github.com/gristlabs/asttokens/issues/31 source = 'f({1: (2), 3: 4}, object())' > self.create_mark_checker(source) tests/test_mark_tokens.py:441: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'f({1: (2), 3: 4}, object())' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture1 ___________________________ self = > def test_fixture1(self): self.verify_fixture_file('astroid/__init__.py') tests/test_mark_tokens.py:179: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '__revision__="$Id: __init__.py,v 1.1 2005-06-13 20:55:20 syt Exp $"\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture10 __________________________ self = > def test_fixture10(self): self.verify_fixture_file('astroid/noendingnewline.py') tests/test_mark_tokens.py:188: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = "import unittest\n\n\nclass TestCase(unittest.TestCase):\n\n def setUp(self):\n unittest.TestCase.setUp(self... pass\n print('rara')\n\n\nif __name__ == '__main__':\n print('test2')\n unittest.main()\n\n\n" @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture11 __________________________ self = > def test_fixture11(self): self.verify_fixture_file('astroid/notall.py') tests/test_mark_tokens.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = "\nname = 'a'\n_bla = 2\nother = 'o'\nclass Aaa: pass\n\ndef func(): print('yo')\n\n" @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture12 __________________________ self = > def test_fixture12(self): self.verify_fixture_file('astroid/recursion.py') tests/test_mark_tokens.py:190: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '""" For issue #25 """\r\nclass Base(object):\r\n pass' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture13 __________________________ self = > def test_fixture13(self): self.verify_fixture_file('astroid/suppliermodule_test.py') tests/test_mark_tokens.py:191: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '""" file suppliermodule.py """\n\nclass NotImplemented(Exception):\n pass\n\nclass Interface:\n def get_value(s... raise NotImplemented()\n\n def set_value(self, value):\n raise NotImplemented()\n\nclass DoNothing : pass\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture2 ___________________________ self = > def test_fixture2(self): self.verify_fixture_file('astroid/absimport.py') tests/test_mark_tokens.py:180: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nimport email\nfrom email import message\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture3 ___________________________ self = > def test_fixture3(self): self.verify_fixture_file('astroid/all.py') tests/test_mark_tokens.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = "\nname = 'a'\n_bla = 2\nother = 'o'\nclass Aaa: pass\n\ndef func(): print('yo')\n\n__all__ = 'Aaa', '_bla', 'name'\n" @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture4 ___________________________ self = > def test_fixture4(self): self.verify_fixture_file('astroid/clientmodule_test.py') tests/test_mark_tokens.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '""" docstring for file clientmodule.py """\nfrom data.suppliermodule_test import Interface as IFace, DoNothing\n\ncla...tor.__init__(self, value)\n self._id = _id\n self.relation = DoNothing()\n self.toto = Toto()\n\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture5 ___________________________ self = > def test_fixture5(self): self.verify_fixture_file('astroid/descriptor_crash.py') tests/test_mark_tokens.py:183: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nimport urllib\n\nclass Page(object):\n _urlOpen = staticmethod(urllib.urlopen)\n\n def getPage(self, url):\n handle = self._urlOpen(url)\n data = handle.read()\n handle.close()\n return data\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture6 ___________________________ self = > def test_fixture6(self): self.verify_fixture_file('astroid/email.py') tests/test_mark_tokens.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '"""fake email module to test absolute import doesn\'t grab this one"""\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture7 ___________________________ self = > def test_fixture7(self): self.verify_fixture_file('astroid/format.py') tests/test_mark_tokens.py:185: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '"""A multiline string\n"""\n\nfunction(\'aeozrijz\\\nearzer\', hop)\n# XXX write test\nx = [i for i in range(5)\n ...:\n aaaa,bbbb = 1,2\n aaaa,bbbb = bbbb,aaaa\n# XXX write test\nhop = \\\n aaaa\n\n\n__revision__.lower();\n\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture8 ___________________________ self = > def test_fixture8(self): self.verify_fixture_file('astroid/module.py') tests/test_mark_tokens.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '"""test module for astroid\n"""\n\n__revision__ = \'$Id: module.py,v 1.2 2005-11-02 11:56:54 syt Exp $\'\nfrom astroi...) or (c)\n else:\n c = ((a) and (b)) or (d)\n list(map(lambda x, y: (y, x), a))\nredirect = four_args\n\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fixture9 ___________________________ self = > def test_fixture9(self): self.verify_fixture_file('astroid/module2.py') tests/test_mark_tokens.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:140: in verify_fixture_file m = self.create_mark_checker(source, verify=False) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = "from data.module import YO, YOUPI\nimport data\n\n\nclass Specialization(YOUPI, YO):\n pass\n\n\n\nclass Metaclass...a, *bases):\n return meta('NewBase', bases, {})\n\n\nclass NotMetaclass(with_metaclass(Metaclass)):\n pass\n\n\n" @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_fstrings ___________________________ self = def test_fstrings(self): for source in ( '(f"He said his name is {name!r}.",)', "f'{function(kwarg=24)}'", 'a = f"""result: {value:{width}.{precision}}"""', """[f"abc {a['x']} def"]""", "def t():\n return f'{function(kwarg=24)}'"): > self.create_mark_checker(source) tests/test_mark_tokens.py:322: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '(f"He said his name is {name!r}.",)' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ______________________ TestAstroid.test_keyword_arg_only _______________________ self = def test_keyword_arg_only(self): # See https://bitbucket.org/plas/thonny/issues/52/range-marker-fails-with-ridastrip-split source = "f(x=1)\ng(a=(x),b=[y])" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:486: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'f(x=1)\ng(a=(x),b=[y])' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ____________________ TestAstroid.test_mark_tokens_multiline ____________________ self = def test_mark_tokens_multiline(self): source = ( """( # line1 a, # line2 b + # line3 c + # line4 d # line5 )""") > m = self.create_mark_checker(source) tests/test_mark_tokens.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '( # line1\na, # line2\nb + # line3\n c + # line4\n d # line5\n)' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _____________________ TestAstroid.test_mark_tokens_simple ______________________ self = def test_mark_tokens_simple(self): source = tools.read_fixture('astroid', 'module.py') > m = self.create_mark_checker(source) tests/test_mark_tokens.py:80: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '"""test module for astroid\n"""\n\n__revision__ = \'$Id: module.py,v 1.2 2005-11-02 11:56:54 syt Exp $\'\nfrom astroi...) or (c)\n else:\n c = ((a) and (b)) or (d)\n list(map(lambda x, y: (y, x), a))\nredirect = four_args\n\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________________ TestAstroid.test_match_case __________________________ self = def test_match_case(self): > m = self.create_mark_checker(""" if 0: match x: case ast.BinOp(): if z: pass case cls(a,b) if y: pass case _: match y: case 1: pass case _: pass """) tests/test_mark_tokens.py:768: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nif 0:\n match x:\n case ast.BinOp():\n if z:\n pass\n case cls(a,b) if y:\n pass\n case _:\n match y:\n case 1:\n pass\n case _:\n pass\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError __________________________ TestAstroid.test_nonascii ___________________________ self = def test_nonascii(self): # Test of https://bitbucket.org/plas/thonny/issues/162/weird-range-marker-crash-with-non-ascii # Only on PY3 because Py2 doesn't support unicode identifiers. for source in ( "℘·2=1+a℘·b+a℘·2b", # example from https://github.com/python/cpython/issues/68382 "sünnikuupäev=str((18+int(isikukood[0:1])-1)//2)+isikukood[1:3]", "sünnikuupaev=str((18+int(isikukood[0:1])-1)//2)+isikukood[1:3]"): > m = self.create_mark_checker(source) tests/test_mark_tokens.py:302: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '℘·2=1+a℘·b+a℘·2b' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ______________________ TestAstroid.test_one_line_if_elif _______________________ self = def test_one_line_if_elif(self): source = """ if 1: a elif 2: b """ > self.create_mark_checker(source) tests/test_mark_tokens.py:573: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nif 1: a\nelif 2: b\n ' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________________ TestAstroid.test_paren_attr __________________________ self = def test_paren_attr(self): # See https://bitbucket.org/plas/thonny/issues/123/attribute-access-on-parenthesized source = "(x).foo()" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:361: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '(x).foo()' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _____________________ TestAstroid.test_parens_around_func ______________________ self = def test_parens_around_func(self): source = textwrap.dedent( ''' foo() (foo)() (lambda: 0)() (lambda: ())() (foo)((1)) (lambda: ())((2)) x = (obj.attribute.get_callback() or default_callback)() ''') > m = self.create_mark_checker(source) tests/test_mark_tokens.py:616: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\nfoo()\n(foo)()\n(lambda: 0)()\n(lambda: ())()\n(foo)((1))\n(lambda: ())((2))\nx = (obj.attribute.get_callback() or default_callback)()\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _______________________ TestAstroid.test_print_function ________________________ self = def test_print_function(self): # This testcase imports print as function (using from __future__). Check that we can parse it. # verify_all_nodes doesn't work on Python 2 because the print() call parsed in isolation # is viewed as a Print node since it doesn't see the future import source = tools.read_fixture('astroid/nonregr.py') > m = self.create_mark_checker(source, verify=six.PY3) tests/test_mark_tokens.py:284: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\n\ntry:\n enumerate = enumerate\nexcept NameError:\n\n def enumerate(iterable):\n """emulates the pytho...class Ddd(Aaa):\n """docstring"""\n pass\n\n class Eee(Ddd):\n """docstring"""\n pass\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ______________________ TestAstroid.test_return_annotation ______________________ self = def test_return_annotation(self): # See https://bitbucket.org/plas/thonny/issues/9/range-marker-crashes-on-function-return source = textwrap.dedent(""" def liida_arvud(x: int, y: int) -> int: return x + y """) > m = self.create_mark_checker(source) tests/test_mark_tokens.py:472: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\ndef liida_arvud(x: int, y: int) -> int:\n return x + y\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ___________________________ TestAstroid.test_slices ____________________________ self = def test_slices(self): # Make sure we don't fail on parsing slices of the form `foo[4:]`. source = "(foo.Area_Code, str(foo.Phone)[:3], str(foo.Phone)[3:], foo[:], bar[::2, :], bar2[:, ::2], [a[:]][::-1])" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:245: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '(foo.Area_Code, str(foo.Phone)[:3], str(foo.Phone)[3:], foo[:], bar[::2, :], bar2[:, ::2], [a[:]][::-1])' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ____________________________ TestAstroid.test_splat ____________________________ self = def test_splat(self): # See https://bitbucket.org/plas/thonny/issues/151/debugger-crashes-when-encountering-a-splat source = textwrap.dedent(""" arr = [1,2,3,4,5] def print_all(a, b, c, d, e): print(a, b, c, d ,e) print_all(*arr) """) > m = self.create_mark_checker(source) tests/test_mark_tokens.py:350: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\narr = [1,2,3,4,5]\ndef print_all(a, b, c, d, e):\n print(a, b, c, d ,e)\nprint_all(*arr)\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________ TestAstroid.test_statements_with_semicolons __________________ self = def test_statements_with_semicolons(self): source = """ a; b; c( 17 ); d # comment1; comment2 if 2: a; b; # comment3 if a: if b: c; d # comment4 """ > m = self.create_mark_checker(source) tests/test_mark_tokens.py:585: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '\na; b; c(\n 17\n); d # comment1; comment2\nif 2: a; b; # comment3\nif a:\n if b: c; d # comment4\n ' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError _________________________ TestAstroid.test_sys_modules _________________________ self = def test_sys_modules(self): """ Verify all nodes on source files obtained from sys.modules. This can take a long time as there are many modules, so it only tests all modules if the environment variable ASTTOKENS_SLOW_TESTS has been set. """ from .test_astroid import AstroidTreeException modules = list(sys.modules.values()) if not os.environ.get('ASTTOKENS_SLOW_TESTS'): modules = modules[:20] start = time() for module in modules: # Don't let this test (which runs twice) take longer than 13 minutes # to avoid the travis build time limit of 30 minutes if time() - start > 13 * 60: break try: filename = inspect.getsourcefile(module) except Exception: # some modules raise weird errors continue if not filename: continue filename = os.path.abspath(filename) print(filename) try: with io.open(filename) as f: source = f.read() except OSError: continue if self.is_astroid_test and ( # Astroid fails with a syntax error if a type comment is on its own line re.search(r'^\s*# type: ', source, re.MULTILINE) ): print('Skipping', filename) continue try: > self.create_mark_checker(source) tests/test_mark_tokens.py:677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '"""Core implementation of import.\n\nThis module is NOT meant to be directly imported! It has been designed such\ntha... _bootstrap_external = _frozen_importlib_external\n _frozen_importlib_external._install(sys.modules[__name__])\n' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ----------------------------- Captured stdout call ----------------------------- /usr/lib64/python3.13/importlib/_bootstrap.py _______________________ TestAstroid.test_trailing_commas _______________________ self = def test_trailing_commas(self): # Make sure we handle trailing commas on comma-separated structures (e.g. tuples, sets, etc.) for source in ( "(a,b,)", "[c,d,]", "{e,f,}", "{h:1,i:2,}"): > self.create_mark_checker(source) tests/test_mark_tokens.py:411: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = '(a,b,)' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ___________________________ TestAstroid.test_tuples ____________________________ self = def test_tuples(self): def get_tuples(code): m = self.create_mark_checker(code) return [m.atok.get_text(n) for n in m.all_nodes if n.__class__.__name__ == "Tuple"] > self.assertEqual(get_tuples("a,"), ["a,"]) tests/test_mark_tokens.py:418: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:415: in get_tuples m = self.create_mark_checker(code) tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'a,' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError ____________________________ TestAstroid.test_with _____________________________ self = def test_with(self): source = "with foo: pass" > m = self.create_mark_checker(source) tests/test_mark_tokens.py:539: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_mark_tokens.py:39: in create_mark_checker atok = self.create_asttokens(source) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ source = 'with foo: pass' @staticmethod def create_asttokens(source): > builder = astroid.builder.AstroidBuilder() E TypeError: AstroidBuilder.__init__() missing 1 required positional argument: 'manager' tests/test_astroid.py:41: TypeError =========================== short test summary info ============================ FAILED tests/test_astroid.py::TestAstroid::test_adjacent_joined_strings - Typ... FAILED tests/test_astroid.py::TestAstroid::test_adjacent_strings - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_assignment_expressions - Type... FAILED tests/test_astroid.py::TestAstroid::test_async_def - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_async_for_and_with - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_await - TypeError: AstroidBui... FAILED tests/test_astroid.py::TestAstroid::test_bad_tokenless_types - TypeErr... FAILED tests/test_astroid.py::TestAstroid::test_calling_lambdas - TypeError: ... FAILED tests/test_astroid.py::TestAstroid::test_complex_numbers - TypeError: ... FAILED tests/test_astroid.py::TestAstroid::test_complex_slice_and_parens - Ty... FAILED tests/test_astroid.py::TestAstroid::test_comprehensions - TypeError: A... FAILED tests/test_astroid.py::TestAstroid::test_conditional_expr - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_decorators - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_del_dict - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_dict_merge - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_dict_order - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_fixture1 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture10 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture11 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture12 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture13 - TypeError: Astroi... FAILED tests/test_astroid.py::TestAstroid::test_fixture2 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture3 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture4 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture5 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture6 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture7 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture8 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fixture9 - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_fstrings - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_keyword_arg_only - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_mark_tokens_multiline - TypeE... FAILED tests/test_astroid.py::TestAstroid::test_mark_tokens_simple - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_match_case - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_nonascii - TypeError: Astroid... FAILED tests/test_astroid.py::TestAstroid::test_one_line_if_elif - TypeError:... FAILED tests/test_astroid.py::TestAstroid::test_paren_attr - TypeError: Astro... FAILED tests/test_astroid.py::TestAstroid::test_parens_around_func - TypeErro... FAILED tests/test_astroid.py::TestAstroid::test_print_function - TypeError: A... FAILED tests/test_astroid.py::TestAstroid::test_return_annotation - TypeError... FAILED tests/test_astroid.py::TestAstroid::test_slices - TypeError: AstroidBu... FAILED tests/test_astroid.py::TestAstroid::test_splat - TypeError: AstroidBui... FAILED tests/test_astroid.py::TestAstroid::test_statements_with_semicolons - ... FAILED tests/test_astroid.py::TestAstroid::test_sys_modules - TypeError: Astr... FAILED tests/test_astroid.py::TestAstroid::test_trailing_commas - TypeError: ... FAILED tests/test_astroid.py::TestAstroid::test_tuples - TypeError: AstroidBu... FAILED tests/test_astroid.py::TestAstroid::test_with - TypeError: AstroidBuil... =========== 47 failed, 68 passed, 1 skipped, 43430 warnings in 5.45s =========== py313: exit 1 (6.05 seconds) /home/pterjan/rpmbuild/BUILD/python-asttokens-2.4.1-build/asttokens-2.4.1> pytest pid=240342 py313: FAIL code 1 (6.08 seconds) evaluation failed :( (6.23 seconds) error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ug0AJY (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ug0AJY (%check) I: [iurt_root_command] ERROR: chroot