Skip to content

Commit b30c767

Browse files
committed
Preparing for releasing v2.2.5
Doc fixing, CHANGELOG updates and a workaround for some test problems.
1 parent 863e3ab commit b30c767

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ This project should adhere to [Semantic Versioning](https://semver.org/spec/v2.0
2626
### Fixed
2727

2828
* Fixed potential IndexError in URL path joining when path is empty
29+
* Fixed NameError in search.py caused by missing import of `logging` module, which was masking actual errors when handling malformed iCalendar data. https://github.com/python-caldav/caldav/issues/614
2930

3031
### Changed
3132

@@ -43,6 +44,7 @@ This project should adhere to [Semantic Versioning](https://semver.org/spec/v2.0
4344
### GitHub Issues Closed
4445

4546
* #612 - Export get_davclient from caldav package
47+
* #614 - Missing import logging in search.py causes NameError masking actual errors
4648

4749
## [2.2.3] - [2025-12-06]
4850

RELEASE-HOWTO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Note
44

5-
I have no clue on the proper procedures for doing releases, and I keep on doing clumsy mistakes - hence the need for this document. Anyway, perhaps there are better ways of doing releases? Feel free to shout out (or write up a pull-request).
5+
I have no clue on the proper procedures for doing releases, and I keep on doing clumsy mistakes - hence the need for this document. Anyway, perhaps there are better ways of doing releases? Feel free to shout out (or write up a pull-request). (Indeed - in all other projects now I'm just tagging a release and then magic happens through CI pipelines. I should consider the same for the caldav library)
66

77
## Checklist
88

tests/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,13 +248,16 @@ def _start_or_stop_server(name, action, timeout=60):
248248
time.sleep(1)
249249

250250
raise RuntimeError(
251-
f"{name} is still not accessible after {timeout}s, needs manual investigation. Tried to run {start_script} in directory {dir}"
251+
f"{name} is still not accessible after {timeout}s, needs manual investigation. Tried to run {script} in directory {dir}"
252252
)
253253

254254

255255
## wrapper
256256
def _conf_method(name, action):
257-
return lambda: _start_or_stop_server(name, action)
257+
def _start_or_stop(dummy_self=None):
258+
_start_or_stop_server(name, action)
259+
260+
return _start_or_stop
258261

259262

260263
def _add_conf(name, url, username, password, extra_params={}):

0 commit comments

Comments
 (0)