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

Bug 896582

Summary: app-misc/khal: needs upgrade to Python 3.11 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Amy Liffey <amynka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 896398    
Attachments: ebuild, cloned from 0.10.5

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-25 09:34:59 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 Nils Freydank 2023-02-25 12:11:56 UTC
A local bump just shifting supported py version to 3.10 + 3.11 works on my machine, at least as good as with python 3.10. Some tests fail (but already did so) and there are occasional tracebacks caused like 'datetime.date' object has no attribute 'tzinfo' on startup - but that is all no new behaviour.
Comment 2 m1027 2023-05-03 04:27:43 UTC
Created attachment 861058 [details]
ebuild, cloned from 0.10.5
Comment 3 m1027 2023-05-03 04:29:52 UTC
To make khal test against python-3.11: It's enough to clone khal-0.10.5.ebuild as khal-0.11.1.ebuild and change pythen dependency to 3.11.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-03 05:18:24 UTC
(In reply to Nils Freydank from comment #1)
> A local bump just shifting supported py version to 3.10 + 3.11 works on my
> machine, at least as good as with python 3.10. Some tests fail (but already
> did so) and there are occasional tracebacks caused like 'datetime.date'
> object has no attribute 'tzinfo' on startup - but that is all no new
> behaviour.

Could you do a PR for it then?
Comment 5 Larry the Git Cow gentoo-dev 2023-05-03 05:22:49 UTC
The bug has been closed via the following commit(s):

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

commit 55b81a908d6e069ec4a0792e84ff37dc0099a972
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-03 05:22:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-03 05:22:31 +0000

    app-misc/khal: add 0.11.1
    
    Fix test deps while at it.
    
    Closes: https://bugs.gentoo.org/896582
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/khal/Manifest           |  1 +
 app-misc/khal/khal-0.11.1.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2023-05-06 09:40:42 UTC
The bug has been referenced in the following commit(s):

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

commit fd797b3cab3759df30e9f23a68eedc5bbc7975df
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-06 09:39:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-06 09:40:10 +0000

    app-misc/khal: enable py3.11
    
    I thought I'd done this in the bump, but I hadn't!
    
    Bug: https://bugs.gentoo.org/896582
    Fixes: 55b81a908d6e069ec4a0792e84ff37dc0099a972
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/khal/khal-0.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)