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

Bug 533406

Summary: app-admin/python-updater does not respect PYTHON_TARGETS
Product: Gentoo Linux Reporter: Joakim Tjernlund <joakim.tjernlund>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: normal CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim Tjernlund 2014-12-23 17:20:07 UTC
Please add same PYTHON_TARGETS as portage.

Building portage with python3.4 only breaks python-updater
Comment 1 Mike Gilbert gentoo-dev 2014-12-23 17:31:00 UTC
python-updater is a bash script that calls /usr/bin/python in a couple places. It uses whatever version of python you have eselected. 

If you don't have portage installed for that version, it wont work.

We could adjust python-updater to call a specific version of python I suppose. However, I don't plan to work in it personally.
Comment 2 Joakim Tjernlund 2014-12-23 22:38:41 UTC
How do I make portage and friends use python3.4 while keeping
default python to 2.7?
Comment 3 Joakim Tjernlund 2014-12-23 23:36:00 UTC
(In reply to Mike Gilbert from comment #1)
> python-updater is a bash script that calls /usr/bin/python in a couple
> places. It uses whatever version of python you have eselected. 
> 
> If you don't have portage installed for that version, it wont work.
> 
> We could adjust python-updater to call a specific version of python I
> suppose. However, I don't plan to work in it personally.

Perhaps you could test python_single_target and use that
python version? Better that today anyway
Comment 4 Pacho Ramos gentoo-dev 2018-02-14 15:59:49 UTC
removed from the tree