samm81
9bbb7fa91a
fix: fix mypy typing error
2025-08-25 16:51:29 +02:00
Hugo Osvaldo Barrera
f8bcafa9d7
ci: use Alpine 3.19 for Python 3.11
2025-08-25 16:49:16 +02:00
Hugo Osvaldo Barrera
162879df21
ci: include python version in job name
2025-07-23 23:24:35 +02:00
Hugo Osvaldo Barrera
3b9db0e4db
Add support for Python 3.13
...
Fixes: https://github.com/pimutils/vdirsyncer/issues/1180
2025-07-23 23:23:59 +02:00
Hugo Osvaldo Barrera
63d2e6c795
pyproject: squelch warning
2025-04-11 01:59:29 +02:00
Hugo Osvaldo Barrera
03d1c4666d
pyproject: update syntax for licence
2025-04-11 01:59:17 +02:00
Hugo Osvaldo Barrera
ecdd565be4
Document checkfile()
2025-04-09 14:00:40 +02:00
Hugo Osvaldo Barrera
17e43fd633
Move test dependencies into pyproject.toml
2025-04-07 18:47:44 +02:00
Hugo Osvaldo Barrera
2b4496fea4
Update linting tools
2025-04-07 18:42:07 +02:00
Hugo Osvaldo Barrera
fc4a02c0c9
Add some missing type hints
2025-04-07 18:40:34 +02:00
Hugo Osvaldo Barrera
c19802e4d8
Configure ruff as an auto-formatter
2025-04-07 18:40:34 +02:00
Hugo Osvaldo Barrera
cce8fef8de
Auto-format using ruff
2025-04-07 18:40:34 +02:00
Hugo Osvaldo Barrera
9a0dbc8cd0
Update ruff configuration syntax
2025-04-07 18:40:34 +02:00
Hugo Osvaldo Barrera
32453cccfc
Drop support for Python 3.7
...
Installing on Python 3.7 no longer works due to lack of support in the
minimal version of setuptools_scm. This commit makes the change
official, but it happened a while ago.
2025-04-07 18:39:52 +02:00
Hugo Osvaldo Barrera
057f3af293
Remove stale GitLab CI config
2025-04-07 18:35:12 +02:00
Hugo Osvaldo Barrera
e76d8a5b03
Add two more trove classifiers
2025-04-07 18:09:36 +02:00
Hugo Osvaldo Barrera
d8961232c4
Remove setup.py in favour of pyproject.toml
...
Implements: https://github.com/pimutils/vdirsyncer/issues/1164
2025-04-07 18:06:45 +02:00
Hugo Osvaldo Barrera
646e0b48a5
Delete stale comment
2025-04-07 18:01:16 +02:00
Hugo Osvaldo Barrera
fb6a859b88
Add changelog entry for recent change
2025-04-07 17:39:18 +02:00
Petr Moucha
ff999b5b74
Use proxy configuration from environment for Google storage
2025-04-04 13:17:32 +02:00
Hugo Osvaldo Barrera
41b48857eb
Remove reference to dead domain
2025-03-06 11:57:05 +01:00
Hugo Osvaldo Barrera
70d09e6d5d
Remove stale comment
2025-02-13 13:42:06 +01:00
Ben Boeckel
8b063c39cb
atomicwrites: remove dependency on abandoned library
2025-02-13 13:37:06 +01:00
Hugo Osvaldo Barrera
12a06917db
Add explicit configuration for readthedocs
...
See: https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/
2025-02-13 13:34:13 +01:00
Hugo Osvaldo Barrera
2fee1d67f2
Update CI job with "oldest supported dependencies"
...
Alpine 3.17 has faded away, bump to Alpine 3.18.
2025-02-13 13:32:59 +01:00
Hugo Osvaldo Barrera
a934d5ec66
Keep test for duplicate consecutive keys
...
See: https://github.com/pimutils/vdirsyncer/pull/1153
2024-12-21 16:49:50 +01:00
Colin Watson
c79d3680cd
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.
Fixes : #1149
2024-12-20 01:43:15 +00:00
Hugo Osvaldo Barrera
cd050d57b9
Use direnv to set up a virtualenv for development
2024-12-09 14:18:24 +01:00
Hugo Osvaldo Barrera
8c98992f74
Move setuptools-scm config into pyproject.toml
2024-12-09 14:18:06 +01:00
Hugo Osvaldo Barrera
c2eed9fb59
Add a readthedocs configuration file
...
Used for building docs in CI pipelines.
2024-12-09 01:36:22 +01:00
Mike A.
a490544405
Do not load netrc config files
2024-12-09 01:32:29 +01:00
Hugo Osvaldo Barrera
688d6f907f
Update deprecated usages of hypothesis
2024-12-09 01:30:44 +01:00
euxane
2e7e31fdbf
storage/http: add support for filter_hook
...
This allows users to process fetched items through a filter command,
to fix malformed webcal items as they are imported.
In my case, my provider adds the export time to the description and
random sequence numbers to all events. This caused the whole collection
to be invalidated and propagated at each sync. I use the filter to
remove those, canonicalising the items.
2024-12-08 19:31:32 +01:00
Arran Ubels
616d7aacb0
OfflineIMAP url Update
2024-10-31 22:43:45 +01:00
Hugo Osvaldo Barrera
89129e37b6
Typo
...
Fixes: https://github.com/pimutils/vdirsyncer/issues/1139
2024-09-13 18:36:17 +02:00
Hugo Osvaldo Barrera
88722ef4b7
Add changelog entry for Digest Auth
2024-09-11 17:25:29 +02:00
Mike A.
35f299679f
Rewrite guess auth test for unsupported status
2024-09-11 12:04:05 +02:00
Mike A.
67e1c0ded5
Make tests pass
2024-09-11 12:04:05 +02:00
Mike A.
89a01631fa
Remove requests_toolbelt
2024-09-11 12:04:05 +02:00
Mike A.
611b8667a3
Implement digest auth
2024-09-11 12:04:05 +02:00
Hugo Osvaldo Barrera
8550475548
Formatting
2024-08-26 12:49:36 +02:00
Hugo Osvaldo Barrera
cd2445b991
Upgrade Alpine release used in CI
2024-08-26 12:49:24 +02:00
Jakub Klinkovský
5ca2742271
Add short option for the help option
2024-08-26 12:43:20 +02:00
Jakub Klinkovský
5ac9dcec29
Update documentation regarding SSL pinning by fingerprint
2024-08-16 15:18:18 +02:00
octvs
a513a7e4fa
docs: update config info on todoman tutorial
2024-04-02 15:30:16 +02:00
Dick Marinus
5ae05245e6
fix pylint W0621: Redefining name 'main' from outer scope (line 68) (redefined-outer-name)
2024-03-19 09:59:08 +01:00
Hugo Osvaldo Barrera
055ed120dd
Pre-commit autoupdate
2024-02-20 15:08:51 +01:00
Hugo Osvaldo Barrera
31816dc652
Add some type hints
2024-02-20 15:08:51 +01:00
Bleala
2e023a5feb
Update AUTHORS.rst
2024-02-16 14:29:11 +01:00
Bleala
14afe16a13
Update CHANGELOG.rst
2024-02-16 14:29:11 +01:00