Debian Patches

Status for vdirsyncer/0.19.3-2

Patch Description Author Forwarded Bugs Origin Last update
0001_adjacent-identical-keys.patch Fix _Component.__delitem__ with adjacent identical keys
Hypothesis found the following example:

```
tests/unit/utils/test_vobject.py:335: in add_prop
assert c[key] == value
E AssertionError: assert '0' == '1'
E
E - 1
E + 0
E Falsifying example:
E state = VobjectMachine()
E unparsed_0 = state.get_unparsed_lines(encoded=False, joined=False)
E parsed_0 = state.parse(unparsed=unparsed_0)
E state.add_prop_raw(c=parsed_0, key='0', params=[], value='0')
E state.add_prop_raw(c=parsed_0, key='0', params=[], value='0')
E state.add_prop(c=parsed_0, key='0', value='1')
E state.teardown()
```

After the two `add_prop_raw` calls, `c.props` is `["0;:0", "0;:0",
"FOO:YES"]`. `_Component.__delitem__` then fails to effectively delete
the previous key: it deletes the first `"0;:0"` item, but then checks
for continuation lines following it and incorrectly keeps the second
`"0;:0"` item even though it begins with one of the prefixes it's trying
to delete. Checking for the prefix in the check for continuation lines
fixes this.
Colin Watson <cjwatson@debian.org> yes debian upstream upstream, https://github.com/pimutils/vdirsyncer/pull/1153 2024-12-21
1003_skip_network_tests.patch Skip network test unless EXTENDED_TESTING is set in environment Jonas Smedegaard <dr@jones.dk> no 2021-12-05
2001_click-log_relax_dependency.patch relax dependency on Python module click-log Debian package is not yet updated,
and the older version seems adequate.
Jonas Smedegaard <dr@jones.dk> not-needed 2021-12-05
2002_include_license_from_copyright_file.patch include license from copyright file Filip Pytloun <filip@pytloun.cz> not-needed 2021-12-05

All known versions for source package 'vdirsyncer'

Links