Bug 274410 - deskutils/py-khal update to 0.11.3
Summary: deskutils/py-khal update to 0.11.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL: https://github.com/pimutils/khal/blob...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-11 10:09 UTC by Jens Grassel
Modified: 2024-06-07 08:47 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments
Patch to update deskutils/py-khal to version 0.11.2 (1.16 KB, patch)
2023-10-11 10:09 UTC, Jens Grassel
no flags Details | Diff
Patch to update deskutils/py-khal to 0.11.3 (1.13 KB, patch)
2024-06-06 12:28 UTC, Jens Grassel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Grassel 2023-10-11 10:09:33 UTC
Created attachment 245564 [details]
Patch to update deskutils/py-khal to version 0.11.2

Hi,

I created a patch to update the khal port to the latest version 0.11.2.

Changelog
=========

0.11.2
------

* FIX khal at also uses event_format not agenda_event_format
* FIX duplicating an event using p in ikhal
* NEW Add ability to change the minimum number of months displayed with min_calendar_display
* FIX ikhal don't crash when jumping long distances in time
* FIX do not use urwid's private methods, would crash with latest urwid version
* FIX light colorscheme in ikhal, would crash with recent urwid versions
* FIX better error messages when we cannot import an event

0.11.1
------

* FIX README.rst formatting to allow upload to PyPI

0.11.0
------

* DROPPED support for python versions < 3.8
* UPDATED REQUIREMENT pytz is now required >= 2018.7
* NEW test REQUIREMENT: packaging
* FIX support in tests for pytz version numbers of the format year.month.minor
* FIX deleting of instances of recurring events in ikhal
* FIX if a discover collection is set to "readonly", discovered collections will now inherit the readonly property
* FIX ikhal will not wrap date headers into the next line in narrow terminals
* FIX configure should only suggest valid default collection names
* NEW the configure command can now set up vdirsyncer
* NEW better error message for misuses of at and list
* NEW discover collection type now supports ** (arbitrary depths)
* NEW Add testing for Python 3.11



Kind regards,

Jens
Comment 1 kaltheat 2024-01-03 10:48:35 UTC
Hi,

please update the port as it is unusable currently (and for quite a while).


$ khal --version
khal, version 0.10.5
$ freebsd-version -uk
13.2-RELEASE-p8
13.2-RELEASE-p8

$ ikhal
Traceback (most recent call last):
  File "/usr/local/bin/ikhal", line 33, in <module>
    sys.exit(load_entry_point('khal==0.10.5', 'console_scripts', 'ikhal')())
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/khal/cli.py", line 498, in interactive_cli
    controllers.interactive(
  File "/usr/local/lib/python3.9/site-packages/khal/controllers.py", line 572, in interactive
    from . import ui
  File "/usr/local/lib/python3.9/site-packages/khal/ui/__init__.py", line 28, in <module>
    import urwid
  File "/usr/local/lib/python3.9/site-packages/urwid/__init__.py", line 114, in <module>
    from urwid.version import __version__, __version_tuple__
ImportError: cannot import name '__version__' from 'urwid.version' (/usr/local/lib/python3.9/site-packages/urwid/version.py)


Kind regards
kaltheat
Comment 2 Jens Grassel 2024-01-03 11:24:57 UTC
(In reply to kaltheat from comment #1)

Hi,

that error is unrelated to the update but to another issue described here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274411

Kind regards,

Jens
Comment 3 Jens Grassel 2024-06-06 12:28:45 UTC
Created attachment 251251 [details]
Patch to update deskutils/py-khal to 0.11.3

Changelog
=========

0.11.3
------

* FIX support urwid 2.4.2

0.11.2
------

* FIX khal at also uses event_format not agenda_event_format
* FIX duplicating an event using p in ikhal
* NEW Add ability to change the minimum number of months displayed with min_calendar_display
* FIX ikhal don't crash when jumping long distances in time
* FIX do not use urwid's private methods, would crash with latest urwid version
* FIX light colorscheme in ikhal, would crash with recent urwid versions
* FIX better error messages when we cannot import an event

0.11.1
------

* FIX README.rst formatting to allow upload to PyPI

0.11.0
------

* DROPPED support for python versions < 3.8
* UPDATED REQUIREMENT pytz is now required >= 2018.7
* NEW test REQUIREMENT: packaging
* FIX support in tests for pytz version numbers of the format year.month.minor
* FIX deleting of instances of recurring events in ikhal
* FIX if a discover collection is set to "readonly", discovered collections will now inherit the readonly property
* FIX ikhal will not wrap date headers into the next line in narrow terminals
* FIX configure should only suggest valid default collection names
* NEW the configure command can now set up vdirsyncer
* NEW better error message for misuses of at and list
* NEW discover collection type now supports ** (arbitrary depths)
* NEW Add testing for Python 3.11
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-06-07 08:46:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=81877684abaeac3d8cddd89d6167a95eea8e82a6

commit 81877684abaeac3d8cddd89d6167a95eea8e82a6
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-06-07 08:44:33 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-06-07 08:45:44 +0000

    deskutils/py-khal: Update to 0.11.3

    PR:             274410
    Reported by:    freebsd-ports@jan0sch.de

 deskutils/py-khal/Makefile | 3 +--
 deskutils/py-khal/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)