Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929834 - sys-devel/gcc: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: sys-devel/gcc: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:53 UTC by Michał Górny
Modified: 2024-05-09 23:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:53:10 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 Larry the Git Cow gentoo-dev 2024-04-30 03:34:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a447cd6dee206facb66720bdacf0c765a8b09f33

commit a447cd6dee206facb66720bdacf0c765a8b09f33
Author:     Gabi Falk <gabifalk@gmx.com>
AuthorDate: 2024-04-15 23:38:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-30 03:34:04 +0000

    validate_failures.py: fix python 3.12 escape sequence warnings
    
    The warnings:
    contrib/testsuite-management/validate_failures.py:65: SyntaxWarning: invalid escape sequence '\s'
      _VALID_TEST_RESULTS_REX = re.compile('(%s):\s*(\S+)\s*(.*)'
    contrib/testsuite-management/validate_failures.py:77: SyntaxWarning: invalid escape sequence '\.'
      _EXP_LINE_REX = re.compile('^Running (?:.*:)?(.*) \.\.\.\n')
    
    contrib/ChangeLog:
            * testsuite-management/validate_failures.py: Change re.compile()
            function arguments to Python raw strings.
    
    Link: https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes
    Link: https://github.com/python/cpython/issues/98401
    
    [sam: Pull in https://inbox.sourceware.org/gcc-patches/20240415233833.104460-1-gabifalk@gmx.com/.}
    [sam: Add bug reference to https://bugs.gentoo.org/929834]
    
    Bug: https://bugs.gentoo.org/929834
    Signed-off-by: Gabi Falk <gabifalk@gmx.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 scripts/testsuite-management/validate_failures.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2024-05-01 00:27:28 UTC
The bug has been closed via the following commit(s):

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

commit 5e9a0a17e43d3f5d7d7c1e3a8a7e58f8d26861cf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-30 03:35:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-01 00:26:21 +0000

    toolchain.eclass: update validate_failures.py for Python 3.12
    
    The only change is that we've imported Gabi Falk's patch to fix a
    SyntaxWarning in its regexes.
    
    See https://inbox.sourceware.org/gcc-patches/20240415233833.104460-1-gabifalk@gmx.com/.
    
    While here, fix a typo in a comment.
    
    Closes: https://bugs.gentoo.org/929834
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/gnat-gpl/Manifest | 2 +-
 eclass/toolchain.eclass    | 6 +++---
 sys-devel/gcc/Manifest     | 2 +-
 sys-devel/kgcc64/Manifest  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2024-05-04 00:23:47 UTC
The bug has been referenced in the following commit(s):

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

commit 84f6494032daead0d5ca20d53f8cddd984d3b3e5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-04 00:22:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-04 00:22:38 +0000

    sys-devel/gcc: enable py3.12
    
    I should've done this in 5e9a0a17e43d3f5d7d7c1e3a8a7e58f8d26861cf.
    
    Bug: https://bugs.gentoo.org/929834
    Fixes: 5e9a0a17e43d3f5d7d7c1e3a8a7e58f8d26861cf
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/gcc-10.5.0.ebuild             | 2 +-
 sys-devel/gcc/gcc-11.4.1_p20240111.ebuild   | 2 +-
 sys-devel/gcc/gcc-11.4.1_p20240404.ebuild   | 2 +-
 sys-devel/gcc/gcc-11.4.1_p20240501.ebuild   | 2 +-
 sys-devel/gcc/gcc-11.5.9999.ebuild          | 2 +-
 sys-devel/gcc/gcc-12.3.1_p20240209.ebuild   | 2 +-
 sys-devel/gcc/gcc-12.3.1_p20240502.ebuild   | 2 +-
 sys-devel/gcc/gcc-12.4.9999.ebuild          | 2 +-
 sys-devel/gcc/gcc-13.2.1_p20240210.ebuild   | 2 +-
 sys-devel/gcc/gcc-13.2.1_p20240426.ebuild   | 2 +-
 sys-devel/gcc/gcc-13.2.1_p20240503.ebuild   | 2 +-
 sys-devel/gcc/gcc-13.3.9999.ebuild          | 2 +-
 sys-devel/gcc/gcc-14.0.1_pre20240430.ebuild | 2 +-
 sys-devel/gcc/gcc-14.0.1_pre20240503.ebuild | 2 +-
 sys-devel/gcc/gcc-14.0.9999.ebuild          | 2 +-
 sys-devel/gcc/gcc-15.0.0_pre20240428.ebuild | 2 +-
 sys-devel/gcc/gcc-15.0.9999.ebuild          | 2 +-
 sys-devel/gcc/gcc-8.5.0-r1.ebuild           | 2 +-
 sys-devel/gcc/gcc-9.5.0.ebuild              | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)