Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929344 - app-office/calcurse: needs upgrade to Python 3.12 (PythonCompatUpdate)
Summary: app-office/calcurse: needs upgrade to Python 3.12 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Kai-Chun Ning
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2024-04-13 08:30 UTC by Michał Górny
Modified: 2024-06-06 19:56 UTC (History)
4 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:30:34 UTC
This package does not support Python 3.12.  Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Tobias Jakobi 2024-06-05 19:37:59 UTC
I'm actively using calcurse here, and I was a bit surprised that the package actually requires Python.

Turns out that calcurse itself doesn't need Python, just two of the support scripts `calcurse-caldav` and `calcurse-vdir` that are shipped by the package need it.

I'm pretty fluent in Python, and I don't see anything in there that could break by switching to 3.12 -- the scripts use pretty standard functionality from the Python stdlib, and nothing which is on the deprecation/removal list.

Of course I can't vouch for the scripts still doing what they're supposed to do. First of all, I never used both in the first place. But the 3.12 interpreter does not show any obvious choking when feeding it the files. So if these don't work, then I'm pretty sure that they also didn't with the 3.11 interpreter.

So yeah, kinda confirming that it's safe to just bump the interpreter requirements in the ebuild.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-06 19:56:05 UTC
The bug has been closed via the following commit(s):

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

commit 8e8bf3dd9a3a075d39874934a5fe756649f3d26b
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2024-06-06 19:55:13 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2024-06-06 19:55:13 +0000

    app-office/calcurse: python 3.12 support
    
    Also remove unused eclass inherit.
    
    Closes: https://bugs.gentoo.org/929344
    Signed-off-by: Hanno Böck <hanno@gentoo.org>

 app-office/calcurse/calcurse-4.8.1-r1.ebuild | 56 ++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)