Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 718838

Summary: dev-python/pygtk requires dev-python/pycairo[python_targets_python_2_7], missing on pycairo 1.91.1
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED UPSTREAM    
Severity: normal CC: mgorny, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=711858
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 694800, 695996, 711684    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-22 10:16:30 UTC
As the only gimp in tree currently requires python 2.7, and also requires pygtk ( bug #711684 ), and as pygtk requires pycairo, as long as gimp is expected to work, and requires python 2.7, pycairo versions need to support python 2.7

pycairo doesn't support python 2.7

So every upgrade is now giving me this:

dev-python/pycairo:0

  (dev-python/pycairo-1.19.1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 python3_8 -pypy3 -python3_6" conflicts with
    >=dev-python/pycairo-1.0.2[python_targets_python2_7(-)] required by (media-gfx/gimp-2.10.18-r1:2/2::gentoo, installed) USE="aalib alsa jpeg2k mng openexr postscript python udev wmf xpm (-aqua) -debug -doc -gnome -heif -test -unwind -vector-icons -webp" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" PYTHON_SINGLE_TARGET="python2_7"
                                                           
    >=dev-python/pycairo-1.0.2[python_targets_python2_7(-),-python_single_target_python2_7(-)] required by (dev-python/pygtk-2.24.0-r5:2/2::gentoo, installed) USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-22 10:21:35 UTC
(In reply to Kent Fredric (IRC: kent\n) from comment #0)

> pycairo doesn't support python 2.7



*pycairo 1.91.1 doesn't support py2.7
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-04-22 10:33:23 UTC
Do you expect us to terrorize upstream into restoring Python 2 support in pycairo, or to block adding new versions because one package you use just happens to require Python 2?
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-22 10:54:54 UTC
(In reply to Michał Górny from comment #2)
> Do you expect us to terrorize upstream into restoring Python 2 support in
> pycairo, or to block adding new versions because one package you use just
> happens to require Python 2?

No. But this bug should probably stay open to prevent premature cleanup and stabilization of pycairo, as until gimp is fixed to work with py3.7, this is still going to be a real problem.