Your message dated Fri, 16 Dec 2022 16:49:58 +0000
with message-id <[email protected]>
and subject line Bug#1023341: fixed in khal 1:0.10.5-1
has caused the Debian Bug report #1023341,
regarding Fails to add any event due to too new python3-tzlocal
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1023341: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023341
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: khal
Version: 1:0.10.4~ds-4
Severity: grave

Hi,
Adding a any new events on bookworm fails like (example is copied from
the manpage):

$ khal new 18:00 Awesome Event 
/usr/lib/python3/dist-packages/khal/icalendar.py:104: PytzUsageWarning: The 
localize method is no longer necessary, as this time zone supports the fold 
attribute (PEP 495). For more details on migrating to a PEP 495-compliant 
implementation, see 
https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  dtstart = timezone.localize(dtstart)
/usr/lib/python3/dist-packages/khal/icalendar.py:105: PytzUsageWarning: The 
localize method is no longer necessary, as this time zone supports the fold 
attribute (PEP 495). For more details on migrating to a PEP 495-compliant 
implementation, see 
https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  dtend = timezone.localize(dtend)
/usr/lib/python3/dist-packages/icalendar/parser.py:54: PytzUsageWarning: The 
zone attribute is specific to pytz's interface; please migrate to a new time 
zone provider. For more details on how to do so, see 
https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  if hasattr(dt.tzinfo, 'zone'):
/usr/lib/python3/dist-packages/icalendar/parser.py:55: PytzUsageWarning: The 
zone attribute is specific to pytz's interface; please migrate to a new time 
zone provider. For more details on how to do so, see 
https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  tzid = dt.tzinfo.zone  # pytz implementation
Traceback (most recent call last):
  File "/usr/bin/khal", line 5, in <module>
    main_khal()
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/decorators.py", line 26, in 
new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3/dist-packages/khal/cli.py", line 388, in new
    new_func(
  File "/usr/lib/python3/dist-packages/khal/controllers.py", line 355, in 
new_from_string
    new_from_args(
  File "/usr/lib/python3/dist-packages/khal/controllers.py", line 381, in 
new_from_args
    collection.new(event)
  File "/usr/lib/python3/dist-packages/khal/khalendar/khalendar.py", line 208, 
in new
    event.href, event.etag = self._storages[calendar].upload(event)
  File "/usr/lib/python3/dist-packages/khal/khalendar/vdir.py", line 212, in 
upload
    if not isinstance(item.raw, str):
  File "/usr/lib/python3/dist-packages/khal/khalendar/event.py", line 382, in 
raw
    timezone = create_timezone(tzinfo, self.start)
  File "/usr/lib/python3/dist-packages/khal/khalendar/event.py", line 858, in 
create_timezone
    for one, two in iter(tz._tzinfos.items())
AttributeError: '_PytzShimTimezone' object has no attribute '_tzinfos'

This because khal can't cope with recent python3-tzlocal from bookworm (4.2-1),
downgrading python3-tzlocal (2.1-1) makes adding events work again (Got that
hint https://github.com/pimutils/khal/issues/1092)

As it fails to add any events I've picked grave severity. Please adjust
if you disagree.

Cheers,
  -- Guido


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-updates'), (500, 'stable-debug'), (500, 
'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64

Kernel: Linux 6.0.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages khal depends on:
ii  python3                3.10.6-1
ii  python3-atomicwrites   1.4.1-1
ii  python3-click          8.0.3-1
ii  python3-click-log      0.3.2-1
ii  python3-configobj      5.0.6-5
ii  python3-dateutil       2.8.2-1
ii  python3-icalendar      4.0.3-5
ii  python3-packaging      21.3-1.1
ii  python3-pkg-resources  65.5.0-1
ii  python3-tz             2022.4-1
ii  python3-tzlocal        4.2-1
ii  python3-urwid          2.1.2-2+b2
ii  python3-xdg            0.27-3

Versions of packages khal recommends:
ii  python3-setproctitle  1.3.1-1

Versions of packages khal suggests:
pn  khal-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: khal
Source-Version: 1:0.10.5-1
Done: Jonas Smedegaard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
khal, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <[email protected]> (supplier of updated khal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 16 Dec 2022 17:31:23 +0100
Source: khal
Architecture: source
Version: 1:0.10.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Jonas Smedegaard <[email protected]>
Closes: 1007255 1023341
Changes:
 khal (1:0.10.5-1) unstable; urgency=medium
 .
   [ upstream ]
   * new release
     * fix tzlocal issue;
       closes: bug#1007255, #1023341, thanks to Guillem Jover and others
 .
   [ Jonas Smedegaard ]
   * stop repackage upstream source:
     autogenerated file no longer included with upstream source
   * drop patches cherry-picked upstream since applied
   * rename upstream cherry-picked patch
     to match patch naming micro-policy
   * unfuzz patches
   * build-depend on python3-sphinx-rtd-theme
     (not python3-alabaster)
   * set Rules-Requires-Root: no
   * update copyright info: update coverage
   * update build routines to resolve version from CHANGELOG;
     add comments clarifying version resolving hack,
     thanks to Daniele Tricoli
   * update generating shell completion;
     build-depend on dh-sequence-bash-completion;
     suggest bash-completion
Checksums-Sha1:
 2322c8cd6df74ced75e6347bc011d0460635e2d5 2412 khal_0.10.5-1.dsc
 a8c640decb770e1cfb4fdaa22a93fb259c27fcc0 181066 khal_0.10.5.orig.tar.gz
 93fec95829d063ecacaaa544e63e43bab3223d90 10572 khal_0.10.5-1.debian.tar.xz
 ebefdc984270b1e42048019543bfc9f803e04a81 8948 khal_0.10.5-1_amd64.buildinfo
Checksums-Sha256:
 d9bdaf3e8dd80322cbf53292f66c7e82fcd2daa2ff23df08b5b35ea79970ba47 2412 
khal_0.10.5-1.dsc
 b57d57db6772aceacae26744daaebd449d023e04dea86b532bedfefc49635db2 181066 
khal_0.10.5.orig.tar.gz
 31b7444ab123e7888d3f3e8287eb1fe80fd33aabc0e486657345f368a222adef 10572 
khal_0.10.5-1.debian.tar.xz
 883571ba5074578d88bb0d884f24f3a47b22472f37219c3008297ec48fe6af17 8948 
khal_0.10.5-1_amd64.buildinfo
Files:
 a3b887f2ce034b15ff218ca62bdd6d74 2412 utils optional khal_0.10.5-1.dsc
 5ba69de8fc45ace7fb7b37a63e3e2923 181066 utils optional khal_0.10.5.orig.tar.gz
 f8daf85cea87550990ce829c42af1ded 10572 utils optional 
khal_0.10.5-1.debian.tar.xz
 4fbbc1dd561eb72f2d3c38dfaef970ce 8948 utils optional 
khal_0.10.5-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmOcnfoACgkQLHwxRsGg
ASGXcRAAkbpE8xYaO5gUweQHkhBJp8Me0YGkhxAXeMGeEcGd2pfH6azYcUs3PNeA
BVBv2y/1R5iahfavaIHTbmhld2nF38c6d5Nc59JJaJInXft0c+4QXiZV4jHhvnTh
Tgn0xAB2j6uaXCa5QugrQCc5A4Wq0EGwGsCdR71O3PtJypAHpAQ79+9PdanWPKjA
W9UDzdXWSoBxqNz5A12FcQMh18+twSMcbvEl19cEQr9jDTFHvwWxwQCDfOalSOFu
P5sIMLe4RmDRrxMWlVC/DuTuy6lLtjs8b8BXPSIj8ScxD1O6LGGu+YnRcJ0ZvDKL
ve9QSk6fmlmKTVWI7XiusigWZEzuIzi3mHpSNE+kpBOFqHwbh5uS9QOT6TWiHEnG
RFQ34zt/Ru5q/fu6BZoJO9+JTbGThit79DUG/jhUqfuPTc4huie8iixKngqZRrqK
wIciztcS24PtY8W6LiFTdH4DFwnIyxAwm8ISkDYF0nfPmqxAGQQ2YWpPiRKvuF6R
bVkqWHSWYJdIkF2WE7OSr+O5fi/i0FfixJ2SXF3zzb1ChdZT3iCUlXW/rXc9niDl
Daww/NeV4PLpNfcEloLbj5R/PxP8Hhfe3qk4OWPtdnmpCJr+bRGyrVvTnJsEQu7S
OK80LaWn6IUtW93aWIlzQ46vwJHlo8AWP7yb3PDiCU7l0/rJjTk=
=ei1G
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to