Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919861 - dev-python/pythonfinder missing test dependency on dev-python/click
Summary: dev-python/pythonfinder missing test dependency on dev-python/click
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OzTiram
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: 919790
  Show dependency tree
 
Reported: 2023-12-14 03:14 UTC by Jakov Smolić
Modified: 2023-12-14 13:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2023-12-14 03:14:44 UTC
[32m * [39;49;00mPackage:    dev-python/pythonfinder-2.0.6:0
[32m * [39;49;00mRepository: gentoo
[32m * [39;49;00mMaintainer: oz.tiram@gmail.com proxy-maint@gentoo.org
[32m * [39;49;00mUSE:        elibc_glibc kernel_linux python_targets_python3_11 riscv test
[32m * [39;49;00mFEATURES:   preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pythonfinder-2.0.6.tar.gz to /var/tmp/portage/dev-python/pythonfinder-2.0.6/work
>>> Source unpacked in /var/tmp/portage/dev-python/pythonfinder-2.0.6/work
>>> Preparing source in /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6 ...
 [32m*[0m Applying pythonfinder-2.0.6-pydantic-2.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
 [32m*[0m Build system packages:
 [32m*[0m   dev-python/gpep517            : 15
 [32m*[0m   dev-python/installer          : 0.7.0
 [32m*[0m   dev-python/setuptools         : 68.2.2
 [32m*[0m   dev-python/setuptools-rust    : 1.8.1
 [32m*[0m   dev-python/setuptools-scm     : 8.0.4
 [32m*[0m   dev-python/wheel              : 0.41.3
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6 ...
 [32m*[0m python3_11: running distutils-r1_run_phase distutils-r1_python_compile
 [32m*[0m   Building the wheel for pythonfinder-2.0.6 via setuptools.build_meta
gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6-python3_11/wheel
2023-12-14 01:49:14,828 gpep517 INFO Building wheel via backend setuptools.build_meta
WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section
2023-12-14 01:49:16,950 root INFO running bdist_wheel
2023-12-14 01:49:17,212 root INFO running build
2023-12-14 01:49:17,213 root INFO running build_py
2023-12-14 01:49:17,269 root INFO creating /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6-python3_11/build
2023-12-14 01:49:17,271 root INFO creating /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6-python3_11/build/lib
2023-12-14 01:49:17,272 root INFO creating /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6-python3_11/build/lib/pythonfinder
2023-12-14 01:49:17,274 root INFO copying src/pythonfinder/cli.py -> /var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6-python3_11/build/lib/pythonfinder

(...)

>>> Source compiled.
>>> Test phase: dev-python/pythonfinder-2.0.6
 [32m*[0m python3_11: running distutils-r1_run_phase python_test
python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -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 -o addopts=
ImportError while loading conftest '/var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6/tests/conftest.py'.
tests/conftest.py:14: in <module>
    from .testutils import (
tests/testutils.py:14: in <module>
    import click
E   ModuleNotFoundError: No module named 'click'
 [31;01m*[0m ERROR: dev-python/pythonfinder-2.0.6::gentoo failed (test phase):
 [31;01m*[0m   pytest failed with python3.11
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  136:  Called src_test
 [31;01m*[0m   environment, line 3986:  Called distutils-r1_src_test
 [31;01m*[0m   environment, line 1982:  Called _distutils-r1_run_foreach_impl 'python_test'
 [31;01m*[0m   environment, line  710:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 [31;01m*[0m   environment, line 3591:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 [31;01m*[0m   environment, line 3097:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 [31;01m*[0m   environment, line 3095:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 [31;01m*[0m   environment, line 1205:  Called distutils-r1_run_phase 'python_test'
 [31;01m*[0m   environment, line 1905:  Called python_test
 [31;01m*[0m   environment, line 3873:  Called epytest '-o' 'addopts='
 [31;01m*[0m   environment, line 2519:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "${@}" || die -n "pytest failed with ${EPYTHON}";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pythonfinder-2.0.6::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pythonfinder-2.0.6::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pythonfinder-2.0.6/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pythonfinder-2.0.6/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6'
 [31;01m*[0m S: '/var/tmp/portage/dev-python/pythonfinder-2.0.6/work/pythonfinder-2.0.6'
Comment 1 Larry the Git Cow gentoo-dev 2023-12-14 13:58:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52729da8ae6df5dfc30720287416348d3741b5e

commit d52729da8ae6df5dfc30720287416348d3741b5e
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-12-14 03:19:46 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-14 13:58:06 +0000

    dev-python/pythonfinder: Add missing dev-python/click test dep
    
    Closes: https://bugs.gentoo.org/919861
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/34278
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pythonfinder/pythonfinder-2.0.6.ebuild | 5 +++++
 1 file changed, 5 insertions(+)