* Package: dev-python/guessit-3.4.2 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking guessit-3.4.2.tar.gz to /var/tmp/portage/dev-python/guessit-3.4.2/work >>> Source unpacked in /var/tmp/portage/dev-python/guessit-3.4.2/work >>> Preparing source in /var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2 ... [snip] >>> Source compiled. >>> Test phase: dev-python/guessit-3.4.2 * python3_9: running distutils-r1_run_phase python_test python3.9 -m pytest -vv -ra -l -Wdefault ===================================================================== test session starts ====================================================================== platform linux -- Python 3.9.9, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 -- /usr/bin/python3.9 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2, configfile: pytest.ini plugins: pkgcore-0.12.8 collecting ... collected 2086 items / 2 errors / 2084 selected ============================================================================ ERRORS ============================================================================ __________________________________________________________ ERROR collecting guessit/test/test_api.py ___________________________________________________________ guessit/test/test_api.py:9: in <module> from pytest_mock import MockerFixture E ModuleNotFoundError: No module named 'pytest_mock' Path = <class 'pathlib.Path'> __builtins__ = <builtins> __cached__ = '/var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2/guessit/test/__pycache__/test_api.cpython-39.pyc' __doc__ = None __file__ = '/var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2/guessit/test/test_api.py' __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7fbbeeed2490> __name__ = 'guessit.test.test_api' __package__ = 'guessit.test' __spec__ = ModuleSpec(name='guessit.test.test_api', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7fbbeeed2490>, origin='/var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2/guessit/test/test_api.py')* Package: dev-python/guessit-3.4.2 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking guessit-3.4.2.tar.gz to /var/tmp/portage/dev-python/guessit-3.4.2/work >>> Source unpacked in /var/tmp/portage/dev-python/guessit-3.4.2/work >>> Preparing source in /var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2 ... [snip] hon/guessit-3.4.2/work/guessit-3.4.2-python3_9/lib/guessit/test/rules copying guessit/test/rules/episodes.yml -> /var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2-python3_9/lib/guessit/test/rules copying guessit/test/rules/film.yml -> /var/tmp/portage/dev json = <module 'json' from '/usr/lib/python3.9/json/__init__.py'> os = <module 'os' from '/usr/lib/python3.9/os.py'> pytest = <module 'pytest' from '/usr/lib/python3.9/site-packages/pytest/__init__.py'> __________________________________________________________ ERROR collecting guessit/test/test_api.py ___________________________________________________________ ImportError while importing test module '/var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2/guessit/test/test_api.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.9/site-packages/_pytest/python.py:578: in _importtestmodule mod = import_path(self.fspath, mode=importmode) /usr/lib/python3.9/site-packages/_pytest/pathlib.py:524: in import_path importlib.import_module(module_name) /usr/lib/python3.9/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) <frozen importlib._bootstrap>:1030: in _gcd_import ??? <frozen importlib._bootstrap>:1007: in _find_and_load ??? <frozen importlib._bootstrap>:986: in _find_and_load_unlocked ??? <frozen importlib._bootstrap>:680: in _load_unlocked ??? /usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py:170: in exec_module exec(co, module.__dict__) guessit/test/test_api.py:9: in <module> from pytest_mock import MockerFixture E ModuleNotFoundError: No module named 'pytest_mock' =================================================================== short test summary info ==================================================================== ERROR guessit/test/test_api.py - ModuleNotFoundError: No module named 'pytest_mock' ERROR guessit/test/test_api.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ====================================================================== 2 errors in 3.00s ======================================================================= * ERROR: dev-python/guessit-3.4.2::gentoo failed (test phase): * pytest failed with python3.9 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2834: Called distutils-r1_src_test * environment, line 1203: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 465: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2490: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2020: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2018: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 757: Called distutils-r1_run_phase 'python_test' * environment, line 1142: Called python_test * environment, line 2793: Called distutils-r1_python_test * environment, line 1099: Called epytest * environment, line 1536: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=dev-python/guessit-3.4.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/guessit-3.4.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/guessit-3.4.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/guessit-3.4.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2' * S: '/var/tmp/portage/dev-python/guessit-3.4.2/work/guessit-3.4.2'
# emerge --info Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r7, 5.10.68-gentoo-dist x86_64) ================================================================= System uname: Linux-5.10.68-gentoo-dist-x86_64-Common_KVM_processor-with-glibc2.33 KiB Mem: 65850752 total, 15251420 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 10 Dec 2021 09:00:01 +0000 Head commit of repository gentoo: 9406e32d458e8e6a565e5d9a188bf97a26731c7d Head commit of repository sakaki-tools: 571e34870d665e98677caecbd56cf0d399ee4b3c sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 app-shells/bash: 5.1_p8::gentoo dev-lang/perl: 5.34.0-r3::gentoo dev-lang/python: 2.7.18_p13::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo dev-lang/rust-bin: 1.56.1::gentoo dev-util/cmake: 3.20.5::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/sandbox: 2.25::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.4::gentoo sys-devel/binutils: 2.37_p1::gentoo sys-devel/gcc: 11.2.0::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.10-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.33-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sakaki-tools location: /usr/local/portage/sakaki-tools sync-type: git sync-uri: https://github.com/sakaki-/sakaki-tools.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* @FREE @BINARY-REDISTRIBUTABLE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 10" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j64 -l64" PKGDIR="/var/cache/binpkgs" 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 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea4f01bfca60ccdf162faa1e6d3e34415cbe173 commit 0ea4f01bfca60ccdf162faa1e6d3e34415cbe173 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2021-12-10 15:39:00 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2021-12-10 15:39:38 +0000 dev-python/guessit: add test dep on pytest-mock Closes: https://bugs.gentoo.org/828783 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-python/guessit/guessit-3.4.2.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)