Skip to content

chore(deps): Bump caldav from 3.5.0 to 3.6.0 in /tests/compat - #40

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tests/compat/caldav-3.6.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tests/compat/caldav-3.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 4, 2026

Copy link
Copy Markdown

Bumps caldav from 3.5.0 to 3.6.0.

Release notes

Sourced from caldav's releases.

v3.6.0

I apologize for the 3.6.0 release coming so shortly after the 3.5.0 release; it is fuelled by demands from the calendaring-sync and calendaring projects. If you're doing packaging or maintaining dependencies and find bumping the version costly, then wait two weeks - maybe there will be a 3.7.0 release.

The configuration file is now read through the new calendaring-config package, shared with plann, so the two read the same file the same way - with new features like password_command, keyring lookups and per-key environment overrides. save(no_overwrite=True) and save(no_create=True) now leave the check to the server through wildcard preconditions (If-None-Match: *, If-Match: *), closing a race with other clients. Calendar objects keep the raw data as the server sent it (raw_data), and a single occurrence can be cancelled with cancel(). More server profiles have been checked and updated.

Also released without the niquests dependency as 3.6.0a0 - install requests (for the sync client) and/or httpx2 (for the async client) alongside it.

v3.6.0a1 - 3.6.0 without the hard niquests dependency (2nd attempt)

Changelog

Sourced from caldav's changelog.

[3.6.0] - 2026-10-22

I apologize for the 3.6.0 release coming so shortly after the 3.5.0 release; it is fuelled by demands from the calendaring-sync and calendaring projects. If you're doing packaging or maintaining dependencies and find bumping the version costly, then wait two weeks - maybe there will be a 3.7.0 release.

Overview

The configuration file is now read through the new calendaring-config package, shared with plann, so the two read the same file the same way - with new features like password_command, keyring lookups and per-key environment overrides. save(no_overwrite=True) and save(no_create=True) now leave the check to the server through wildcard preconditions (If-None-Match: *, If-Match: *), closing a race with other clients. Calendar objects keep the raw data as the server sent it (raw_data), and a single occurrence can be cancelled with cancel(). More server profiles have been checked and updated.

Also released without the niquests dependency as 3.6.0a1 (a0 got messed up - sorry!) - install requests (for the sync client) and/or httpx2 (for the async client) alongside it.

Security

  • Configuration files are now read with PyYAML's safe loader (by calendaring-config). The full loader was used before, so a YAML tag such as !!python/object/apply: in a config file could run arbitrary Python code when get_davclient() or get_calendars() read it - also from the system-wide /etc/calendar.conf. A config file using such tags is now refused with a ValueError; plain YAML and JSON files are unaffected. python-caldav/caldav#785
  • The new password_command key runs a program named in the config file, so a config file is, by design, able to run code. It is guarded where the YAML tags were not: the command is only run if the file it comes from is owned by the user or by root and is not writable by group or others, and it must be given as a list of the program and its arguments, never through a shell. A config file written by someone else, or one others can write to, should not be trusted for the same reason as before. python-caldav/caldav#804

Potentially breaking changes

These are bug fixes or improvements, but code or configuration relying on the old behaviour may notice them.

  • Most of the config file handling logic was separated out in a new package calendaring-config (see Added). The changes introduced are unlikely to break anything for anyone, and hence considered allowable for the minor release (python-caldav/caldav#786, python-caldav/caldav#804):
    • This introduces a new dependency. The package has the same maintainer as the caldav library, and the same co-maintainers as the icalendar-searcher library.
    • An empty config file found first in the search path is used, rather than skipped for the next one.
    • If a disabled or missing section is named, or a glob matches nothing, an error is now raised.
    • A name in contains that matches nothing gives a warning.
    • A disabled meta-section leaves out its members too.
    • * now excludes meta-sections.
    • inherits naming a missing section or a parent of another kind (a caldav_* section inheriting from a kind: jmap one), or a cycle of inherits, raises an error (they used to be ignored, merged in, or recurse forever).
    • A section no longer inherits its parent's contains and disable, and config_section() leaves inherits out of the section it returns.
    • A config file named explicitly must exist.
  • With a server that does not honour the wildcard preconditions (SOGo, Zimbra, Bedework, GMX, iCloud, Posteo, Radicale, Yahoo), save(no_overwrite=True) and save(no_create=True) (and add_event(..., no_overwrite=True) and friends) may now overwrite an existing object, create a missing one or refuse a legitimate update, unless the server is configured with its features (e.g. features: sogo), or save.if-none-match and save-load.mutable.if-match-wildcard are marked correctly in a hand-written feature list. See "Changed" below, python-caldav/caldav#802
  • DAVClient.password is now the str that was passed in, as on AsyncDAVClient; it used to be encoded to UTF-8 bytes. The return type of Calendar.multiget() is annotated as a list, or a coroutine of one for an async client, like search(). python-caldav/caldav#799, python-caldav/caldav#807

Added

Library API

  • cancel() marks an object, or a single occurrence from search(..., expand=True), as STATUS:CANCELLED and saves it - for an occurrence that was planned but will not take place. A new compatibility feature, save-load.event.recurrences.exception.cancelled, records that Zimbra turns a cancelled occurrence into an EXDATE. python-caldav/caldav#598, python-caldav/caldav#810
  • Calendar objects keep the calendar data exactly as the server sent it, before vcal.fix() or any other normalisation, in the new read-only raw_data attribute (bytes; None for objects not read from a server, copies, and after save()). After load() it is the GET response body byte for byte; from a REPORT (search(), multiget()) it is the text of the calendar-data element, with XML entities decoded and line breaks turned into LF. save(raw_data=...) sends the given (UTF-8) bytes as the PUT body unchanged - no vcal.fix(), no re-serialisation, no SEQUENCE bump - still with If-Match / If-Schedule-Tag-Match. This lets sync tools compare and copy what servers store. python-caldav/caldav#763, python-caldav/caldav#803
  • DAVError and its subclasses have a new status attribute with the HTTP status code of the failed response (or None), so an AuthorizationError tells a 401 (bad or missing credentials) from a 403 (authenticated, but not allowed). python-caldav/caldav#805, python-caldav/caldav#807

Configuration

  • The config file is now read through the calendaring-config package, which the file's other users (plann, calendaring) share; see python-caldav/caldav#786 and python-caldav/caldav#804. This is a new dependency, calendaring-config>=0.5 (it depends only on PyYAML), which matters to packagers. New in the format:

    • ~/.config/pycal/calendar.yaml is searched first, before the old paths.
    • A section may say kind: caldav and drop the caldav_ prefix. Sections of other kinds (kind: jmap, a directory of .ics files) are skipped.
    • password_command runs a program for the password, and password_keyring looks it up in the system keyring (this needs the keyring package, e.g. pip install calendaring-config[keyring]).
    • CALDAV_* environment variables override the section's keys one by one: a CALDAV_PASSWORD alone no longer makes caldav ignore the config file (python-caldav/caldav#780). true/false in a variable is a boolean now, and CALDAV_HEADERS is read as JSON.
    • extract_conn_params_from_section(), which plann uses, reads the new format too; pass it the config file's path as config_file to let a password_command run, and the section's name as section_name for error messages.
    • An unknown key in a section is logged as a warning. x_* and extra_config are reserved for applications.

... (truncated)

Commits
  • 519afc2 docs: temporary remove a broken link
  • 7632eca docs: add the 3.6.0 compare link to the changelog
  • aa81337 Merge PR 814: fix: config_section() returns a leaf; 3.6.0 changelog
  • d9849c9 docs: 3.6.0 changelog intro, feature-list advice
  • e660192 docs: review the 3.6.0 changelog
  • ef3ff01 fix: config_section() returns a leaf
  • 1d7a078 docs: hand-tune the 3.6.0 changelog
  • 3f8013d docs: collect the changelog fragments for 3.6.0
  • 5a1c586 docs: tidy the changelog fragments for 3.6.0
  • 1db045b feat: calendar-color means hex, names are a child
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [caldav](https://github.com/python-caldav/caldav) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/python-caldav/caldav/releases)
- [Changelog](https://github.com/python-caldav/caldav/blob/master/CHANGELOG.md)
- [Commits](python-caldav/caldav@v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: caldav
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 11, 2026

Copy link
Copy Markdown
Author

Superseded by #47.

@dependabot dependabot Bot closed this Nov 11, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/tests/compat/caldav-3.6.0 branch November 11, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants