Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846410 - dev-python/yarl-1.7.2-r3::gentoo doesn't respect PYTHON_TARGETS
Summary: dev-python/yarl-1.7.2-r3::gentoo doesn't respect PYTHON_TARGETS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-19 07:00 UTC by Xavier Miller
Modified: 2022-05-20 15:53 UTC (History)
4 users (show)

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


Attachments
build log (build.log,2.38 KB, text/x-log)
2022-05-19 07:00 UTC, Xavier Miller
Details
emerge --info (emerge-info.txt,6.98 KB, text/plain)
2022-05-19 07:02 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller 2022-05-19 07:00:12 UTC
Created attachment 779486 [details]
build log

[ebuild     U  ] dev-python/yarl-1.7.2-r3::gentoo [1.7.2-r2::gentoo] USE="-doc -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10 -python3_11%" 0 KiB


During configure, it complains about cython related to python 3.10, not active in the PYTHON_TARGETS variable:

>>> Emerging (3 of 5) dev-python/yarl-1.7.2-r3::gentoo
 * yarl-1.7.2.gh.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking yarl-1.7.2.gh.tar.gz to /var/tmp/portage/dev-python/yarl-1.7.2-r3/work
>>> Source unpacked in /var/tmp/portage/dev-python/yarl-1.7.2-r3/work
>>> Preparing source in /var/tmp/portage/dev-python/yarl-1.7.2-r3/work/yarl-1.7.2 ...
 * Build system packages:
 *   dev-python/gpep517            : 6
 *   dev-python/installer          : 0.5.1
 *   dev-python/setuptools         : 62.3.1
 *   dev-python/setuptools_scm     : 6.4.2
 *   dev-python/wheel              : 0.37.1-r1
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/yarl-1.7.2-r3/work/yarl-1.7.2 ...
 * Checking whether python3_11 is suitable ...
 *   >=dev-lang/python-3.11.0_beta1-r1:3.11 ...                                                                                                                                                                                        [ !! ]
 * Checking whether python3_10 is suitable ...
 *   >=dev-lang/python-3.10.0_p1-r1:3.10 ...                                                                                                                                                                                           [ ok ]
 *   python_check_deps ...                                                                                                                                                                                                             [ ok ]
 * Using python3.10 in global scope
 * python3_10: running distutils-r1_run_phase python_configure_all
make -j7 -l7 cythonize 
python -m cython -3 -o yarl/_quoting_c.c yarl/_quoting_c.pyx -I yarl
/usr/bin/python3.10: No module named cython
make: *** [Makefile:18: yarl/_quoting_c.c] Error 1
 * ERROR: dev-python/yarl-1.7.2-r3::gentoo failed (configure phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/yarl-1.7.2-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/yarl-1.7.2-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/yarl-1.7.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/yarl-1.7.2-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/yarl-1.7.2-r3/work/yarl-1.7.2'
 * S: '/var/tmp/portage/dev-python/yarl-1.7.2-r3/work/yarl-1.7.2'
Comment 1 Xavier Miller 2022-05-19 07:02:22 UTC
Created attachment 779489 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-20 15:50:20 UTC
Oh, we have double any API use due to sphinx.
Comment 3 Larry the Git Cow gentoo-dev 2022-05-20 15:53:02 UTC
The bug has been closed via the following commit(s):

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

commit 4cf2bc6a0622fb751152814049fea2f9805f6f8d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-05-20 15:51:52 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-05-20 15:51:52 +0000

    dev-python/yarl: Move cythonize to python_configure()
    
    Closes: https://bugs.gentoo.org/846410
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/yarl/yarl-1.7.2-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)