Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-264488-25421/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-iniparse-0.5-7.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-264488-25421/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xJzVYL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-iniparse-0.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-iniparse-0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-iniparse-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -c -x html/index.html mode of 'html/index.html' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3EyNAk + umask 022 + cd /builddir/build/BUILD + cd python-iniparse-0.5 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-iniparse-0.5-7.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-264488-25421/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97R9nG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-iniparse-0.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-iniparse-0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-iniparse-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -c -x html/index.html mode of 'html/index.html' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.eGzKwr + umask 022 + cd /builddir/build/BUILD + cd python-iniparse-0.5 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no files found matching 'README' HOOK STDOUT: running egg_info HOOK STDOUT: creating iniparse.egg-info HOOK STDOUT: writing iniparse.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to iniparse.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to iniparse.egg-info/requires.txt HOOK STDOUT: writing top-level names to iniparse.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'iniparse.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'iniparse.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'LICENSE-PSF' HOOK STDOUT: writing manifest file 'iniparse.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no files found matching 'README' Handling six from wheel metadata: Requires-Dist Requirement not satisfied: six + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-iniparse-0.5-7.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-264488-25421/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NbspVQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-iniparse-0.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-iniparse-0.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-iniparse-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -c -x html/index.html mode of 'html/index.html' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.x12Nwb + umask 022 + cd /builddir/build/BUILD + cd python-iniparse-0.5 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no files found matching 'README' HOOK STDOUT: running egg_info HOOK STDOUT: creating iniparse.egg-info HOOK STDOUT: writing iniparse.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to iniparse.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to iniparse.egg-info/requires.txt HOOK STDOUT: writing top-level names to iniparse.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'iniparse.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'iniparse.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'LICENSE-PSF' HOOK STDOUT: writing manifest file 'iniparse.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no files found matching 'README' Handling six from wheel metadata: Requires-Dist Requirement satisfied: six (installed: six 1.16.0) + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-iniparse-0.5-7.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-264488-25421/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.onvb88 + umask 022 + cd /builddir/build/BUILD + cd python-iniparse-0.5 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv iniparse-0.5.dist-info/ removed 'iniparse-0.5.dist-info/METADATA' removed 'iniparse-0.5.dist-info/top_level.txt' removed 'iniparse-0.5.dist-info/LICENSE' removed 'iniparse-0.5.dist-info/LICENSE-PSF' removed directory 'iniparse-0.5.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no files found matching 'README' HOOK STDOUT: running egg_info HOOK STDOUT: writing iniparse.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to iniparse.egg-info/dependency_links.txt HOOK STDOUT: writing requirements to iniparse.egg-info/requires.txt HOOK STDOUT: writing top-level names to iniparse.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'iniparse.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: adding license file 'LICENSE-PSF' HOOK STDOUT: writing manifest file 'iniparse.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) warning: no files found matching 'README' Handling six from wheel metadata: Requires-Dist Requirement satisfied: six (installed: six 1.16.0) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a8ssae + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-iniparse-0.5 + mkdir -p /builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/python-iniparse-0.5/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/python-iniparse-0.5 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info writing /builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README' adding license file 'LICENSE' adding license file 'LICENSE-PSF' writing manifest file '/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-modern-metadata-tcyvlp1p/iniparse-0.5.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: iniparse Building wheel for iniparse (pyproject.toml): started Running command Building wheel for iniparse (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/iniparse copying iniparse/utils.py -> build/lib/iniparse copying iniparse/__init__.py -> build/lib/iniparse copying iniparse/configparser.py -> build/lib/iniparse copying iniparse/config.py -> build/lib/iniparse copying iniparse/compat.py -> build/lib/iniparse copying iniparse/ini.py -> build/lib/iniparse installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/iniparse copying build/lib/iniparse/utils.py -> build/bdist.linux-x86_64/wheel/iniparse copying build/lib/iniparse/__init__.py -> build/bdist.linux-x86_64/wheel/iniparse copying build/lib/iniparse/configparser.py -> build/bdist.linux-x86_64/wheel/iniparse copying build/lib/iniparse/config.py -> build/bdist.linux-x86_64/wheel/iniparse copying build/lib/iniparse/compat.py -> build/bdist.linux-x86_64/wheel/iniparse copying build/lib/iniparse/ini.py -> build/bdist.linux-x86_64/wheel/iniparse running install_data creating build/bdist.linux-x86_64/wheel/iniparse-0.5.data creating build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data creating build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share creating build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc creating build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 copying README.md -> build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 copying LICENSE-PSF -> build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 copying LICENSE -> build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 copying Changelog -> build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 copying html/index.html -> build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 copying html/style.css -> build/bdist.linux-x86_64/wheel/iniparse-0.5.data/data/share/doc/iniparse-0.5 running install_egg_info running egg_info writing iniparse.egg-info/PKG-INFO writing dependency_links to iniparse.egg-info/dependency_links.txt writing requirements to iniparse.egg-info/requires.txt writing top-level names to iniparse.egg-info/top_level.txt reading manifest file 'iniparse.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README' adding license file 'LICENSE' adding license file 'LICENSE-PSF' writing manifest file 'iniparse.egg-info/SOURCES.txt' Copying iniparse.egg-info to build/bdist.linux-x86_64/wheel/iniparse-0.5-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/iniparse-0.5.dist-info/WHEEL creating '/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir/pip-wheel-nexxw5gt/.tmp-e7amre1l/iniparse-0.5-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'iniparse/__init__.py' adding 'iniparse/compat.py' adding 'iniparse/config.py' adding 'iniparse/configparser.py' adding 'iniparse/ini.py' adding 'iniparse/utils.py' adding 'iniparse-0.5.data/data/share/doc/iniparse-0.5/Changelog' adding 'iniparse-0.5.data/data/share/doc/iniparse-0.5/LICENSE' adding 'iniparse-0.5.data/data/share/doc/iniparse-0.5/LICENSE-PSF' adding 'iniparse-0.5.data/data/share/doc/iniparse-0.5/README.md' adding 'iniparse-0.5.data/data/share/doc/iniparse-0.5/index.html' adding 'iniparse-0.5.data/data/share/doc/iniparse-0.5/style.css' adding 'iniparse-0.5.dist-info/LICENSE' adding 'iniparse-0.5.dist-info/LICENSE-PSF' adding 'iniparse-0.5.dist-info/METADATA' adding 'iniparse-0.5.dist-info/WHEEL' adding 'iniparse-0.5.dist-info/top_level.txt' adding 'iniparse-0.5.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for iniparse (pyproject.toml): finished with status 'done' Created wheel for iniparse: filename=iniparse-0.5-py3-none-any.whl size=29653 sha256=ff9f7401c6b5406b47927c97dc5093c0072bde1f45a81fb371f7504903ce68df Stored in directory: /builddir/.cache/pip/wheels/f3/9f/e9/3b29cb47f314314358d443f33f24579aac5c6d3f68a3a4ee7c Successfully built iniparse + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NNqeQo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch + cd python-iniparse-0.5 ++ ls /builddir/build/BUILD/python-iniparse-0.5/pyproject-wheeldir/iniparse-0.5-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=iniparse==0.5 + TMPDIR=/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-iniparse-0.5/pyproject-wheeldir iniparse==0.5 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/python-iniparse-0.5/pyproject-wheeldir Processing ./pyproject-wheeldir/iniparse-0.5-py3-none-any.whl Installing collected packages: iniparse Successfully installed iniparse-0.5 + '[' -d /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/iniparse-0.5.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages/iniparse-0.5.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch --record /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages/iniparse-0.5.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages/iniparse-0.5.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages/iniparse-0.5.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages/iniparse-0.5.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages/iniparse-0.5.dist-info/REQUESTED' + rm -vfr /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5 removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5/Changelog' removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5/LICENSE' removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5/README.md' removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5/LICENSE-PSF' removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5/style.css' removed '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5/index.html' removed directory '/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/share/doc/iniparse-0.5' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr iniparse + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.5-7.ocs23 --unique-debug-suffix -0.5-7.ocs23.noarch --unique-debug-src-base python-iniparse-0.5-7.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/python-iniparse-0.5 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Iwgdu4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd python-iniparse-0.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-iniparse-0.5-7.ocs23.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-iniparse-0.5/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.6, pytest-7.4.0, pluggy-1.3.0 rootdir: /builddir/build/BUILD/python-iniparse-0.5 collected 118 items tests/test_compat.py FFFFFFFFFF......................................... [ 43%] ....FFFFFFFFFFFFFFF [ 59%] tests/test_fuzz.py s [ 60%] tests/test_ini.py ..................... [ 77%] tests/test_misc.py ................. [ 92%] tests/test_multiprocessing.py . [ 93%] tests/test_tidy.py ..... [ 97%] tests/test_unicode.py ... [100%] =================================== FAILURES =================================== ___________________________ TestCaseBase.test_basic ____________________________ self = def test_basic(self): > cf = self.fromstring( "[Foo Bar]\n" "foo=bar\n" "[Spacey Bar]\n" "foo = bar\n" "[Commented Bar]\n" "foo: bar ; comment\n" "[Long Line]\n" "foo: this line is much, much longer than my editor\n" " likes it.\n" "[Section\\with$weird%characters[\t]\n" "[Internationalized Stuff]\n" "foo[bg]: Bulgarian\n" "foo=Default\n" "foo[en]=English\n" "foo[de]=Deutsch\n" "[Spaces]\n" "key with spaces : value\n" "another with spaces = splat!\n" ) tests/test_compat.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError __________________________ TestCaseBase.test_boolean ___________________________ self = def test_boolean(self): > cf = self.fromstring( "[BOOLTEST]\n" "T1=1\n" "T2=TRUE\n" "T3=True\n" "T4=oN\n" "T5=yes\n" "F1=0\n" "F2=FALSE\n" "F3=False\n" "F4=oFF\n" "F5=nO\n" "E1=2\n" "E2=foo\n" "E3=-1\n" "E4=0.1\n" "E5=FALSE AND MORE" ) tests/test_compat.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError ______________________ TestCaseBase.test_case_sensitivity ______________________ self = def test_case_sensitivity(self): > cf = self.newconfig() tests/test_compat.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError __________________ TestCaseBase.test_default_case_sensitivity __________________ self = def test_default_case_sensitivity(self): > cf = self.newconfig({"foo": "Bar"}) tests/test_compat.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = {'foo': 'Bar'} def newconfig(self, defaults=None): if defaults is None: self.cf = self.config_class() else: > self.cf = self.config_class(defaults) E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:48: AttributeError ________________________ TestCaseBase.test_parse_errors ________________________ self = def test_parse_errors(self): > self.newconfig() tests/test_compat.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError ________________________ TestCaseBase.test_query_errors ________________________ self = def test_query_errors(self): > cf = self.newconfig() tests/test_compat.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError ___________________ TestCaseBase.test_read_returns_file_list ___________________ self = def test_read_returns_file_list(self): file1 = test_support.findfile("cfgparser.1") # check when we pass a mix of readable and non-readable files: > cf = self.newconfig() tests/test_compat.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError ______________________ TestCaseBase.test_set_string_types ______________________ self = def test_set_string_types(self): > cf = self.fromstring("[sect]\n" "option1=foo\n") tests/test_compat.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError ________________________ TestCaseBase.test_weird_errors ________________________ self = def test_weird_errors(self): > cf = self.newconfig() tests/test_compat.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError ___________________________ TestCaseBase.test_write ____________________________ self = def test_write(self): > cf = self.fromstring( "[Long Line]\n" "foo: this line is much, much longer than my editor\n" " likes it.\n" "[DEFAULT]\n" "foo: another very\n" " long line" ) tests/test_compat.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , defaults = None def newconfig(self, defaults=None): if defaults is None: > self.cf = self.config_class() E AttributeError: 'TestCaseBase' object has no attribute 'config_class' tests/test_compat.py:46: AttributeError __________________________ SortedTestCase.test_basic ___________________________ self = def test_basic(self): > cf = self.fromstring( "[Foo Bar]\n" "foo=bar\n" "[Spacey Bar]\n" "foo = bar\n" "[Commented Bar]\n" "foo: bar ; comment\n" "[Long Line]\n" "foo: this line is much, much longer than my editor\n" " likes it.\n" "[Section\\with$weird%characters[\t]\n" "[Internationalized Stuff]\n" "foo[bg]: Bulgarian\n" "foo=Default\n" "foo[en]=English\n" "foo[de]=Deutsch\n" "[Spaces]\n" "key with spaces : value\n" "another with spaces = splat!\n" ) tests/test_compat.py:58: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _________________________ SortedTestCase.test_boolean __________________________ self = def test_boolean(self): > cf = self.fromstring( "[BOOLTEST]\n" "T1=1\n" "T2=TRUE\n" "T3=True\n" "T4=oN\n" "T5=yes\n" "F1=0\n" "F2=FALSE\n" "F3=False\n" "F4=oFF\n" "F5=nO\n" "E1=2\n" "E2=foo\n" "E3=-1\n" "E4=0.1\n" "E5=FALSE AND MORE" ) tests/test_compat.py:205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _____________________ SortedTestCase.test_case_sensitivity _____________________ self = def test_case_sensitivity(self): > cf = self.newconfig() tests/test_compat.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _________________ SortedTestCase.test_default_case_sensitivity _________________ self = def test_default_case_sensitivity(self): > cf = self.newconfig({"foo": "Bar"}) tests/test_compat.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = {'foo': 'Bar'}, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError ______________________ SortedTestCase.test_interpolation _______________________ self = def test_interpolation(self): > cf = self.get_interpolation_config() tests/test_compat.py:393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:298: in get_interpolation_config return self.fromstring( tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = {'getname': '%(__name__)s'} dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError __________________________ SortedTestCase.test_items ___________________________ self = def test_items(self): > self.check_items_config([('default', ''), ('getdefault', '|%(default)s|'), ('getname', '|%(__name__)s|'), ('key', '|%(name)s|'), ('name', 'value')]) tests/test_compat.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:326: in check_items_config cf = self.fromstring( tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = {'default': ''} dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _______________________ SortedTestCase.test_parse_errors _______________________ self = def test_parse_errors(self): > self.newconfig() tests/test_compat.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _______________________ SortedTestCase.test_query_errors _______________________ self = def test_query_errors(self): > cf = self.newconfig() tests/test_compat.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError __________________ SortedTestCase.test_read_returns_file_list __________________ self = def test_read_returns_file_list(self): file1 = test_support.findfile("cfgparser.1") # check when we pass a mix of readable and non-readable files: > cf = self.newconfig() tests/test_compat.py:278: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError ___________________ SortedTestCase.test_set_nonstring_types ____________________ self = def test_set_nonstring_types(self): > cf = self.newconfig() tests/test_compat.py:413: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _____________________ SortedTestCase.test_set_string_types _____________________ self = def test_set_string_types(self): > cf = self.fromstring("[sect]\n" "option1=foo\n") tests/test_compat.py:257: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError __________________________ SortedTestCase.test_sorted __________________________ self = def test_sorted(self): > self.fromstring("[b]\n" "o4=1\n" "o3=2\n" "o2=3\n" "o1=4\n" "[a]\n" "k=v\n") tests/test_compat.py:476: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError _______________________ SortedTestCase.test_weird_errors _______________________ self = def test_weird_errors(self): > cf = self.newconfig() tests/test_compat.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError __________________________ SortedTestCase.test_write ___________________________ self = def test_write(self): > cf = self.fromstring( "[Long Line]\n" "foo: this line is much, much longer than my editor\n" " likes it.\n" "[DEFAULT]\n" "foo: another very\n" " long line" ) tests/test_compat.py:236: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_compat.py:52: in fromstring cf = self.newconfig(defaults) tests/test_compat.py:472: in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = defaults = None, dict_type = def __init__(self, defaults=None, dict_type=dict): if dict_type != dict: > raise ValueError('Custom dict types not supported') E ValueError: Custom dict types not supported iniparse/compat.py:35: ValueError __________________________________ test_main ___________________________________ def test_main(): > test_support.run_unittest( ConfigParserTestCase, RawConfigParserTestCase, SafeConfigParserTestCase, SortedTestCase ) tests/test_compat.py:496: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.11/test/support/__init__.py:1265: in run_unittest return _run_suite(suite) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ suite = def _run_suite(suite): """Run tests from a unittest.TestSuite-derived class.""" runner = get_test_runner(sys.stdout, verbosity=verbose, capture_output=(junit_xml_list is not None)) result = runner.run(suite) if junit_xml_list is not None: junit_xml_list.append(result.get_xml_element()) if not result.testsRun and not result.skipped and not result.errors: raise TestDidNotRun if not result.wasSuccessful(): stats = TestStats.from_unittest(result) if len(result.errors) == 1 and not result.failures: err = result.errors[0][1] elif len(result.failures) == 1 and not result.errors: err = result.failures[0][1] else: err = "multiple errors occurred" if not verbose: err += "; run in verbose mode for details" errors = [(str(tc), exc_str) for tc, exc_str in result.errors] failures = [(str(tc), exc_str) for tc, exc_str in result.failures] > raise TestFailedWithDetails(err, errors, failures, stats=stats) E test.support.TestFailedWithDetails: multiple errors occurred /usr/lib64/python3.11/test/support/__init__.py:1155: TestFailedWithDetails ----------------------------- Captured stdout call ----------------------------- test_basic (tests.test_compat.ConfigParserTestCase.test_basic) ... ok test_boolean (tests.test_compat.ConfigParserTestCase.test_boolean) ... ok test_case_sensitivity (tests.test_compat.ConfigParserTestCase.test_case_sensitivity) ... ok test_default_case_sensitivity (tests.test_compat.ConfigParserTestCase.test_default_case_sensitivity) ... ok test_interpolation (tests.test_compat.ConfigParserTestCase.test_interpolation) ... ok test_interpolation_missing_value (tests.test_compat.ConfigParserTestCase.test_interpolation_missing_value) ... ok test_items (tests.test_compat.ConfigParserTestCase.test_items) ... ok test_parse_errors (tests.test_compat.ConfigParserTestCase.test_parse_errors) ... ok test_query_errors (tests.test_compat.ConfigParserTestCase.test_query_errors) ... ok test_read_returns_file_list (tests.test_compat.ConfigParserTestCase.test_read_returns_file_list) ... ok test_set_nonstring_types (tests.test_compat.ConfigParserTestCase.test_set_nonstring_types) ... ok test_set_string_types (tests.test_compat.ConfigParserTestCase.test_set_string_types) ... ok test_weird_errors (tests.test_compat.ConfigParserTestCase.test_weird_errors) ... ok test_write (tests.test_compat.ConfigParserTestCase.test_write) ... ok test_basic (tests.test_compat.RawConfigParserTestCase.test_basic) ... ok test_boolean (tests.test_compat.RawConfigParserTestCase.test_boolean) ... ok test_case_sensitivity (tests.test_compat.RawConfigParserTestCase.test_case_sensitivity) ... ok test_default_case_sensitivity (tests.test_compat.RawConfigParserTestCase.test_default_case_sensitivity) ... ok test_interpolation (tests.test_compat.RawConfigParserTestCase.test_interpolation) ... ok test_items (tests.test_compat.RawConfigParserTestCase.test_items) ... ok test_parse_errors (tests.test_compat.RawConfigParserTestCase.test_parse_errors) ... ok test_query_errors (tests.test_compat.RawConfigParserTestCase.test_query_errors) ... ok test_read_returns_file_list (tests.test_compat.RawConfigParserTestCase.test_read_returns_file_list) ... ok test_set_nonstring_types (tests.test_compat.RawConfigParserTestCase.test_set_nonstring_types) ... ok test_set_string_types (tests.test_compat.RawConfigParserTestCase.test_set_string_types) ... ok test_weird_errors (tests.test_compat.RawConfigParserTestCase.test_weird_errors) ... ok test_write (tests.test_compat.RawConfigParserTestCase.test_write) ... ok test_add_section_default_1 (tests.test_compat.SafeConfigParserTestCase.test_add_section_default_1) ... ok test_add_section_default_2 (tests.test_compat.SafeConfigParserTestCase.test_add_section_default_2) ... ok test_basic (tests.test_compat.SafeConfigParserTestCase.test_basic) ... ok test_boolean (tests.test_compat.SafeConfigParserTestCase.test_boolean) ... ok test_case_sensitivity (tests.test_compat.SafeConfigParserTestCase.test_case_sensitivity) ... ok test_default_case_sensitivity (tests.test_compat.SafeConfigParserTestCase.test_default_case_sensitivity) ... ok test_interpolation (tests.test_compat.SafeConfigParserTestCase.test_interpolation) ... ok test_interpolation_missing_value (tests.test_compat.SafeConfigParserTestCase.test_interpolation_missing_value) ... ok test_items (tests.test_compat.SafeConfigParserTestCase.test_items) ... ok test_parse_errors (tests.test_compat.SafeConfigParserTestCase.test_parse_errors) ... ok test_query_errors (tests.test_compat.SafeConfigParserTestCase.test_query_errors) ... ok test_read_returns_file_list (tests.test_compat.SafeConfigParserTestCase.test_read_returns_file_list) ... ok test_safe_interpolation (tests.test_compat.SafeConfigParserTestCase.test_safe_interpolation) ... ok test_set_malformatted_interpolation (tests.test_compat.SafeConfigParserTestCase.test_set_malformatted_interpolation) ... ok test_set_nonstring_types (tests.test_compat.SafeConfigParserTestCase.test_set_nonstring_types) ... ok test_set_string_types (tests.test_compat.SafeConfigParserTestCase.test_set_string_types) ... ok test_weird_errors (tests.test_compat.SafeConfigParserTestCase.test_weird_errors) ... ok test_write (tests.test_compat.SafeConfigParserTestCase.test_write) ... ok test_basic (tests.test_compat.SortedTestCase.test_basic) ... ERROR test_boolean (tests.test_compat.SortedTestCase.test_boolean) ... ERROR test_case_sensitivity (tests.test_compat.SortedTestCase.test_case_sensitivity) ... ERROR test_default_case_sensitivity (tests.test_compat.SortedTestCase.test_default_case_sensitivity) ... ERROR test_interpolation (tests.test_compat.SortedTestCase.test_interpolation) ... ERROR test_items (tests.test_compat.SortedTestCase.test_items) ... ERROR test_parse_errors (tests.test_compat.SortedTestCase.test_parse_errors) ... ERROR test_query_errors (tests.test_compat.SortedTestCase.test_query_errors) ... ERROR test_read_returns_file_list (tests.test_compat.SortedTestCase.test_read_returns_file_list) ... ERROR test_set_nonstring_types (tests.test_compat.SortedTestCase.test_set_nonstring_types) ... ERROR test_set_string_types (tests.test_compat.SortedTestCase.test_set_string_types) ... ERROR test_sorted (tests.test_compat.SortedTestCase.test_sorted) ... ERROR test_weird_errors (tests.test_compat.SortedTestCase.test_weird_errors) ... ERROR test_write (tests.test_compat.SortedTestCase.test_write) ... ERROR ====================================================================== ERROR: test_basic (tests.test_compat.SortedTestCase.test_basic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 58, in test_basic cf = self.fromstring( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_boolean (tests.test_compat.SortedTestCase.test_boolean) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 205, in test_boolean cf = self.fromstring( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_case_sensitivity (tests.test_compat.SortedTestCase.test_case_sensitivity) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 119, in test_case_sensitivity cf = self.newconfig() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_default_case_sensitivity (tests.test_compat.SortedTestCase.test_default_case_sensitivity) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 153, in test_default_case_sensitivity cf = self.newconfig({"foo": "Bar"}) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_interpolation (tests.test_compat.SortedTestCase.test_interpolation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 393, in test_interpolation cf = self.get_interpolation_config() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 298, in get_interpolation_config return self.fromstring( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_items (tests.test_compat.SortedTestCase.test_items) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 406, in test_items self.check_items_config([('default', ''), File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 326, in check_items_config cf = self.fromstring( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_parse_errors (tests.test_compat.SortedTestCase.test_parse_errors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 163, in test_parse_errors self.newconfig() File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_query_errors (tests.test_compat.SortedTestCase.test_query_errors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 182, in test_query_errors cf = self.newconfig() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_read_returns_file_list (tests.test_compat.SortedTestCase.test_read_returns_file_list) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 278, in test_read_returns_file_list cf = self.newconfig() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_set_nonstring_types (tests.test_compat.SortedTestCase.test_set_nonstring_types) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 413, in test_set_nonstring_types cf = self.newconfig() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_set_string_types (tests.test_compat.SortedTestCase.test_set_string_types) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 257, in test_set_string_types cf = self.fromstring("[sect]\n" ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_sorted (tests.test_compat.SortedTestCase.test_sorted) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 476, in test_sorted self.fromstring("[b]\n" File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_weird_errors (tests.test_compat.SortedTestCase.test_weird_errors) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 230, in test_weird_errors cf = self.newconfig() ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ====================================================================== ERROR: test_write (tests.test_compat.SortedTestCase.test_write) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 236, in test_write cf = self.fromstring( ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 52, in fromstring cf = self.newconfig(defaults) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py", line 472, in newconfig self.cf = self.config_class(defaults=defaults, dict_type=SortedDict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-iniparse-0.5/iniparse/compat.py", line 35, in __init__ raise ValueError('Custom dict types not supported') ValueError: Custom dict types not supported ---------------------------------------------------------------------- Ran 59 tests in 0.015s FAILED (errors=14) =============================== warnings summary =============================== tests/test_ini.py:29 tests/test_ini.py:29 /builddir/build/BUILD/python-iniparse-0.5/tests/test_ini.py:29: DeprecationWarning: invalid escape sequence '\c' ('[se\ct%[ion\t]', ('se\ct%[ion\t', None, None, -1)), tests/test_fuzz.py:58 /builddir/build/BUILD/python-iniparse-0.5/tests/test_fuzz.py:58: DeprecationWarning: invalid escape sequence '\[' name = re.sub(':|=| |\[', '', name) tests/test_compat.py::ConfigParserTestCase::test_basic tests/test_compat.py::RawConfigParserTestCase::test_basic tests/test_compat.py::SafeConfigParserTestCase::test_basic tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:99: DeprecationWarning: Please use assertFalse instead. self.failIf('__name__' in cf.options("Foo Bar"), tests/test_compat.py::ConfigParserTestCase::test_basic tests/test_compat.py::RawConfigParserTestCase::test_basic tests/test_compat.py::SafeConfigParserTestCase::test_basic tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:104: DeprecationWarning: Please use assertTrue instead. self.failUnless(cf.remove_option('Foo Bar', 'foo'), tests/test_compat.py::ConfigParserTestCase::test_basic tests/test_compat.py::RawConfigParserTestCase::test_basic tests/test_compat.py::SafeConfigParserTestCase::test_basic tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:106: DeprecationWarning: Please use assertFalse instead. self.failIf(cf.has_option('Foo Bar', 'foo'), tests/test_compat.py::ConfigParserTestCase::test_basic tests/test_compat.py::RawConfigParserTestCase::test_basic tests/test_compat.py::SafeConfigParserTestCase::test_basic tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:108: DeprecationWarning: Please use assertFalse instead. self.failIf(cf.remove_option('Foo Bar', 'foo'), tests/test_compat.py: 24 warnings /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:224: DeprecationWarning: Please use assertTrue instead. self.failUnless(cf.getboolean('BOOLTEST', 't%d' % x)) tests/test_compat.py: 24 warnings /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:225: DeprecationWarning: Please use assertFalse instead. self.failIf(cf.getboolean('BOOLTEST', 'f%d' % x)) tests/test_compat.py::ConfigParserTestCase::test_case_sensitivity tests/test_compat.py::RawConfigParserTestCase::test_case_sensitivity tests/test_compat.py::SafeConfigParserTestCase::test_case_sensitivity tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:130: DeprecationWarning: Please use assertTrue instead. self.failUnless(cf.has_option("a", "b")) tests/test_compat.py: 24 warnings /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:133: DeprecationWarning: Please use assertTrue instead. self.failUnless( tests/test_compat.py::ConfigParserTestCase::test_case_sensitivity tests/test_compat.py::RawConfigParserTestCase::test_case_sensitivity tests/test_compat.py::SafeConfigParserTestCase::test_case_sensitivity tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:150: DeprecationWarning: Please use assertTrue instead. self.failUnless(cf.has_option("section", "Key")) tests/test_compat.py::ConfigParserTestCase::test_query_errors tests/test_compat.py::RawConfigParserTestCase::test_query_errors tests/test_compat.py::SafeConfigParserTestCase::test_query_errors tests/test_compat.py::test_main tests/test_compat.py::test_main tests/test_compat.py::test_main /builddir/build/BUILD/python-iniparse-0.5/tests/test_compat.py:185: DeprecationWarning: Please use assertFalse instead. self.failIf(cf.has_section("Foo"), tests/test_fuzz.py::TestFuzz::test_fuzz /builddir/build/BUILD/python-iniparse-0.5/tests/test_fuzz.py:105: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead. cc_py.readfp(StringIO(s)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_compat.py::TestCaseBase::test_basic - AttributeError: 'Test... FAILED tests/test_compat.py::TestCaseBase::test_boolean - AttributeError: 'Te... FAILED tests/test_compat.py::TestCaseBase::test_case_sensitivity - AttributeE... FAILED tests/test_compat.py::TestCaseBase::test_default_case_sensitivity - At... FAILED tests/test_compat.py::TestCaseBase::test_parse_errors - AttributeError... FAILED tests/test_compat.py::TestCaseBase::test_query_errors - AttributeError... FAILED tests/test_compat.py::TestCaseBase::test_read_returns_file_list - Attr... FAILED tests/test_compat.py::TestCaseBase::test_set_string_types - AttributeE... FAILED tests/test_compat.py::TestCaseBase::test_weird_errors - AttributeError... FAILED tests/test_compat.py::TestCaseBase::test_write - AttributeError: 'Test... FAILED tests/test_compat.py::SortedTestCase::test_basic - ValueError: Custom ... FAILED tests/test_compat.py::SortedTestCase::test_boolean - ValueError: Custo... FAILED tests/test_compat.py::SortedTestCase::test_case_sensitivity - ValueErr... FAILED tests/test_compat.py::SortedTestCase::test_default_case_sensitivity - ... FAILED tests/test_compat.py::SortedTestCase::test_interpolation - ValueError:... FAILED tests/test_compat.py::SortedTestCase::test_items - ValueError: Custom ... FAILED tests/test_compat.py::SortedTestCase::test_parse_errors - ValueError: ... FAILED tests/test_compat.py::SortedTestCase::test_query_errors - ValueError: ... FAILED tests/test_compat.py::SortedTestCase::test_read_returns_file_list - Va... FAILED tests/test_compat.py::SortedTestCase::test_set_nonstring_types - Value... FAILED tests/test_compat.py::SortedTestCase::test_set_string_types - ValueErr... FAILED tests/test_compat.py::SortedTestCase::test_sorted - ValueError: Custom... FAILED tests/test_compat.py::SortedTestCase::test_weird_errors - ValueError: ... FAILED tests/test_compat.py::SortedTestCase::test_write - ValueError: Custom ... FAILED tests/test_compat.py::test_main - test.support.TestFailedWithDetails: ... ============ 25 failed, 92 passed, 1 skipped, 118 warnings in 0.61s ============ error: Bad exit status from /var/tmp/rpm-tmp.Iwgdu4 (%check) Bad exit status from /var/tmp/rpm-tmp.Iwgdu4 (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-iniparse.spec