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

Bug 878651

Summary: dev-python/toml: removal
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, treecleaner
Priority: Normal Keywords: PMASKED, PullRequest, Tracker
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34002
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 878653, 878655, 878657, 878659, 878661, 878663, 878665, 878667, 878669, 878671, 878673, 878675, 878677, 878679, 878681    
Bug Blocks:    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-29 13:07:30 UTC
dev-python/toml has had its last release in 2020.  It doesn't implement TOML 1.0 and it is buggy.  With Python 3.11, we have a built-in tomllib module to handle reading TOML, and in general tomli/tomli-w pair to handle load/dump everywhere.

Useful resources:

https://projects.gentoo.org/python/guide/porting.html#replacing-the-toml-package
https://fedoraproject.org/wiki/Changes/DeprecatePythonToml
Comment 1 Larry the Git Cow gentoo-dev 2023-05-16 12:04:31 UTC
The bug has been referenced in the following commit(s):

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

commit e5a108f05dc4c4be567b9432289b08d501b134f9
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-05-16 12:03:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-05-16 12:04:27 +0000

    package.mask: Last rite dev-python/toml
    
    Bug: https://bugs.gentoo.org/878651
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2023-06-22 13:26:45 UTC
The bug has been closed via the following commit(s):

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

commit 42afdcf1e7380b24fc4e2e94775cb757e03b10bb
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-06-22 13:11:58 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-06-22 13:11:58 +0000

    dev-python/toml: treeclean
    
    Closes: https://bugs.gentoo.org/878651
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/toml/Manifest              |  2 --
 dev-python/toml/metadata.xml          | 13 ----------
 dev-python/toml/toml-0.10.2-r1.ebuild | 48 -----------------------------------
 profiles/package.mask                 |  7 -----
 4 files changed, 70 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-11-26 16:27:07 UTC
The bug has been referenced in the following commit(s):

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

commit 90ded3227ce4885032f65dba888034f4c3d221af
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2023-11-26 15:54:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-26 16:26:32 +0000

    dev-python/toml: remove omitted deprecation item
    
    The dev-python/toml package was treecleaned in commit 42afdcf1e738
    ("dev-python/toml: treeclean").
    
    Bug: https://bugs.gentoo.org/878651
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.deprecated | 8 --------
 1 file changed, 8 deletions(-)