Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-sendgrid.spec'], chrootPath='/var/lib/mock/f37-build-639155-71119/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-sendgrid.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 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-sendgrid-3.6.5-20.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-sendgrid.spec'], chrootPath='/var/lib/mock/f37-build-639155-71119/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-sendgrid.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 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cDRTLe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sendgrid-python-3.6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sendgrid-3.6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sendgrid-python-3.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr sendgrid.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.awFEi9 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 sendgrid-python-3.6.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/sendgrid copying sendgrid/version.py -> build/lib/sendgrid copying sendgrid/__init__.py -> build/lib/sendgrid copying sendgrid/sendgrid.py -> build/lib/sendgrid creating build/lib/sendgrid/helpers copying sendgrid/helpers/__init__.py -> build/lib/sendgrid/helpers creating build/lib/sendgrid/helpers/inbound copying sendgrid/helpers/inbound/send.py -> build/lib/sendgrid/helpers/inbound copying sendgrid/helpers/inbound/__init__.py -> build/lib/sendgrid/helpers/inbound copying sendgrid/helpers/inbound/app.py -> build/lib/sendgrid/helpers/inbound copying sendgrid/helpers/inbound/config.py -> build/lib/sendgrid/helpers/inbound copying sendgrid/helpers/inbound/parse.py -> build/lib/sendgrid/helpers/inbound creating build/lib/sendgrid/helpers/mail copying sendgrid/helpers/mail/__init__.py -> build/lib/sendgrid/helpers/mail copying sendgrid/helpers/mail/mail.py -> build/lib/sendgrid/helpers/mail running egg_info creating sendgrid.egg-info writing sendgrid.egg-info/PKG-INFO writing dependency_links to sendgrid.egg-info/dependency_links.txt writing requirements to sendgrid.egg-info/requires.txt writing top-level names to sendgrid.egg-info/top_level.txt writing manifest file 'sendgrid.egg-info/SOURCES.txt' reading manifest file 'sendgrid.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' adding license file 'LICENSE.txt' writing manifest file 'sendgrid.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pj6s6W + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch ++ dirname /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 sendgrid-python-3.6.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid copying build/lib/sendgrid/version.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid copying build/lib/sendgrid/__init__.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers copying build/lib/sendgrid/helpers/__init__.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound copying build/lib/sendgrid/helpers/inbound/send.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound copying build/lib/sendgrid/helpers/inbound/__init__.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound copying build/lib/sendgrid/helpers/inbound/app.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound copying build/lib/sendgrid/helpers/inbound/config.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound copying build/lib/sendgrid/helpers/inbound/parse.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound creating /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/mail copying build/lib/sendgrid/helpers/mail/__init__.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/mail copying build/lib/sendgrid/helpers/mail/mail.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/mail copying build/lib/sendgrid/sendgrid.py -> /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound/send.py to send.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound/app.py to app.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound/config.py to config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/inbound/parse.py to parse.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/mail/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/helpers/mail/mail.py to mail.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid/sendgrid.py to sendgrid.cpython-311.pyc writing byte-compilation script '/tmp/tmp7nr0_7yb.py' /usr/bin/python3 /tmp/tmp7nr0_7yb.py removing /tmp/tmp7nr0_7yb.py running install_egg_info running egg_info writing sendgrid.egg-info/PKG-INFO writing dependency_links to sendgrid.egg-info/dependency_links.txt writing requirements to sendgrid.egg-info/requires.txt writing top-level names to sendgrid.egg-info/top_level.txt reading manifest file 'sendgrid.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' adding license file 'LICENSE.txt' writing manifest file 'sendgrid.egg-info/SOURCES.txt' Copying sendgrid.egg-info to /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11/site-packages/sendgrid-3.6.5-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.6.5-20.fc37 --unique-debug-suffix -3.6.5-20.fc37.noarch --unique-debug-src-base python-sendgrid-3.6.5-20.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sendgrid-python-3.6.5 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sendgrid-3.6.5-20.fc37.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MTwtT9 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 sendgrid-python-3.6.5 + rm test/test_sendgrid.py + /usr/bin/python3 -m unittest discover -v test_initialization (test.test_config.UnitTests.test_initialization) ... ERROR test_helloEmail (test.test_mail.UnitTests.test_helloEmail) ... ok test_kitchenSink (test.test_mail.UnitTests.test_kitchenSink) ... ok test.test_parse (unittest.loader._FailedTest.test.test_parse) ... ERROR ====================================================================== ERROR: test_initialization (test.test_config.UnitTests.test_initialization) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/sendgrid-python-3.6.5/test/test_config.py", line 11, in setUp self.config = Config() ^^^^^^^^ File "/builddir/build/BUILD/sendgrid-python-3.6.5/sendgrid/helpers/inbound/config.py", line 18, in __init__ config = yaml.load(stream) ^^^^^^^^^^^^^^^^^ TypeError: load() missing 1 required positional argument: 'Loader' ====================================================================== ERROR: test.test_parse (unittest.loader._FailedTest.test.test_parse) ---------------------------------------------------------------------- ImportError: Failed to import test module: test.test_parse Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/sendgrid-python-3.6.5/test/test_parse.py", line 2, in from sendgrid.helpers.inbound.app import app File "/builddir/build/BUILD/sendgrid-python-3.6.5/sendgrid/helpers/inbound/app.py", line 18, in config = Config() ^^^^^^^^ File "/builddir/build/BUILD/sendgrid-python-3.6.5/sendgrid/helpers/inbound/config.py", line 18, in __init__ config = yaml.load(stream) ^^^^^^^^^^^^^^^^^ TypeError: load() missing 1 required positional argument: 'Loader' ---------------------------------------------------------------------- Ran 4 tests in 0.009s FAILED (errors=2) error: Bad exit status from /var/tmp/rpm-tmp.MTwtT9 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MTwtT9 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 -bb --target noarch --nodeps /builddir/build/SPECS/python-sendgrid.spec