Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Python 3.6 Mess
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Spargeltarzan
Apprentice
Apprentice


Joined: 23 Jul 2017
Posts: 237

PostPosted: Thu Jun 07, 2018 12:59 pm    Post subject: Python 3.6 Mess Reply with quote

Dear community,

my notebook fails upgrading to Python 3.6. According to the news I recompiled with
Code:

    PYTHON_TARGETS="python2_7 python3_5 python3_6"
    PYTHON_SINGLE_TARGET="python3_5"

to avoid dependency issues with success.

After changing to
Code:

    PYTHON_TARGETS="python2_7 python3_6"
    PYTHON_SINGLE_TARGET="python3_6"


emerge shows these conflicts:
Code:
 emerge -1vUD @world
dev-python/cffi:0

  (dev-python/cffi-1.11.4:0/1.11.4::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/cffi-1.7:0/1.11.4=[python_targets_python2_7(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),python_targets_python3_5(-),-python_single_target_python3_5(-),python_targets_python3_6(-),-python_single_target_python3_6(-)] required by (dev-python/cryptography-2.1.4-r1:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                   
    >=dev-python/cffi-1.7:=[python_targets_python2_7(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),python_targets_python3_5(-),-python_single_target_python3_5(-),python_targets_python3_6(-),-python_single_target_python3_6(-)] required by (dev-python/cryptography-2.1.4-r1:0/0::gentoo, installed)
                                                                                                                                                                                                                                                           

dev-python/chardet:0

  (dev-python/chardet-3.0.4:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/chardet-3.0.2[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.4:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                           

dev-python/ply:0

  (dev-python/ply-3.9:0/3.9::gentoo, ebuild scheduled for merge) conflicts with
    dev-python/ply[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/pycparser-2.14:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                               

dev-python/idna:0

  (dev-python/idna-2.5:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/idna-2.0.0[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/urllib3-1.22:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                         
    >=dev-python/idna-2.5[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.4:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                       
    <dev-python/idna-2.7[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.4:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                     
    >=dev-python/idna-2.1[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/cryptography-2.1.4-r1:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                       

dev-python/dbus-python:0

  (dev-python/dbus-python-1.2.4:0/0::gentoo, ebuild scheduled for merge) conflicts with
    dev-python/dbus-python[python_targets_python3_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),python_single_target_python3_5(+)] required by (media-sound/gnome-music-3.24.2:0/0::gentoo, installed)
                                                                                                                                                                                                                                                               

dev-python/urllib3:0

  (dev-python/urllib3-1.22:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/urllib3-1.21.1[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.4:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                             

dev-python/six:0

  (dev-python/six-1.11.0:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/six-1.4.1[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/cryptography-2.1.4-r1:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                       
    >=dev-python/six-1.5.2[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/pyopenssl-17.5.0:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                       

dev-python/PySocks:0

  (dev-python/PySocks-1.6.7:0/0::gentoo, ebuild scheduled for merge) conflicts with
    <dev-python/PySocks-2.0[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/urllib3-1.22:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                         
    >=dev-python/PySocks-1.5.6[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/urllib3-1.22:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                           

dev-python/pyopenssl:0

  (dev-python/pyopenssl-17.5.0:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/pyopenssl-0.14[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/urllib3-1.22:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                             
    >=dev-python/pyopenssl-0.14[-python_single_target_pypy(-),python_targets_python2_7(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),python_targets_python3_5(-),-python_single_target_python3_5(-),python_targets_python3_6(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.4:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                             

dev-python/pycparser:0

  (dev-python/pycparser-2.14:0/0::gentoo, ebuild scheduled for merge) conflicts with
    dev-python/pycparser[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/cffi-1.11.4:0/1.11.4::gentoo, installed)
                                                                                                                                                                                                                                                         

dev-python/requests:0

  (dev-python/requests-2.18.4:0/0::gentoo, ebuild scheduled for merge) conflicts with
    dev-python/requests[python_targets_python3_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),python_single_target_python3_5(+)] required by (media-sound/gnome-music-3.24.2:0/0::gentoo, installed)
                                                                                                                                                                                                                                                           

dev-python/cryptography:0

  (dev-python/cryptography-2.1.4-r1:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/cryptography-1.3.4[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/requests-2.18.4:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                                 
    >=dev-python/cryptography-1.3.4[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/urllib3-1.22:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                                 
    >=dev-python/cryptography-2.1.4[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/pyopenssl-17.5.0:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                                 

dev-python/asn1crypto:0

  (dev-python/asn1crypto-0.22.0:0/0::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/asn1crypto-0.21.0[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/cryptography-2.1.4-r1:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                                                                               

dev-python/pygobject:3

  (dev-python/pygobject-3.24.1:3/3::gentoo, ebuild scheduled for merge) conflicts with
    >=dev-python/pygobject-3.21.1:3[cairo,python_targets_python3_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),python_single_target_python3_5(+)] required by (media-sound/gnome-music-3.24.2:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                             
    >=dev-python/pygobject-3.12:3[cairo,python_targets_python3_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),python_single_target_python3_5(+)] required by (app-misc/gramps-4.2.8:0/0::gentoo, installed)
                                                                                                                                                                                                                                                                           

dev-python/pycairo:0

  (dev-python/pycairo-1.16.3-r1:0/0::gentoo, ebuild scheduled for merge) conflicts with
    dev-python/pycairo[python_targets_python3_5(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_6(-),python_single_target_python3_5(+)] required by (app-misc/gramps-4.2.8:0/0::gentoo, installed)
                                                                                                                                                                                                                                                           
    >=dev-python/pycairo-1.10.0[python_targets_python2_7(-),python_targets_python3_5(-),python_targets_python3_6(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] required by (dev-python/pygobject-3.24.1:3/3::gentoo, installed)


For some packages I saw a required python target and was setting it in package.use. These remaining conflicts I can't read, please advice :)
I am on offical gnome stable 3.24.

On my Desktop PC with dantrell gnome openrc I didn't have any issues, gnome 3.28.

ADD: With step-by-step --unmerge and emerge -1 the dependencies Portage leaded me too:

Code:

media-sound/gnome-music python_single_target_python3_5 python_targets_python3_5

>=dev-python/requests-2.18.4 python_targets_python3_5
# required by dev-python/requests-2.18.4::gentoo
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/chardet-3.0.4 python_targets_python3_5
# required by dev-python/requests-2.18.4::gentoo
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/urllib3-1.22 python_targets_python3_5
# required by dev-python/pyopenssl-17.5.0::gentoo
# required by dev-python/requests-2.18.4::gentoo[ssl]
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/cryptography-2.1.4-r1 python_targets_python3_5
# required by dev-python/urllib3-1.22::gentoo
# required by dev-python/requests-2.18.4::gentoo
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/pyopenssl-17.5.0 python_targets_python3_5
# required by dev-python/cffi-1.11.4::gentoo
# required by dev-python/cryptography-2.1.4-r1::gentoo[python_targets_python3_5,pyth$
# required by dev-python/pyopenssl-17.5.0::gentoo
# required by dev-python/requests-2.18.4::gentoo[ssl]
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/pycparser-2.14 python_targets_python3_5
# required by dev-python/pyopenssl-17.5.0::gentoo
# required by dev-python/requests-2.18.4::gentoo[ssl]
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/six-1.11.0 python_targets_python3_5
# required by dev-python/urllib3-1.22::gentoo
# required by dev-python/requests-2.18.4::gentoo
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/PySocks-1.6.7 python_targets_python3_5
# required by dev-python/cryptography-2.1.4-r1::gentoo[python_targets_python3_5,pyth$
# required by dev-python/pyopenssl-17.5.0::gentoo
# required by dev-python/requests-2.18.4::gentoo[ssl]
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/cffi-1.11.4 python_targets_python3_5
# required by dev-python/pycparser-2.14::gentoo
# required by dev-python/cffi-1.11.4::gentoo
# required by dev-python/cryptography-2.1.4-r1::gentoo[python_targets_python3_5,pyth$
# required by dev-python/pyopenssl-17.5.0::gentoo
# required by dev-python/requests-2.18.4::gentoo[ssl]
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-music (argument)
>=dev-python/ply-3.9 python_targets_python3_5
# required by dev-python/cryptography-2.1.4-r1::gentoo
# required by dev-python/pyopenssl-17.5.0::gentoo
# required by dev-python/ndg-httpsclient-0.4.0::gentoo
# required by dev-python/ssl-fetch-0.4::gentoo[python_targets_python2_7]
# required by app-portage/mirrorselect-2.2.3::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/asn1crypto-0.22.0 python_targets_python3_5
# required by dev-python/requests-2.18.4::gentoo
# required by gnome-extra/chrome-gnome-shell-10::gentoo
# required by gnome-base/gnome-shell-3.24.3::gentoo[browser-extension]
# required by app-eselect/eselect-gnome-shell-extensions-20180306::gentoo
# required by gnome-extra/gnome-shell-extensions-3.24.3::gentoo
# required by gnome-base/gnome-3.24.2::gentoo[classic]
# required by @selected
# required by @world (argument)
>=dev-python/idna-2.5 python_targets_python3_5
# required by media-sound/gnome-music-3.24.2::gentoo
# required by gnome-base/gnome-extra-apps-3.24.2::gentoo[tracker]
# required by gnome-base/gnome-3.24.2::gentoo[extras]
# required by @selected
# required by @world (argument)
>=dev-python/dbus-python-1.2.4 python_targets_python3_5

Now Portage compiles the remaining 72 packages due to the upgrade to Python 3.6. Can this be really the truth that so many packages still need Python 3.5?

[/code]
_________________
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6347
Location: Austria

PostPosted: Thu Jun 07, 2018 5:02 pm    Post subject: Reply with quote

On current stable, yes.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3419
Location: Germany

PostPosted: Fri Jun 08, 2018 2:30 pm    Post subject: Reply with quote

Code:
eix media-sound/gnome-music
* media-sound/gnome-music
     Available versions:  3.24.2 {PYTHON_SINGLE_TARGET="python3_4 python3_5" PYTHON_TARGETS="python3_4 python3_5"}
     Homepage:            https://wiki.gnome.org/Apps/Music
     Description:         Music management for Gnome
Hm yes, gnome-music has no python3_6 support :-/
Back to top
View user's profile Send private message
ali3nx
Guru
Guru


Joined: 21 Sep 2003
Posts: 554
Location: Winnipeg, Canada

PostPosted: Sat Jun 16, 2018 8:16 pm    Post subject: Reply with quote

I've been attempting to prepare for the python single target change coming on June 22nd as well and there's currently still several packages with no python 3.6 single target support. One of them giving me grief is asciidoc.

Code:
fenrir ~ # equery d app-text/asciidoc
 * These packages depend on app-text/asciidoc:
dev-util/catalyst-2.0.18-r4 (app-text/asciidoc)
dev-util/ninja-1.8.2 (doc ? app-text/asciidoc)
dev-vcs/git-2.16.4 (doc ? app-text/asciidoc)
x11-base/xorg-server-1.19.5-r2 (doc ? app-text/asciidoc)
x11-libs/libICE-1.0.9-r2 (doc ? app-text/asciidoc)
x11-libs/libSM-1.2.2-r2 (doc ? app-text/asciidoc)
x11-libs/libX11-1.6.5-r1 (doc ? app-text/asciidoc)
x11-libs/libXaw-1.0.13-r1 (doc ? app-text/asciidoc)
x11-libs/libXcomposite-0.4.4-r2 (doc ? app-text/asciidoc)
x11-libs/libXdmcp-1.1.2-r2 (doc ? app-text/asciidoc)
x11-libs/libXext-1.3.3-r1 (doc ? app-text/asciidoc)
x11-libs/libXfont2-2.0.3-r1 (doc ? app-text/asciidoc)
x11-libs/libXi-1.7.9-r1 (doc ? app-text/asciidoc)
x11-libs/libXmu-1.1.2-r1 (doc ? app-text/asciidoc)
x11-libs/libXtst-1.2.3-r1 (doc ? app-text/asciidoc)
x11-libs/libxcb-1.13 (doc ? app-text/asciidoc)
x11-libs/xcb-util-0.4.0-r1 (doc ? app-text/asciidoc)
x11-libs/xcb-util-cursor-0.1.3-r2 (doc ? app-text/asciidoc)
x11-libs/xcb-util-image-0.4.0-r1 (doc ? app-text/asciidoc)
x11-libs/xcb-util-keysyms-0.4.0-r1 (doc ? app-text/asciidoc)
x11-libs/xcb-util-renderutil-0.3.9-r2 (doc ? app-text/asciidoc)
x11-libs/xcb-util-wm-0.4.1-r2 (doc ? app-text/asciidoc)
x11-libs/xtrans-1.3.5 (doc ? app-text/asciidoc)


asciidoc has no single target support for python 3.6

Code:
illusion ~ # eix asciidoc
* app-text/asciidoc
     Available versions:  8.6.9-r2 ~8.6.9-r6 8.6.10 {examples graphviz highlight test PYTHON_SINGLE_TARGET="pypy python2_7" PYTHON_TARGETS="pypy python2_7"}
     Homepage:            http://asciidoc.org/
     Description:         AsciiDoc is a plain text human readable/writable document format


Often i would have few concerns waiting however being stuck with a broken deptree on a 20 core xeon server due to a major portage system migration change i've been trying to be more proactive about mitigating and resolving.

So far the change is progressing well on several 1000+ package gentoo installs however asciidoc has been one package I've removed that has so far resolved the most significant python target blocker issues. If anyone has USE=doc enabled or catalyst installed and forgotten about it you can expect to be frustrated in a week :wink:
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6347
Location: Austria

PostPosted: Sat Jun 16, 2018 8:20 pm    Post subject: Reply with quote

ali3nx wrote:
If anyone has USE=doc enabled or catalyst installed and forgotten about it you can expect to be frustrated in a week :wink:

No, not at all. You've been doing it wrong...

Hint:
Code:
$ grep python_single_target_python2_7 /usr/portage/profiles/base/package.use

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
ali3nx
Guru
Guru


Joined: 21 Sep 2003
Posts: 554
Location: Winnipeg, Canada

PostPosted: Sat Jun 16, 2018 8:29 pm    Post subject: Reply with quote

asturm wrote:
ali3nx wrote:
If anyone has USE=doc enabled or catalyst installed and forgotten about it you can expect to be frustrated in a week :wink:

No, not at all. You've been doing it wrong...


The current stable version of catalyst has a hard dependency on asciidoc which when installed entirely restricted being able to complete the python single target change. After removing catalyst, depcleaning all the dependencies i didn't want to keep and ensuring asciidoc was removed the python target blocker problem was entirely resolved.

Please share what I was doing wrong? I've been doing this gentoo thing for over fifteen years. sometimes figuring it out is still a challenge but I more often than not manage. There is however always something new to challenge yourself with :)

Relevant system build info should anyone be curious.

This is after 15 packages have already completed rebuilding the python single target change. asciidoc was the only hard blocker. someone may want to investigate the current stable catalyst ebuild in greater detail and add a USE=doc uselfag optional condition or purge the existing version or version bump and remove catalyst-2.0.18-r1

Largely anything that pulls in asciidoc is going to cause the python upgrade to fail due to a hard blocker. see the list above for details.

Code:
emerge -epv world

-snip-

Total: 1101 packages (1101 reinstalls), Size of downloads: 0 KiB
Fetch Restriction: 2 packages

fenrir ~ # emerge -uDNpv world

These are the packages that would be merged, in order:

Calculating dependencies                         ... done!
[ebuild   R    ] dev-python/six-1.11.0::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-util/meson-0.46.1::gentoo  PYTHON_TARGETS="python3_6 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pbr-3.1.1::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pyasn1-0.2.3::gentoo  USE="-doc" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/idna-2.5::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/cython-0.25.2::gentoo  USE="-doc -emacs {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/greenlet-0.4.12::gentoo  USE="-doc" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/extras-1.0.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/mimeparse-1.6.0::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/chardet-3.0.4::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/asn1crypto-0.22.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/ply-3.9:0/3.9::gentoo  USE="-examples" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/PySocks-1.6.7::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/ovs-2.7.2::gentoo  PYTHON_TARGETS="python2_7 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/namespace-zope-1::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pygments-2.2.0::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/incremental-16.10.1::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/priority-1.3.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/constantly-15.1.0::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/defusedxml-0.5.0::gentoo  USE="-examples" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/virtualenv-15.1.0::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/ipaddr-2.1.11-r1::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/zope-interface-4.4.3::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/linecache2-1.0.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pyrsistent-0.13.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pycparser-2.14::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pyasn1-modules-0.0.8::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] virtual/python-greenlet-1.0::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/msgpack-0.5.1::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/docutils-0.13.1::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/traceback2-1.4.0::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/attrs-16.3.0-r1::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/gevent-1.2.1::gentoo  USE="-doc -examples" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/unittest2-1.1.0::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-util/gdbus-codegen-2.52.3::gentoo  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/testtools-2.3.0::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/fixtures-3.0.0::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-apps/kmod-24::gentoo  USE="lzma python tools zlib -debug -doc -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/cffi-1.11.4:0/1.11.4::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/cryptography-2.1.4-r1::gentoo  USE="-libressl {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pyopenssl-17.5.0::gentoo  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/ndg-httpsclient-0.4.0::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/urllib3-1.22::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/service_identity-16.0.0::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/requests-2.18.4::gentoo  USE="ssl -socks5" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/twisted-16.6.0-r3::gentoo  USE="conch crypt http2 soap -serial {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/ssl-fetch-0.4::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/subunit-1.2.0-r1::gentoo  USE="-static-libs {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-libs/libxml2-2.9.8:2::gentoo  USE="icu ipv6 lzma python readline -debug -examples -static-libs {-test}" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-libs/libcap-ng-0.7.8::gentoo  USE="python -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] net-misc/openvswitch-2.8.1::gentoo  USE="monitor ssl -debug -modules" PYTHON_TARGETS="python2_7 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] x11-base/xcb-proto-1.13::gentoo  ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/lxml-4.1.1::gentoo  USE="threads -doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-libs/libbytesize-1.2-r1::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-libs/gobject-introspection-1.52.1::gentoo  USE="cairo -doctool {-test}" PYTHON_SINGLE_TARGET="python3_6* -python2_7 -python3_4 -python3_5*" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/dbus-python-1.2.4::gentoo  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pycairo-1.16.3-r1::gentoo  USE="-doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) (-pypy3) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pygobject-3.24.1:3::gentoo  USE="cairo threads -examples {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-libs/libpwquality-1.4.0::gentoo  USE="pam python -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-java/java-config-2.2.0-r4:2::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pycups-1.9.73-r1::gentoo  USE="-doc -examples" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-libs/boost-1.65.0:0/1.65.0::gentoo  USE="icu mpi nls python threads -context -debug -doc -static-libs -tools" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/pycurl-7.43.0::gentoo  USE="ssl -examples {-test}" CURL_SSL="openssl -gnutls -libressl -nss" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] kde-frameworks/ki18n-5.46.0:5/5.46::gentoo  USE="-debug -doc {-test}" PYTHON_SINGLE_TARGET="python3_6* -python2_7 -python3_4 -python3_5*" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] media-libs/lensfun-0.3.2-r1::gentoo  USE="-doc {-test}" CPU_FLAGS_X86="sse sse2" PYTHON_SINGLE_TARGET="python3_6* -python3_4 -python3_5*" PYTHON_TARGETS="python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-apps/util-linux-2.30.2-r1::gentoo  USE="caps cramfs ncurses nls pam python readline suid systemd udev unicode -build -fdformat -kill (-selinux) -slang -static-libs {-test} -tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_6* -python2_7 -python3_4 -python3_5*" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-fs/zfs-0.7.8::gentoo  USE="rootfs -custom-cflags -debug (-kernel-builtin) -static-libs -test-suite" PYTHON_TARGETS="python2_7 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-fs/cryptsetup-1.7.5::gentoo  USE="nls openssl pwquality python udev urandom -gcrypt -kernel -libressl -nettle -reencrypt (-static) (-static-libs)" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] app-portage/gemato-13.0-r1::gentoo  USE="blake2 bzip2 gpg lzma -sha3 {-test} -tools" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] app-crypt/gpgme-1.10.0:1/11::gentoo  USE="cxx python qt5 -common-lisp -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-apps/portage-2.3.40-r1::gentoo  USE="(ipc) native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-libs/volume_key-0.3.9::gentoo  USE="{-test}" PYTHON_SINGLE_TARGET="python3_6* -python3_4 -python3_5*" PYTHON_TARGETS="python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] sys-libs/libblockdev-2.14-r1::gentoo  USE="cryptsetup -bcache -dmraid -doc -kbd -lvm {-test}" PYTHON_SINGLE_TARGET="python3_6* -python3_4 -python3_5*" PYTHON_TARGETS="python3_6 -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] app-portage/layman-2.4.2-r1::gentoo  USE="git -bazaar -cvs -darcs (-g-sorcery) -gpg -mercurial -sqlite -squashfs -subversion -sync-plugin-portage {-test}" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] app-portage/gentoolkit-0.4.2-r1::gentoo  PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5*" 0 KiB
[ebuild   R    ] dev-python/libvirt-python-4.3.0-r1::gentoo  USE="-examples {-test}" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5*" 0 KiB

Total: 76 packages (76 reinstalls), Size of downloads: 0 KiB

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

fenrir ~ # emerge --info
Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r7, 4.16.14-gentoo x86_64)
=================================================================
System uname: Linux-4.16.14-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_v2_@_3.00GHz-with-gentoo-2.4.1
KiB Mem:   131991108 total, 116859136 free
KiB Swap:    2097148 total,   2094576 free
Timestamp of repository gentoo: Sat, 16 Jun 2018 17:30:01 +0000
Head commit of repository gentoo: c84b2d43d0112821855a8881409acf1bbe64cc03
Head commit of repository usenet-overlay: a926e2fd9186b25bd6c8cbf25c82ba836d9e65b5

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:

usenet-overlay
    location: /usr/local/portage/usenet-overlay
    sync-type: git
    sync-uri: https://github.com/xartin/gentoo-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --complete-graph y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j30"
PKGDIR="/usr/portage/packages"
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"
USE="10bit 12bit X a52 aac aacplus aacs acl acpi activities aio alsa amd64 apache2 appstream bdplus berkdb bluray branding bzip2 cairo caps cdda cddb cdr cgmanager cjk clang cli client conntrack corefonts cpudetection cracklib crypt cryptsetup cups custom-cflags cxx dbus declarative device-mapper dnssec dri dri3 dts dv dvd dvdr efi emboss emovix encode epoll epub evdev exif expat extras fam fat fdk ffmpeg fftw flac flash fontconfig fontforge fortran fpm fuse gcj gd gdbm gif glamor go googledrive gpm gtk haptic http2 iconv icu idn imagemagick inotify iproute2 ipv6 ithreads java javafx jpeg jpeg2k json kde kipi kwallet lame lcms ldap libevent libnotify libtirpc libzfs ljr lm_sensors lz4 lzma lzo mad matroska mdnsresponder-compat minizip mng mobi modern-top modules mp3 mp4 mpeg mpi mpi-threads multilib multimedia musepack mysql nat ncurses netlink nfs nfsdcld nfsidmap nfsv4 nfsv41 nls nptl nsplugin numa objc objc++ objc-gc office ogg opengl openmp openssl opus pam pango pcre pcre32 pdf perl phonon pic pie plasma plugin-sysinfo png policykit posix postproc ppds pwquality pygments python qml qt3support qt5 quad quicktime rar raw rdp readline samba sdl seccomp semantic-desktop sndfile speex spell ssl startup-notification steamfonts streaming svg systemd tcpd theora threads thumbnail tiff trayicon truetype udev udf udisks unicode unzip upnp upnp-av upower urandom usb usbredir uxa v4l v4l2 vaapi vcd vdpau virt-network virtfs vorbis widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvfb xvid zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="ratelimit lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat http2 cgid unixd authn_core authz_core authz_dbd socache_shmcb apache2_modules_unixd actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status slotmem_shm unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="x86_64 mips mips64 mips64el mipsel ppc ppc64 arm arm64 aarch64 i386 sparc sparc64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="mga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

fenrir ~ # uname -a
Linux fenrir 4.16.14-gentoo #1 SMP Wed Jun 13 16:07:36 CDT 2018 x86_64 Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz GenuineIntel GNU/Linux

_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!


Last edited by ali3nx on Sat Jun 16, 2018 8:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6347
Location: Austria

PostPosted: Sat Jun 16, 2018 8:35 pm    Post subject: Reply with quote

ali3nx wrote:
Please share what I was doing wrong? I've been doing this gentoo thing for over fifteen years. sometimes figuring it out is still a challenge but I more often than not manage. There is however always something new to challenge yourself with :)

It's simple, base profile is taking care of you.

But the second you override PYTHON_TARGETS and PYTHON_SINGLE_TARGET in your make.conf, you are completely on your own and have to replicate those fallback settings in your package.use.

That's why it is important to read the news carefully and not take action where none is required.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
ali3nx
Guru
Guru


Joined: 21 Sep 2003
Posts: 554
Location: Winnipeg, Canada

PostPosted: Sat Jun 16, 2018 8:43 pm    Post subject: Reply with quote

asturm wrote:
ali3nx wrote:
Please share what I was doing wrong? I've been doing this gentoo thing for over fifteen years. sometimes figuring it out is still a challenge but I more often than not manage. There is however always something new to challenge yourself with :)

It's simple, base profile is taking care of you.

But the second you override PYTHON_TARGETS and PYTHON_SINGLE_TARGET in your make.conf, you are completely on your own and have to replicate those fallback settings in your package.use.

That's why it is important to read the news carefully and not take action where none is required.


If the portage eclass or profiles imply the default python targets for all ebuilds that's something I had not considered. It does however make sense.

I was involved with some of the conceptual discussions regarding portage cascading profile design many years ago so I have an understanding of how feature inheritance functions.


Discussing this will no doubt aid others in a week when the influx of frustrated and confused gentoo newbeans are faced with adjusting to any potential issues created by the python change and this change is very significant. I've not seen a major python base version change in gentoo for longer than i recall.

But python 2.7 has to be depreciated eventually and this is i well imagine necessary to accommodate python 2.7 being relegated to history.
_________________
Compiling Gentoo since version 1.4
Thousands of Gentoo Installs Completed
Emerged on every continent but Antarctica
Compile long and Prosper!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6347
Location: Austria

PostPosted: Sat Jun 16, 2018 8:53 pm    Post subject: Reply with quote

There is no looming base profile change wrt python2_7. Some packages will not be python3_6 ready yet, those will get additional fallback entries, that's all. No one who just sticks to portage defaults will have to do anything.

asturm wrote:
Hint:
Code:
$ grep python_single_target_python2_7 /usr/portage/profiles/base/package.use

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3419
Location: Germany

PostPosted: Sun Jun 17, 2018 5:10 am    Post subject: Reply with quote

asturm wrote:
Hint:
Code:
$ grep python_single_target_python2_7 /usr/portage/profiles/base/package.use

Yes, this Hint should help.

ali3nx,
example for the app-text/asciidoc package:
Code:
# grep -r app-text/asciidoc /etc/portage/package.use/
/etc/portage/package.use/python2_7:app-text/asciidoc python_single_target_python2_7
Code:
# emerge -avuDN @world app-text/asciidoc

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB


 * app-text/asciidoc

Would you like to add these packages to your world favorites? [Yes/No] n
Back to top
View user's profile Send private message
Spargeltarzan
Apprentice
Apprentice


Joined: 23 Jul 2017
Posts: 237

PostPosted: Sun Jun 17, 2018 4:36 pm    Post subject: Reply with quote

asturm,

I am not sure if I understand how to change Python version correctly; instead of changing PYTHON_TARGETS in make.conf I could have simply no entry in make.conf and let Portage do all the work automatically?
_________________
___________________
Regards

Spargeltarzan

Notebook: Lenovo YOGA 900-13ISK: Gentoo stable amd64, GNOME systemd, KVM/QEMU
Desktop-PC: Intel Core i7-4770K, 8GB Ram, AMD Radeon R9 280X, ZFS Storage, GNOME openrc, Dantrell, Xen
Back to top
View user's profile Send private message
CooSee
Guru
Guru


Joined: 20 Nov 2004
Posts: 425
Location: Berlin

PostPosted: Sun Jun 17, 2018 5:44 pm    Post subject: Reply with quote

Spargeltarzan wrote:
asturm,

I am not sure if I understand how to change Python version correctly; instead of changing PYTHON_TARGETS in make.conf I could have simply no entry in make.conf and let Portage do all the work automatically?


yes.
_________________
beQuiet! Silent Base 800 Black - MSI C236A - Xeon E3-1245v5 - 32GB RAM Kingston - MSI N760 - Samsung PM961 M.2 128GB - Samsung 840 EVO 120GB - Creative Sound Blaster RX PCIe - Logitech Z623 2.1 - G110 Keyboard - Optical Gaming Mouse G400
Back to top
View user's profile Send private message
benchaney
n00b
n00b


Joined: 28 Dec 2017
Posts: 27

PostPosted: Sun Jun 17, 2018 10:22 pm    Post subject: Reply with quote

So what would be the appropriate method of action for someone who wanted to switch python versions.
Back to top
View user's profile Send private message
tatterdemalian
n00b
n00b


Joined: 21 Jul 2011
Posts: 31

PostPosted: Mon Jun 18, 2018 1:23 am    Post subject: Reply with quote

benchaney wrote:
So what would be the appropriate method of action for someone who wanted to switch python versions.

I'd check 'eselect python help' myself.

EDIT: Not that it always helps, I've been getting all kinds of weirdness since news 35 showed up. Setting PYTHON_TARGETS in /etc/portage/make.conf sometimes makes portage work where modifying the eselect python list doesn't, and vice versa.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6347
Location: Austria

PostPosted: Mon Jun 18, 2018 5:17 am    Post subject: Reply with quote

This really depends on what the question means. eselect python and PYTHON_TARGETS do not relate to each other, except the setting of the latter influences what is usable with the former.

PYTHON_TARGETS sets the python implementations you want to make available to portage and anything that is built with it. Don't touch it if you don't need it.
eselect python sets the default python interpreter for when you work with python, portage does not care.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum