Skip to content

Migrate to hatch#30

Merged
tobixen merged 4 commits into
masterfrom
migrate-to-hatch
May 21, 2026
Merged

Migrate to hatch#30
tobixen merged 4 commits into
masterfrom
migrate-to-hatch

Conversation

@tobixen
Copy link
Copy Markdown
Member

@tobixen tobixen commented Mar 14, 2026

I think I don't like poetry

I'm piggybacking some other test/qa/ci/docs-stuff into the same pull request

@tobixen tobixen force-pushed the migrate-to-hatch branch from 782969c to 80df419 Compare May 21, 2026 11:50
tobixen and others added 4 commits May 21, 2026 13:54
- Switch from poetry and poetry-dynamic-versioning to hatchling + hatch-vcs
- Remove poetry.lock, setup.cfg and plann/metadata.py
- Add plann --version / -V flag using hatch-generated _version.py
- Update Makefile and pyproject to reflect those changes
- Fix deptry CI breakages

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update github.com/tobixen/plann → github.com/pycalendar/plann throughout
- Update Repository URL in pyproject.toml
- Fix dead links in CHANGELOG.md (issues #14, #16)
- Add CONTRIBUTING.md with commit message and test conventions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- publish.yaml and publish.yaml: reflect the poetry to hatch migration
- tests.yaml: add deptry step; add Python 3.14 to matrix
- linkcheck.yml: switch to lychee-action v2 with cache and create-issue

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
New version of CalDAV is out, and it requires some modification in
the test code.  New version of Xandikos is out, requiring some changes in the
testing framework.

The journal test (_select(journal=True)) was silently broken in CI:
caldav>=1.5.0 is the first release with journal search support (May 2025).
The bug was in caldav, not xandikos — xandikos supports VJOURNAL REPORT fine.

icalendar 7 and caldav 2 does not support python 3.9 anymore.  Python 3.14
is added to the matrix en passant.

Functional tests based on Xandikos needed some TLC due to rename of
the SingleUserFilesystemBackend.

Latest version of CalDAV has introduced ETag verification - some of the test code needed to be changed to avoid raising an etag mismatch error.

Xandikos.org is (temporarily?) excluded from the lychee check (today we're getting a 502 from CloudFlare, not our fault, and not much to do with it except tossing in an exception)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tobixen tobixen force-pushed the migrate-to-hatch branch from 80df419 to f533ace Compare May 21, 2026 12:10
@tobixen tobixen merged commit 0c36d0f into master May 21, 2026
7 checks passed
@tobixen tobixen deleted the migrate-to-hatch branch May 21, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant