* Package: dev-python/tldextract-5.1.2:0  * Repository: gentoo  * Maintainer: patrick@gentoo.org python@gentoo.org  * Upstream: https://github.com/john-kurkowski/tldextract/issues  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 test  * FEATURES: distcc fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox * Build system packages: * dev-python/gpep517 : 15 * dev-python/installer : 0.7.0 * dev-python/setuptools : 69.2.0-r1 * dev-python/setuptools-rust : 1.9.0 * dev-python/setuptools-scm : 8.0.4 * dev-python/wheel : 0.43.0 * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for tldextract-5.1.2 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/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel 2024-04-11 07:29:00,752 gpep517 INFO Building wheel via backend setuptools.build_meta 2024-04-11 07:29:13,576 root INFO running bdist_wheel 2024-04-11 07:29:13,852 root INFO running build 2024-04-11 07:29:13,852 root INFO running build_py 2024-04-11 07:29:13,905 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build 2024-04-11 07:29:13,905 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib 2024-04-11 07:29:13,905 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,906 root INFO copying tldextract/remote.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,906 root INFO copying tldextract/__init__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,906 root INFO copying tldextract/tldextract.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,907 root INFO copying tldextract/cli.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,907 root INFO copying tldextract/suffix_list.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,907 root INFO copying tldextract/__main__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,908 root INFO copying tldextract/cache.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,908 root INFO copying tldextract/_version.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:13,908 root INFO running egg_info 2024-04-11 07:29:14,013 root INFO writing tldextract.egg-info/PKG-INFO 2024-04-11 07:29:14,016 root INFO writing dependency_links to tldextract.egg-info/dependency_links.txt 2024-04-11 07:29:14,016 root INFO writing entry points to tldextract.egg-info/entry_points.txt 2024-04-11 07:29:14,017 root INFO writing requirements to tldextract.egg-info/requires.txt 2024-04-11 07:29:14,018 root INFO writing top-level names to tldextract.egg-info/top_level.txt [04/11/24 07:29:14] ERROR listing git files failed - pretending there aren't any git.py:24 2024-04-11 07:29:15,140 root INFO reading manifest file 'tldextract.egg-info/SOURCES.txt' 2024-04-11 07:29:15,141 root INFO adding license file 'LICENSE' 2024-04-11 07:29:15,145 root INFO writing manifest file 'tldextract.egg-info/SOURCES.txt' 2024-04-11 07:29:15,146 root INFO copying tldextract/.tld_set_snapshot -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:15,147 root INFO copying tldextract/py.typed -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract 2024-04-11 07:29:15,148 root WARNING warning: build_py: byte-compiling is disabled, skipping. 2024-04-11 07:29:15,259 wheel INFO installing to /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel 2024-04-11 07:29:15,259 root INFO running install 2024-04-11 07:29:15,272 root INFO running install_lib 2024-04-11 07:29:15,324 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64 2024-04-11 07:29:15,325 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel 2024-04-11 07:29:15,325 root INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,326 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/remote.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,326 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/__init__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,327 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/tldextract.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,327 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/py.typed -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,328 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/cli.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,328 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/suffix_list.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,329 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/.tld_set_snapshot -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,330 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/__main__.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,330 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/cache.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,331 root INFO copying /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/lib/tldextract/_version.py -> /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract 2024-04-11 07:29:15,331 root WARNING warning: install_lib: byte-compiling is disabled, skipping. 2024-04-11 07:29:15,332 root INFO running install_egg_info 2024-04-11 07:29:15,389 root INFO Copying tldextract.egg-info to /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract-5.1.2-py3.11.egg-info 2024-04-11 07:29:15,392 root INFO running install_scripts 2024-04-11 07:29:15,397 wheel INFO creating /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel/tldextract-5.1.2.dist-info/WHEEL 2024-04-11 07:29:15,398 wheel INFO creating '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/.tmp-240_w5ya/tldextract-5.1.2-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel' to it 2024-04-11 07:29:15,399 wheel INFO adding 'tldextract/.tld_set_snapshot' 2024-04-11 07:29:15,401 wheel INFO adding 'tldextract/__init__.py' 2024-04-11 07:29:15,401 wheel INFO adding 'tldextract/__main__.py' 2024-04-11 07:29:15,401 wheel INFO adding 'tldextract/_version.py' 2024-04-11 07:29:15,402 wheel INFO adding 'tldextract/cache.py' 2024-04-11 07:29:15,402 wheel INFO adding 'tldextract/cli.py' 2024-04-11 07:29:15,403 wheel INFO adding 'tldextract/py.typed' 2024-04-11 07:29:15,403 wheel INFO adding 'tldextract/remote.py' 2024-04-11 07:29:15,404 wheel INFO adding 'tldextract/suffix_list.py' 2024-04-11 07:29:15,404 wheel INFO adding 'tldextract/tldextract.py' 2024-04-11 07:29:15,405 wheel INFO adding 'tldextract-5.1.2.dist-info/LICENSE' 2024-04-11 07:29:15,405 wheel INFO adding 'tldextract-5.1.2.dist-info/METADATA' 2024-04-11 07:29:15,406 wheel INFO adding 'tldextract-5.1.2.dist-info/WHEEL' 2024-04-11 07:29:15,406 wheel INFO adding 'tldextract-5.1.2.dist-info/entry_points.txt' 2024-04-11 07:29:15,407 wheel INFO adding 'tldextract-5.1.2.dist-info/top_level.txt' 2024-04-11 07:29:15,407 wheel INFO adding 'tldextract-5.1.2.dist-info/RECORD' 2024-04-11 07:29:15,407 wheel INFO removing /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/build/bdist.linux-x86_64/wheel 2024-04-11 07:29:15,409 gpep517 INFO The backend produced /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/tldextract-5.1.2-py3-none-any.whl * Installing tldextract-5.1.2-py3-none-any.whl to /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install python3.11 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/tldextract-5.1.2-py3-none-any.whl 2024-04-11 07:29:15,662 gpep517 INFO Installing /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/wheel/tldextract-5.1.2-py3-none-any.whl into /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install 2024-04-11 07:29:15,703 gpep517 INFO Installation complete * python3_11: running distutils-r1_run_phase python_test python3.11 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories --ignore tests/test_release.py ============================================================================= test session starts ============================================================================== platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0 -- /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2-python3_11/install/usr/bin/python3.11 cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2/.hypothesis/examples')) rootdir: /var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2 configfile: pyproject.toml plugins: hypothesis-6.98.18, time-machine-2.14.1, timeout-2.3.1, codeblocks-0.17.0, typeguard-4.1.5, rerunfailures-14.0, forked-1.6.0, subtests-0.12.1, xdist-3.5.0, sphinx_pytest-0.2.0, console-scripts-1.4.1, anyio-4.3.0, pyfakefs-5.3.5, expect-1.1.0, xprocess-0.23.0, requests-mock-1.11.0, mock-3.14.0, tornado-0.8.1, Faker-24.2.0, betamax-0.9.0, pkgcore-0.12.27, regressions-2.5.0, asyncio-0.23.6, trio-0.8.0, freezegun-0.4.2, aiohttp-1.0.5, pytest_param_files-0.6.0, pytest_httpserver-1.0.10, datadir-1.5.0, home-0.5.1, httpbin-2.0.0, services-2.2.1, flaky-3.8.1, django-4.8.0, jaraco.test-5.4.0 asyncio: mode=Mode.STRICT collecting ... collected 59 items tests/cli_test.py::test_cli_no_input PASSED [ 1/59] tests/cli_test.py::test_cli_parses_args PASSED [ 2/59] tests/cli_test.py::test_cli_posargs PASSED [ 3/59] tests/cli_test.py::test_cli_namedargs PASSED [ 4/59] tests/cli_test.py::test_cli_json_output PASSED [ 5/59] tests/custom_suffix_test.py::test_private_extraction PASSED [ 6/59] tests/custom_suffix_test.py::test_suffix_which_is_not_in_custom_list PASSED [ 7/59] tests/custom_suffix_test.py::test_custom_suffixes PASSED [ 8/59] tests/custom_suffix_test.py::test_suffix_which_is_not_in_extra_list PASSED [ 9/59] tests/custom_suffix_test.py::test_extra_suffixes PASSED [10/59] tests/integration_test.py::test_bad_kwargs_no_way_to_fetch PASSED [11/59] tests/main_test.py::test_american PASSED [12/59] tests/main_test.py::test_british PASSED [13/59] tests/main_test.py::test_no_subdomain PASSED [14/59] tests/main_test.py::test_nested_subdomain PASSED [15/59] tests/main_test.py::test_odd_but_possible PASSED [16/59] tests/main_test.py::test_suffix PASSED [17/59] tests/main_test.py::test_local_host PASSED [18/59] tests/main_test.py::test_lenient_netloc PASSED [19/59] tests/main_test.py::test_looks_like_ip PASSED [20/59] tests/main_test.py::test_looks_like_ipv6 PASSED [21/59] tests/main_test.py::test_similar_to_ip PASSED [22/59] tests/main_test.py::test_punycode PASSED [23/59] tests/main_test.py::test_invalid_puny_with_puny PASSED [24/59] tests/main_test.py::test_invalid_puny_with_nonpuny PASSED [25/59] tests/main_test.py::test_puny_with_non_puny PASSED [26/59] tests/main_test.py::test_idna_2008 PASSED [27/59] tests/main_test.py::test_empty PASSED [28/59] tests/main_test.py::test_scheme PASSED [29/59] tests/main_test.py::test_port PASSED [30/59] tests/main_test.py::test_username PASSED [31/59] tests/main_test.py::test_query_fragment PASSED [32/59] tests/main_test.py::test_order PASSED [33/59] tests/main_test.py::test_no_1st_level_tld PASSED [34/59] tests/main_test.py::test_dns_root_label PASSED [35/59] tests/main_test.py::test_ipv4 PASSED [36/59] tests/main_test.py::test_ipv4_lookalike PASSED [37/59] tests/main_test.py::test_cache_permission PASSED [38/59] tests/main_test.py::test_cache_timeouts PASSED [39/59] tests/main_test.py::test_find_first_response_without_session PASSED [40/59] tests/main_test.py::test_find_first_response_with_session PASSED [41/59] tests/main_test.py::test_include_psl_private_domain_attr PASSED [42/59] tests/main_test.py::test_tlds_property PASSED [43/59] tests/main_test.py::test_global_extract PASSED [44/59] tests/main_test.py::test_private_domains_depth PASSED [45/59] tests/test_cache.py::test_disk_cache PASSED [46/59] tests/test_cache.py::test_get_pkg_unique_identifier PASSED [47/59] tests/test_cache.py::test_get_cache_dir PASSED [48/59] tests/test_cache.py::test_run_and_cache PASSED [49/59] tests/test_parallel.py::test_multiprocessing_makes_one_request PASSED [50/59] tests/test_parallel.py::test_cache_cleared_by_other_process PASSED [51/59] tests/test_parallel.py::test_cache_cleared_by_other_process ERROR [51/59] tests/test_trie.py::test_nested_dict PASSED [52/59] tldextract/tldextract.py::tldextract.tldextract PASSED [53/59] tldextract/tldextract.py::tldextract.tldextract.ExtractResult.fqdn PASSED [54/59] tldextract/tldextract.py::tldextract.tldextract.ExtractResult.ipv4 PASSED [55/59] tldextract/tldextract.py::tldextract.tldextract.ExtractResult.ipv6 PASSED [56/59] tldextract/tldextract.py::tldextract.tldextract.ExtractResult.registered_domain PASSED [57/59] tldextract/tldextract.py::tldextract.tldextract.TLDExtract.extract_str PASSED [58/59] tldextract/tldextract.py::tldextract.tldextract.TLDExtract.extract_urllib PASSED [59/59] ==================================================================================== ERRORS ==================================================================================== ___________________________________________________________ ERROR at teardown of test_cache_cleared_by_other_process ___________________________________________________________ > lambda: ihook(item=item, **kwds), when=when, reraise=reraise ) ihook = item = kwds = {'nextitem': } /usr/lib/python3.11/site-packages/flaky/flaky_pytest_plugin.py:146: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.11/shutil.py:752: in rmtree _rmtree_safe_fd(fd, path, onerror) dir_fd = None fd = 13 fd_closed = False ignore_errors = True onerror = .onerror at 0x7f33553c31a0> orig_st = os.stat_result(st_mode=16832, st_ino=16154626, st_dev=2070, st_nlink=4, st_uid=250, st_gid=250, st_size=4096, st_atime=1712834975, st_mtime=1712834975, st_ctime=1712834975) path = PosixPath('/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0') /usr/lib/python3.11/shutil.py:672: in _rmtree_safe_fd _rmtree_safe_fd(dirfd, fullname, onerror) dirfd = 14 dirfd_closed = False entries = [, ] entry = fullname = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds' is_dir = True onerror = .onerror at 0x7f33553c31a0> orig_st = os.stat_result(st_mode=16877, st_ino=16154644, st_dev=2070, st_nlink=2, st_uid=250, st_gid=250, st_size=4096, st_atime=1712834975, st_mtime=1712834975, st_ctime=1712834975) path = PosixPath('/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0') scandir_it = topfd = 13 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ topfd = 14, path = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds' onerror = .onerror at 0x7f33553c31a0> def _rmtree_safe_fd(topfd, path, onerror): try: with os.scandir(topfd) as scandir_it: entries = list(scandir_it) except OSError as err: err.filename = path onerror(os.scandir, path, sys.exc_info()) return for entry in entries: fullname = os.path.join(path, entry.name) try: is_dir = entry.is_dir(follow_symlinks=False) except OSError: is_dir = False else: if is_dir: try: orig_st = entry.stat(follow_symlinks=False) is_dir = stat.S_ISDIR(orig_st.st_mode) except OSError: onerror(os.lstat, fullname, sys.exc_info()) continue if is_dir: try: dirfd = os.open(entry.name, os.O_RDONLY, dir_fd=topfd) dirfd_closed = False except OSError: onerror(os.open, fullname, sys.exc_info()) else: try: if os.path.samestat(orig_st, os.fstat(dirfd)): _rmtree_safe_fd(dirfd, fullname, onerror) try: os.close(dirfd) except OSError: # close() should not be retried after an error. dirfd_closed = True onerror(os.close, fullname, sys.exc_info()) dirfd_closed = True try: os.rmdir(entry.name, dir_fd=topfd) except OSError: onerror(os.rmdir, fullname, sys.exc_info()) else: try: # This can only happen if someone replaces # a directory with a symlink after the call to # os.scandir or stat.S_ISDIR above. raise OSError("Cannot call rmtree on a symbolic " "link") except OSError: onerror(os.path.islink, fullname, sys.exc_info()) finally: if not dirfd_closed: try: os.close(dirfd) except OSError: onerror(os.close, fullname, sys.exc_info()) else: try: > os.unlink(entry.name, dir_fd=topfd) E TypeError: test_cache_cleared_by_other_process..evil_unlink() got an unexpected keyword argument 'dir_fd' entries = [, ] entry = fullname = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds/de84b5ca2167d4c83e38fb162f2e8738.tldextract.json' is_dir = False onerror = .onerror at 0x7f33553c31a0> path = '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/pytest-of-portage/pytest-0/test_cache_cleared_by_other_pr0/publicsuffix.org-tlds' scandir_it = topfd = 14 /usr/lib/python3.11/shutil.py:701: TypeError =============================================================================== warnings summary =============================================================================== tests/main_test.py::test_american /usr/lib/python3.11/site-packages/requests/structures.py:58: ResourceWarning: unclosed file <_io.FileIO name='/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2/tests/fixtures/fake_suffix_list_fixture.dat' mode='rb' closefd=True> return (casedkey for casedkey, mappedvalue in self._store.values()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================================================================== short test summary info ============================================================================ ERROR tests/test_parallel.py::test_cache_cleared_by_other_process - TypeError: test_cache_cleared_by_other_process..evil_unlink() got an unexpected keyword argument 'dir_fd' ==================================================================== 59 passed, 1 warning, 1 error in 4.50s ==================================================================== pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo().terminate()'. * ERROR: dev-python/tldextract-5.1.2::gentoo failed (test phase): * pytest failed with python3.11 * * Call stack: * ebuild.sh, line 136: Called src_test * environment, line 4124: Called distutils-r1_src_test * environment, line 2031: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 791: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3683: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 3160: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 3158: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 1288: Called distutils-r1_run_phase 'python_test' * environment, line 1954: Called python_test * environment, line 3966: Called distutils-r1_python_test * environment, line 1892: Called epytest * environment, line 2582: 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/tldextract-5.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/tldextract-5.1.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:tldextract-5.1.2:20240411-112855.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/tldextract-5.1.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2' * S: '/var/tmp/portage/dev-python/tldextract-5.1.2/work/tldextract-5.1.2'