Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896582 - app-misc/khal: needs upgrade to Python 3.11 (PythonCompatUpdate)
Summary: app-misc/khal: 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: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 896398
  Show dependency tree
 
Reported: 2023-02-25 09:34 UTC by Michał Górny
Modified: 2023-05-06 09:40 UTC (History)
0 users

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


Attachments
ebuild, cloned from 0.10.5 (khal-0.11.1.ebuild,1.07 KB, text/plain)
2023-05-03 04:27 UTC, m1027
Details

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: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(-)