View previous topic :: View next topic |
Author |
Message |
jserink Veteran
Joined: 30 Jan 2004 Posts: 1013
|
Posted: Fri Nov 01, 2024 7:09 am Post subject: Packages show -python3_13 |
|
|
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 |
|
|
bstaletic Guru
Joined: 05 Apr 2014 Posts: 355
|
Posted: Fri Nov 01, 2024 7:17 am Post subject: |
|
|
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 |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1013
|
Posted: Fri Nov 01, 2024 7:18 am Post subject: |
|
|
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2373
|
Posted: Fri Nov 01, 2024 7:51 am Post subject: Re: Packages show -python3_13 |
|
|
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 |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 444
|
Posted: Fri Nov 01, 2024 12:00 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22585
|
Posted: Fri Nov 01, 2024 1:58 pm Post subject: |
|
|
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 |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2373
|
Posted: Fri Nov 01, 2024 2:08 pm Post subject: |
|
|
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 |
|
|
Maitreya Guru
Joined: 11 Jan 2006 Posts: 444
|
Posted: Fri Nov 01, 2024 5:35 pm Post subject: |
|
|
@logrusx and @hu
Sorry, I have the stupendous ability to write in the most offensive way possible, my appologies.
Currently figuring out if my build failures are due to some already reported bug. (might be tmpfs related although mine is mounted with the proper options) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22585
|
Posted: Fri Nov 01, 2024 5:39 pm Post subject: |
|
|
The forums are often used for early triage. If you cannot solve your problem on your own in reasonable time, please start a thread here so that we can help you. Even if the problem is self-inflicted, rather than a package bug, we will work with you to solve it. If it does turn out to be a package bug (which it could be, if it depends on choices that you and I made differently), we can help you determine that too, and then advise on how best to report it to the maintainers. |
|
Back to top |
|
|
|