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: 2373

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
Maitreya
Guru
Guru


Joined: 11 Jan 2006
Posts: 443

PostPosted: Fri Nov 01, 2024 12:00 pm    Post subject: Reply with quote

That's the problem isn't it, 3.13 is marked as stable for some reason, while it really isn't worthy.
Nor is it used in packages yet, it doesn't built properly yet, so why it was unmasked is beyond me.
Maybe a small experiment from the devs?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22581

PostPosted: Fri Nov 01, 2024 1:58 pm    Post subject: Reply with quote

dev-lang/python:3.13 built fine for me in stable. I think making the interpreter stable is a prerequisite to releasing the python_targets_python3_13 flag in stable. Maitreya: are you saying the interpreter fails to build for you? Where is this problem reported, so I can read more details about how it failed?
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2373

PostPosted: Fri Nov 01, 2024 2:08 pm    Post subject: Reply with quote

Maitreya wrote:

Maybe a small experiment from the devs?


That certainly is not.

Maitreya wrote:
That's the problem isn't it, 3.13 is marked as stable for some reason, while it really isn't worthy.


How did you decide that? Is it reported somewhere?

Maitreya wrote:
Nor is it used in packages yet, it doesn't built properly yet, so why it was unmasked is beyond me.


I'm not sure what you mean it doesn't build properly, it's already emerged for me, maybe I got it from the binhost, maybe I didn't, now I'm rebuilding to check but I think there were other threads indicating it build successfully for some users.

As to why it got unmasked, because it was tested enough. Unmasking it and setting it as the default interpreter are two separate things. As we see it has still not been set as the default interpreter, nor it's guaranteed to. The python targets use flags for 3.13 are still profile masked. Maybe there are packages that do not support it yet.

While I was writing the above, it built successfully. By "it doesn't build properly" did you mean python or some of the packages that use it?

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