Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946193 - [Future EAPI] Update Bash version to 5.2
Summary: [Future EAPI] Update Bash version to 5.2
Status: IN_PROGRESS
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Package Manager Specification
URL:
Whiteboard: in-eapi-9
Keywords:
Depends on:
Blocks: future-eapi
  Show dependency tree
 
Reported: 2024-12-10 09:52 UTC by Ulrich Müller
Modified: 2025-03-21 19:52 UTC (History)
2 users (show)

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 Ulrich Müller gentoo-dev 2024-12-10 09:52:04 UTC
Bash 5.2 is stable everywhere, so we could update the Bash version in EAPI 9.

See also the discussion on Bash 5.1 in bug 636652 comment #9 and following.
Comment 1 Ulrich Müller gentoo-dev 2025-01-10 17:50:19 UTC
"local -I" (introduced in bash-5.1) may have some use if we decide not to export variables to the environment. For example, an ebuild could do "local -Ix ROOT" when ROOT is needed by some command. (See bug 721088 and bug 830854.)
Comment 2 Larry the Git Cow gentoo-dev 2025-03-21 19:52:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=3bc08179b3ff8eb944b4784a56b5f02451770e8f

commit 3bc08179b3ff8eb944b4784a56b5f02451770e8f
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2025-03-21 17:20:33 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2025-03-21 17:31:35 +0000

    EAPI=9: update bash_compat to 5.2
    
    Bug: https://bugs.gentoo.org/946193
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 src/pkgcore/ebuild/eapi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)