Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r9, 6.6.10-arch1-1 x86_64) ================================================================= System uname: Linux-6.6.10-arch1-1-x86_64-AMD_Ryzen_7_4800H_with_Radeon_Graphics-with-glibc2.38 KiB Mem: 32214772 total, 4176864 free KiB Swap: 12582908 total, 12582140 free Timestamp of repository gentoo: Tue, 16 Jan 2024 19:35:11 +0000 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.41 p4) 2.41.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-build/autoconf: 2.71-r6::gentoo dev-build/automake: 1.16.5-r1::gentoo dev-build/cmake: 3.27.9::gentoo dev-build/libtool: 2.4.7-r1::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.0-r2::gentoo dev-lang/perl: 5.38.2-r1::gentoo dev-lang/python: 3.11.7::gentoo, 3.12.1_p1::gentoo dev-lang/rust-bin: 1.74.1::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/openrc: 0.48::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.41-r3::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/gcc: 13.2.1_p20230826::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/llvm: 16.0.6::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r9::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 3 sync-rsync-verify-metamanifest: yes Binary Repositories: gentoobinhost priority: 1 sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--autounmask --autounmask-continue --complete-graph --getbinpkg --usepkg-exclude dev-perl/Mozilla-CA" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox pkgdir-index-trusted 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://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j8" 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" SHELL="/bin/bash" USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS * Package: dev-python/simpy-4.1.1:0 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 test * FEATURES: keeptemp network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking simpy-4.1.1.tar.gz to /var/tmp/portage/dev-python/simpy-4.1.1/work >>> Source unpacked in /var/tmp/portage/dev-python/simpy-4.1.1/work >>> Preparing source in /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1 ... * Build system packages: * dev-python/gpep517 : 15 * dev-python/installer : 0.7.0 * dev-python/setuptools : 69.0.3 * dev-python/setuptools-rust : 1.8.1 * dev-python/setuptools-scm : 8.0.4 * dev-python/wheel : 0.42.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for simpy-4.1.1 via setuptools.build_meta python3.11 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/wheel 2024-01-16 19:42:05,229 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-01-16 19:42:05,434 root INFO running bdist_wheel 2024-01-16 19:42:05,479 root INFO running build 2024-01-16 19:42:05,479 root INFO running build_py 2024-01-16 19:42:05,489 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build 2024-01-16 19:42:05,489 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib 2024-01-16 19:42:05,489 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,489 root INFO copying src/simpy/rt.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,489 root INFO copying src/simpy/__init__.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,489 root INFO copying src/simpy/core.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,490 root INFO copying src/simpy/util.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,490 root INFO copying src/simpy/exceptions.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,490 root INFO copying src/simpy/events.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,490 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources 2024-01-16 19:42:05,490 root INFO copying src/simpy/resources/__init__.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources 2024-01-16 19:42:05,491 root INFO copying src/simpy/resources/resource.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources 2024-01-16 19:42:05,491 root INFO copying src/simpy/resources/store.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources 2024-01-16 19:42:05,491 root INFO copying src/simpy/resources/base.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources 2024-01-16 19:42:05,491 root INFO copying src/simpy/resources/container.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources 2024-01-16 19:42:05,491 root INFO running egg_info 2024-01-16 19:42:05,501 root INFO writing src/simpy.egg-info/PKG-INFO 2024-01-16 19:42:05,502 root INFO writing dependency_links to src/simpy.egg-info/dependency_links.txt 2024-01-16 19:42:05,502 root INFO writing top-level names to src/simpy.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any 2024-01-16 19:42:05,540 root INFO reading manifest file 'src/simpy.egg-info/SOURCES.txt' 2024-01-16 19:42:05,541 root INFO adding license file 'LICENSE.rst' 2024-01-16 19:42:05,542 root INFO writing manifest file 'src/simpy.egg-info/SOURCES.txt' 2024-01-16 19:42:05,543 root INFO copying src/simpy/py.typed -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy 2024-01-16 19:42:05,543 root WARNING warning: build_py: byte-compiling is disabled, skipping. 2024-01-16 19:42:05,562 wheel INFO installing to /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel 2024-01-16 19:42:05,562 root INFO running install 2024-01-16 19:42:05,571 root INFO running install_lib 2024-01-16 19:42:05,580 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64 2024-01-16 19:42:05,581 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel 2024-01-16 19:42:05,581 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,581 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/rt.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,581 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/__init__.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,581 root INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy/resources 2024-01-16 19:42:05,581 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources/__init__.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy/resources 2024-01-16 19:42:05,582 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources/resource.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy/resources 2024-01-16 19:42:05,582 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources/store.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy/resources 2024-01-16 19:42:05,582 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources/base.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy/resources 2024-01-16 19:42:05,582 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/resources/container.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy/resources 2024-01-16 19:42:05,582 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/core.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,583 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/py.typed -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,583 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/util.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,583 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/exceptions.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,583 root INFO copying /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/lib/simpy/events.py -> /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy 2024-01-16 19:42:05,583 root WARNING warning: install_lib: byte-compiling is disabled, skipping. 2024-01-16 19:42:05,583 root INFO running install_egg_info 2024-01-16 19:42:05,593 root INFO Copying src/simpy.egg-info to /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy-4.1.1-py3.11.egg-info 2024-01-16 19:42:05,594 root INFO running install_scripts 2024-01-16 19:42:05,595 wheel INFO creating /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel/simpy-4.1.1.dist-info/WHEEL 2024-01-16 19:42:05,596 wheel INFO creating '/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/wheel/.tmp-sndn8wnb/simpy-4.1.1-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel' to it 2024-01-16 19:42:05,596 wheel INFO adding 'simpy/__init__.py' 2024-01-16 19:42:05,596 wheel INFO adding 'simpy/core.py' 2024-01-16 19:42:05,597 wheel INFO adding 'simpy/events.py' 2024-01-16 19:42:05,597 wheel INFO adding 'simpy/exceptions.py' 2024-01-16 19:42:05,597 wheel INFO adding 'simpy/py.typed' 2024-01-16 19:42:05,597 wheel INFO adding 'simpy/rt.py' 2024-01-16 19:42:05,597 wheel INFO adding 'simpy/util.py' 2024-01-16 19:42:05,598 wheel INFO adding 'simpy/resources/__init__.py' 2024-01-16 19:42:05,598 wheel INFO adding 'simpy/resources/base.py' 2024-01-16 19:42:05,598 wheel INFO adding 'simpy/resources/container.py' 2024-01-16 19:42:05,598 wheel INFO adding 'simpy/resources/resource.py' 2024-01-16 19:42:05,598 wheel INFO adding 'simpy/resources/store.py' 2024-01-16 19:42:05,598 wheel INFO adding 'simpy-4.1.1.dist-info/LICENSE.rst' 2024-01-16 19:42:05,599 wheel INFO adding 'simpy-4.1.1.dist-info/METADATA' 2024-01-16 19:42:05,599 wheel INFO adding 'simpy-4.1.1.dist-info/WHEEL' 2024-01-16 19:42:05,599 wheel INFO adding 'simpy-4.1.1.dist-info/top_level.txt' 2024-01-16 19:42:05,599 wheel INFO adding 'simpy-4.1.1.dist-info/RECORD' 2024-01-16 19:42:05,599 wheel INFO removing /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/build/bdist.linux-x86_64/wheel 2024-01-16 19:42:05,600 gpep517 INFO The backend produced /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/wheel/simpy-4.1.1-py3-none-any.whl * Installing simpy-4.1.1-py3-none-any.whl to /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/install python3.11 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/wheel/simpy-4.1.1-py3-none-any.whl 2024-01-16 19:42:05,720 gpep517 INFO Installing /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/wheel/simpy-4.1.1-py3-none-any.whl into /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/install 2024-01-16 19:42:05,756 gpep517 INFO Installation complete >>> Source compiled. >>> Test phase: dev-python/simpy-4.1.1 * python3_11: running distutils-r1_run_phase python_test python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed ============================================================= test session starts ============================================================= platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 -- /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1-python3_11/install/usr/bin/python3.11 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1 configfile: pyproject.toml collecting ... collected 0 items / 1 error =================================================================== ERRORS ==================================================================== ________________________________________________________ ERROR collecting test session ________________________________________________________ /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:641: in _importconftest mod = import_path(conftestpath, mode=importmode, root=rootpath) conftestpath = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') exc_info = (, ModuleNotFoundError("No module named 'py._code'; 'py' is not a package"), ) existing = None importmode = 'prepend' pkgpath = None rootpath = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1') self = <_pytest.config.PytestPluginManager object at 0x7f1ae060e250> /usr/lib/python3.11/site-packages/_pytest/pathlib.py:567: in import_path importlib.import_module(module_name) mode = module_name = 'conftest' p = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') path = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') pkg_path = None pkg_root = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs') root = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1') /usr/lib/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) level = 0 name = 'conftest' package = None :1204: in _gcd_import ??? level = 0 name = 'conftest' package = None :1176: in _find_and_load ??? import_ = module = name = 'conftest' :1147: in _find_and_load_unlocked ??? import_ = name = 'conftest' parent = '' parent_spec = None path = None spec = ModuleSpec(name='conftest', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f1adfb23d90>, origin='/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') :690: in _load_unlocked ??? module = spec = ModuleSpec(name='conftest', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f1adfb23d90>, origin='/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') /usr/lib/python3.11/site-packages/_pytest/assertion/rewrite.py:186: in exec_module exec(co, module.__dict__) cache_dir = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/__pycache__') cache_name = 'conftest.cpython-311-pytest-7.4.3.pyc' co = at 0x7f1adfbb72d0, file "/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py", line 1> fn = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') module = pyc = PosixPath('/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/__pycache__/conftest.cpython-311-pytest-7.4.3.pyc') self = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f1adfb23d90> source_stat = os.stat_result(st_mode=33188, st_ino=117072664, st_dev=66307, st_nlink=1, st_uid=250, st_gid=250, st_size=3952, st_atime=1705434123, st_mtime=1699846618, st_ctime=1705434123) state = <_pytest.assertion.AssertionState object at 0x7f1adfafc5d0> write = False docs/conftest.py:20: in from py._code.code import TerminalRepr E ModuleNotFoundError: No module named 'py._code'; 'py' is not a package ClassVar = typing.ClassVar __builtins__ = __cached__ = '/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/__pycache__/conftest.cpython-311.pyc' __doc__ = ('\n' 'This module scans all ``*.rst`` files below ``docs/`` for example code.\n' 'Example code is discovered by checking for lines containing the ``..\n' 'literals include:: `` directives.\n' '\n' 'An example consists of two consecutive literals include directives. The\n' 'first must include a ``*.py`` file and the second a ``*.out`` file. The\n' '``*.py`` file consists of the example code which is executed in\n' 'a separate process. The output of this process is compared to the\n' 'contents of the ``*.out`` file.\n' '\n') __file__ = '/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py' __loader__ = <_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f1adfb23d90> __name__ = 'conftest' __package__ = '' __spec__ = ModuleSpec(name='conftest', loader=<_pytest.assertion.rewrite.AssertionRewritingHook object at 0x7f1adfb23d90>, origin='/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1/docs/conftest.py') _diff_text = pathlib = pytest = subprocess = sys = =========================================================== short test summary info =========================================================== ERROR - ModuleNotFoundError: No module named 'py._code'; 'py' is not a package !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ============================================================== 1 error in 0.15s =============================================================== * ERROR: dev-python/simpy-4.1.1::gentoo failed (test phase): * pytest failed with python3.11 * * Call stack: * ebuild.sh, line 136: Called src_test * environment, line 4140: Called distutils-r1_src_test * environment, line 2121: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 850: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3743: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 3249: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 3247: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 1347: Called distutils-r1_run_phase 'python_test' * environment, line 2044: Called python_test * environment, line 4027: Called epytest * environment, line 2671: 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/simpy-4.1.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/simpy-4.1.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/simpy-4.1.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/simpy-4.1.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1' * S: '/var/tmp/portage/dev-python/simpy-4.1.1/work/simpy-4.1.1'