* Package: dev-python/aiohttp-jinja2-0.15.0 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_8 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/e8d25e416cddfa3b5ea3a590a0f97ee1f5567a5b (Sun Mar 7 11:20:59 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.16 (python 3.9.2-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r8, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.32 KiB Mem: 64359964 total, 33149964 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 07 Mar 2021 11:20:58 +0000 sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo dev-util/cmake: 3.19.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* Apache-2.0" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j16" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_7 python3_8" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge history: 2021-03-07T13:07:56 >>> dev-python/typing-extensions-3.7.4.3 2021-03-07T13:07:56 >>> dev-python/toml-0.10.2 2021-03-07T13:07:58 >>> dev-python/iniconfig-1.1.1 2021-03-07T13:07:59 >>> dev-python/py-1.10.0 2021-03-07T13:07:57 >>> dev-python/cython-0.29.22 2021-03-07T13:07:58 >>> dev-python/more-itertools-8.7.0 2021-03-07T13:07:59 >>> dev-python/pyparsing-2.4.7-r1 2021-03-07T13:08:00 >>> dev-python/six-1.15.0-r1 2021-03-07T13:08:01 >>> dev-python/namespace-zope-1-r1 2021-03-07T13:08:01 >>> dev-python/async_timeout-3.0.1 2021-03-07T13:08:15 >>> dev-python/zipp-3.4.1 2021-03-07T13:08:21 >>> dev-python/multidict-5.1.0 2021-03-07T13:08:27 >>> dev-python/packaging-20.9 2021-03-07T13:08:28 >>> dev-python/zope-interface-5.2.0 2021-03-07T13:08:36 >>> dev-python/importlib_metadata-3.7.0 2021-03-07T13:08:38 >>> dev-python/yarl-1.6.3 2021-03-07T13:08:41 >>> dev-python/attrs-20.3.0 2021-03-07T13:08:47 >>> dev-python/pluggy-0.13.1-r1 2021-03-07T13:08:50 >>> dev-python/aiohttp-3.7.4 2021-03-07T13:08:55 >>> dev-python/pytest-6.2.2 2021-03-07T13:09:00 >>> dev-python/pytest-aiohttp-0.3.0-r1 >>> Unpacking source... >>> Unpacking aiohttp-jinja2-0.15.0.tar.gz to /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work >>> Source unpacked in /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work >>> Preparing source in /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 16 running build running build_py creating /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_7/lib/aiohttp_jinja2 copying aiohttp_jinja2/helpers.py -> /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_7/lib/aiohttp_jinja2 copying aiohttp_jinja2/__init__.py -> /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_7/lib/aiohttp_jinja2 running egg_info writing aiohttp_jinja2.egg-info/PKG-INFO writing dependency_links to aiohttp_jinja2.egg-info/dependency_links.txt writing requirements to aiohttp_jinja2.egg-info/requires.txt writing top-level names to aiohttp_jinja2.egg-info/top_level.txt reading manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead % (opt, underscore_opt)) /usr/lib/python3.7/site-packages/setuptools/dist.py:637: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead % (opt, underscore_opt)) warning: no directories found matching 'examples' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 16 running build running build_py creating /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_8/lib/aiohttp_jinja2 copying aiohttp_jinja2/helpers.py -> /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_8/lib/aiohttp_jinja2 copying aiohttp_jinja2/__init__.py -> /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_8/lib/aiohttp_jinja2 running egg_info writing aiohttp_jinja2.egg-info/PKG-INFO writing dependency_links to aiohttp_jinja2.egg-info/dependency_links.txt writing requirements to aiohttp_jinja2.egg-info/requires.txt writing top-level names to aiohttp_jinja2.egg-info/top_level.txt reading manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-platlib' will not be supported in future versions. Please use the underscore name 'build_platlib' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-purelib' will not be supported in future versions. Please use the underscore name 'build_purelib' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'build-scripts' will not be supported in future versions. Please use the underscore name 'build_scripts' instead warnings.warn( /usr/lib/python3.8/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead warnings.warn( warning: no directories found matching 'examples' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'aiohttp_jinja2.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * Using python3.8 in global scope * python3_8: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/aiohttp-jinja2-0.15.0 * python3_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.7.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0 plugins: aiohttp-0.3.0 collecting ... collected 24 items tests/test_context_processors.py::test_context_processors[pyloop] PASSED [ 4%] tests/test_context_processors.py::test_context_is_response[pyloop] FAILED [ 8%] tests/test_context_processors.py::test_context_processors_new_setup_style[pyloop] PASSED [ 12%] tests/test_context_processors.py::test_context_not_tainted[pyloop] PASSED [ 16%] tests/test_jinja_filters.py::test_jinja_filters[pyloop] PASSED [ 20%] tests/test_jinja_globals.py::test_get_env[pyloop] PASSED [ 25%] tests/test_jinja_globals.py::test_url[pyloop] PASSED [ 29%] tests/test_jinja_globals.py::test_url_with_query[pyloop] PASSED [ 33%] tests/test_jinja_globals.py::test_helpers_disabled[pyloop] PASSED [ 37%] tests/test_jinja_globals.py::test_static[pyloop] PASSED [ 41%] tests/test_jinja_globals.py::test_static_var_missing[pyloop] PASSED [ 45%] tests/test_simple_renderer.py::test_func[pyloop] PASSED [ 50%] tests/test_simple_renderer.py::test_render_class_based_view[pyloop] PASSED [ 54%] tests/test_simple_renderer.py::test_meth[pyloop] PASSED [ 58%] tests/test_simple_renderer.py::test_convert_func_to_coroutine[pyloop] PASSED [ 62%] tests/test_simple_renderer.py::test_render_not_initialized[pyloop] PASSED [ 66%] tests/test_simple_renderer.py::test_set_status[pyloop] PASSED [ 70%] tests/test_simple_renderer.py::test_render_template[pyloop] PASSED [ 75%] tests/test_simple_renderer.py::test_render_template_custom_status[pyloop] PASSED [ 79%] tests/test_simple_renderer.py::test_template_not_found[pyloop] PASSED [ 83%] tests/test_simple_renderer.py::test_render_not_mapping[pyloop] PASSED [ 87%] tests/test_simple_renderer.py::test_render_without_context[pyloop] PASSED [ 91%] tests/test_simple_renderer.py::test_render_default_is_autoescaped[pyloop] PASSED [ 95%] tests/test_simple_renderer.py::test_render_can_disable_autoescape[pyloop] PASSED [100%] =================================== FAILURES =================================== _______________________ test_context_is_response[pyloop] _______________________ test_client = .go at 0x7fd94e962050> loop = <_UnixSelectorEventLoop running=False closed=False debug=False> @asyncio.coroutine def test_context_is_response(test_client, loop): @aiohttp_jinja2.template('tmpl.jinja2') def func(request): return web.HTTPForbidden() app = web.Application(loop=loop) aiohttp_jinja2.setup(app, loader=jinja2.DictLoader( {'tmpl.jinja2': "template"})) app.router.add_route('GET', '/', func) client = yield from test_client(app) resp = yield from client.get('/') assert 403 == resp.status > yield from resp.release() E TypeError: 'noop' object is not iterable tests/test_context_processors.py:55: TypeError =============================== warnings summary =============================== ../aiohttp-jinja2-0.15.0-python3_7/lib/aiohttp_jinja2/__init__.py:4 /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0-python3_7/lib/aiohttp_jinja2/__init__.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working from collections import Mapping tests/test_context_processors.py: 4 warnings tests/test_jinja_filters.py: 1 warning tests/test_jinja_globals.py: 5 warnings tests/test_simple_renderer.py: 10 warnings /usr/lib/python3.7/site-packages/_pytest/fixtures.py:932: DeprecationWarning: Deprecated, use aiohttp_client fixture instead fixture_result = fixturefunc(**kwargs) tests/test_jinja_globals.py::test_get_env[pyloop] /var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0/tests/test_jinja_globals.py:12: DeprecationWarning: loop argument is deprecated app = web.Application(loop=loop) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/test_context_processors.py::test_context_is_response[pyloop] - T... ================== 1 failed, 23 passed, 22 warnings in 0.37s =================== * ERROR: dev-python/aiohttp-jinja2-0.15.0::gentoo failed (test phase): * Tests failed under python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3975: Called distutils-r1_src_test * environment, line 1252: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 408: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3577: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2853: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2851: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 815: Called distutils-r1_run_phase 'python_test' * environment, line 1189: Called python_test * environment, line 3935: Called die * The specific snippet of code: * pytest -vv tests || die "Tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/aiohttp-jinja2-0.15.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/aiohttp-jinja2-0.15.0::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/aiohttp-jinja2-0.15.0:20210307-120903.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0' * S: '/var/tmp/portage/dev-python/aiohttp-jinja2-0.15.0/work/aiohttp-jinja2-0.15.0'