Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896798 - dev-python/loguru: needs upgrade to Python 3.11 (PythonCompatUpdate)
Summary: dev-python/loguru: needs upgrade to Python 3.11 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 896398 897076
  Show dependency tree
 
Reported: 2023-02-25 09:37 UTC by Michał Górny
Modified: 2023-03-07 09:17 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 2023-02-25 09:37:39 UTC
This package does not support Python 3.11.  Please test it with Python 3.11 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/abb5788ea81c7bbf4d40a2995b682eb9.  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 2023-03-07 09:17:44 UTC
The bug has been closed via the following commit(s):

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

commit b826c24e1ff0fd6926525e6345dfb907c363da7a
Author:     Petr Vaněk <arkamar@atlas.cz>
AuthorDate: 2023-03-01 15:56:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-03-07 09:17:40 +0000

    dev-python/loguru: enable py3.11
    
    It is necessary to apply two patches in order to fix test. One applies
    cleanly and it is downloaded with SRC_URI but it was needed to cut out
    only relevant parts with the second one, otherwise it fails to apply and
    it is stored in FILESDIR.
    
    Test didn't work in tmpfs, nor xfs but they pass in ext4 (mounted
    via loop device from file stored in tmpfs)
    
    Closes: https://bugs.gentoo.org/896798
    Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
    Closes: https://github.com/gentoo/gentoo/pull/29974
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/loguru/Manifest                    |  1 +
 dev-python/loguru/files/0.6.0-py311-fix.patch | 68 +++++++++++++++++++++++++++
 dev-python/loguru/loguru-0.6.0-r1.ebuild      |  8 +++-
 3 files changed, 75 insertions(+), 2 deletions(-)