Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1184

PostPosted: Tue Jun 18, 2024 3:41 am    Post subject: Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12 Reply with quote

I'm trying to install www-apache/mod_wsgi, but although I have python 3.12 and 3.11 (fallback) installed, the ebuild does not have PYTHON_SINGLE_TARGET flag. Where does this flag need to be set, in the package.use/ folder or in make.conf file?

If choosing to set the flag in the same command as emerge, is that not wise to do for any reason?

Like this
PYTHON_SINGLE_TARGET="python3_11" emerge --ask www-apache/mod_wsgi
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20140

PostPosted: Tue Jun 18, 2024 5:08 am    Post subject: Re: Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12 Reply with quote

LIsLinuxIsSogood wrote:
I'm trying to install www-apache/mod_wsgi, but although I have python 3.12 and 3.11 (fallback) installed, the ebuild does not have PYTHON_SINGLE_TARGET flag. Where does this flag need to be set, in the package.use/ folder or in make.conf file?
Re-read the news announcement again, carefully. It specifically says make.conf is not recommended and may cause problems and that package.use is the correct / preferred location.

LIsLinuxIsSogood wrote:
If choosing to set the flag in the same command as emerge, is that not wise to do for any reason?
Unless you understand what that command does, don't do it. When done like that on the command line, it is a temporary setting that will cause problems when there is an update because it will want to rebuild the package without that setting. The only practical use for that is to test what the result would be along with the --pretend option.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3687

PostPosted: Tue Jun 18, 2024 5:16 am    Post subject: Reply with quote

I wouldn't expect issues with proper setting in /etc/portage/package.use...

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Veteran
Veteran


Joined: 13 Feb 2016
Posts: 1184

PostPosted: Tue Jun 18, 2024 5:16 am    Post subject: Reply with quote

Thank pjp
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21970

PostPosted: Tue Jun 18, 2024 11:51 am    Post subject: Re: Ebuilds with PYTHON_SINGLE_TARGET that is not 3.12 Reply with quote

LIsLinuxIsSogood wrote:
I'm trying to install www-apache/mod_wsgi, but although I have python 3.12 and 3.11 (fallback) installed, the ebuild does not have PYTHON_SINGLE_TARGET flag.
It looks to me like mod_wsgi-5.0.0 has support for Python3.12. Are you trying to use an older version? You did not show us the command or its output, so we cannot tell.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20140

PostPosted: Tue Jun 18, 2024 3:01 pm    Post subject: Reply with quote

Except for ppc, version 5 is ~. Current stable only shows "9..11".
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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