Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Packages show -python3_13
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
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1013

PostPosted: Fri Nov 01, 2024 7:09 am    Post subject: Packages show -python3_13 Reply with quote

Hi All:

Most packages on my system refuse to build with python3_13 support.
Here is the top of my /etc/portage/package.use file:
jserinki7 /home/jserink # cat /etc/portage/package.use
*/* PYTHON_TARGETS: python3_11 python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_11


Here is what python's are installed:
jserinki7 /home/jserink # equery list python
* Searching for python ...
[I--] [??] dev-lang/python-2.7.18_p16-r1:2.7
[IP-] [ ] dev-lang/python-3.11.10_p1:3.11
[I-O] [ ~] dev-lang/python-3.12.7_p1:3.12
[I-O] [ ] dev-lang/python-3.13.0:3.13
[I-O] [ ] dev-lang/python-3.13.0-r100:3.13t

Here is an example:
jserinki7 /home/jserink/temp # emerge -pv dev-python/sphinx

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

Calculating dependencies... done!
Dependency resolution took 10.43 s (backtrack: 0/20).

[ebuild R ] dev-python/sphinx-8.0.2::gentoo USE="latex -doc -test" PYTHON_TARGETS="python3_11 python3_12 (-pypy3) -python3_10 (-python3_13)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


Why do the use flags show -python3_13?
I have already run emerge -uDp --newuse world several times and it doesn't rebuild the dev-python packages with the python3_13 flag.

What am i doing wrong here?

Cheers,
john
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 355

PostPosted: Fri Nov 01, 2024 7:17 am    Post subject: Reply with quote

USE flags python_targets_python3_13 and python_single_target_python3_13 are stable-masked, in profiles/base/use.stable.mask.
If you want packages built for/with python3.13, you'll have to either upgrade to testing or unmask the USE flags.
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1013

PostPosted: Fri Nov 01, 2024 7:18 am    Post subject: Reply with quote

bstaletic wrote:
USE flags python_targets_python3_13 and python_single_target_python3_13 are stable-masked, in profiles/base/use.stable.mask.
If you want packages built for/with python3.13, you'll have to either upgrade to testing or unmask the USE flags.


Ok, understand.
Thank you for that.

Cheers,
John
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2370

PostPosted: Fri Nov 01, 2024 7:51 am    Post subject: Re: Packages show -python3_13 Reply with quote

jserink wrote:
Hi All:

Most packages on my system refuse to build with python3_13 support.
Here is the top of my /etc/portage/package.use file:
Code:
jserinki7 /home/jserink # cat /etc/portage/package.use
*/* PYTHON_TARGETS: python3_11 python3_12 python3_13
*/* PYTHON_SINGLE_TARGET: -* python3_11


Here is what python's are installed:
Code:
jserinki7 /home/jserink # equery list python
 * Searching for python ...
[I--] [??] dev-lang/python-2.7.18_p16-r1:2.7
[IP-] [  ] dev-lang/python-3.11.10_p1:3.11
[I-O] [ ~] dev-lang/python-3.12.7_p1:3.12
[I-O] [  ] dev-lang/python-3.13.0:3.13
[I-O] [  ] dev-lang/python-3.13.0-r100:3.13t


Here is an example:
Code:
jserinki7 /home/jserink/temp # emerge -pv dev-python/sphinx

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

Calculating dependencies... done!
Dependency resolution took 10.43 s (backtrack: 0/20).

[ebuild   R    ] dev-python/sphinx-8.0.2::gentoo  USE="latex -doc -test" PYTHON_TARGETS="python3_11 python3_12 (-pypy3) -python3_10 (-python3_13)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB



Why do the use flags show -python3_13?
I have already run emerge -uDp --newuse world several times and it doesn't rebuild the dev-python packages with the python3_13 flag.

What am i doing wrong here?

Cheers,
john


You're missing code tags, for sure.

For the rest you can try the following: https://wiki.gentoo.org/wiki//etc/portage/profile/package.use.mask

But if you don't have a good reason to use python 3.13, then wait for another couple of weeks of a month and python 3.13 will become stable.

Best Regards,
Georgi
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