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

Bug 929362

Summary: app-text/gnome-doc-utils: needs upgrade to Python 3.12 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: alex.buell, nbowler, pacho, stephan.litterst, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=928479
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921826    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:31:19 UTC
This package does not support Python 3.12.  Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Pacho Ramos gentoo-dev 2024-06-16 10:28:29 UTC
With python 3.12, the following warning is introduced:
 * python3_12: running run_in_build_dir python_optimize
 * Optimize Python modules for /usr/lib/python3.12/site-packages
/usr/lib/python3.12/site-packages/xml2po/__init__.py:173: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/xml2po/__init__.py:173: SyntaxWarning: invalid escape sequence '\s'
/usr/lib/python3.12/site-packages/xml2po/__init__.py:173: SyntaxWarning: invalid escape sequence '\s'

Looking to the reverse deps, I wonder if we could simply treeclean it soon
Comment 2 Stephan Litterst 2024-07-03 04:10:24 UTC
As this is currently blocking a world update (on my side):
Will this be fixed soon or should we focus on a workaround?
Comment 3 Pacho Ramos gentoo-dev 2024-07-05 19:00:54 UTC
What package needing it are you using?
Comment 4 Stephan Litterst 2024-07-07 06:16:44 UTC
Are you asking about the dependencies of other packages?
There are none:
equery d app-text/gnome-doc-utils
 * These packages depend on app-text/gnome-doc-utils:


On the other hand an emerge -uDN world results in this:
!!! Problem resolving dependencies for app-text/gnome-doc-utils from @selected
... done!
Dependency resolution took 2.03 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "app-text/gnome-doc-utils" has unmet requirements.
- app-text/gnome-doc-utils-0.20.10-r3::gentoo USE="" ABI_X86="(64)" PYTHON_TARGETS="-python3_10 -python3_11"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python3_10 python_targets_python3_11 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-07 06:33:21 UTC
I guess the question is why you need it, or why not just emerge --deselect app-text/gnome-doc-utils as it seems dead and might be removed? (It's in your world file right now.)
Comment 6 Stephan Litterst 2024-07-07 06:57:38 UTC
Good point - I have never used --deselect...
Thanks for pointing to that!
Works for me (an now I have the same problem with another package - but that's a different issue...)
Comment 7 Larry the Git Cow gentoo-dev 2024-07-09 18:56:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7952d290d965620a401233e6e1220a4692830f

commit 5f7952d290d965620a401233e6e1220a4692830f
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-07-09 18:49:27 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-09 18:52:46 +0000

    app-dicts/gwaei: drop 3.6.2
    
    Bug: https://bugs.gentoo.org/929362
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 app-dicts/gwaei/gwaei-3.6.2.ebuild | 69 --------------------------------------
 1 file changed, 69 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3f9b7a73316c1430d6d82b9fb8f5381468f60ab

commit e3f9b7a73316c1430d6d82b9fb8f5381468f60ab
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2024-07-09 18:48:14 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2024-07-09 18:52:45 +0000

    games-board/pasang-emas: drop 3.1.0-r1
    
    Bug: https://bugs.gentoo.org/929362
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 games-board/pasang-emas/Manifest                   |  1 -
 .../pasang-emas/pasang-emas-3.1.0-r1.ebuild        | 77 ----------------------
 2 files changed, 78 deletions(-)
Comment 8 Pacho Ramos gentoo-dev 2024-07-29 10:24:31 UTC
Only reverse dep is dev-libs/libindicate, that can also be treecleaner (finally)
Comment 9 Alex Buell 2024-08-16 09:12:34 UTC
Confirmed, this needs sorting. Maybe add it to the Python 3.12 tracker? 
For now I've unmerged it so the rest of the python packages can get upgraded to 3.12 on my main machine. 

Thanks