Skip to content

Commit 0599af6

Browse files
Merge pull request #90 from PyCalendar/docs/uv-tree-dependency-maintenance
Document using uv tree to check dependency pins
2 parents 932f70f + bbca668 commit 0599af6

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎docs/release.rst‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ Pushing the tag triggers the ``release`` GitHub Actions workflow: it runs the fu
4949

5050
Read the Docs builds the new version automatically from the same tag push; no separate step is needed there.
5151

52+
Dependency maintenance
53+
======================
54+
55+
Whenever adding or dropping a supported Python version, check which dependencies have newer compatible versions with ``uv tree``:
56+
57+
.. code-block:: bash
58+
59+
uv tree --all-groups --depth=2 --python-version 3.11
60+
61+
Run this once per supported Python version (see ``requires-python`` in ``pyproject.toml`` and the ``python-version`` matrix in ``.github/workflows/tests.yml`` for the current range). ``--depth=2`` shows each direct dependency and its own first-level dependencies, enough to spot an outdated pin without the full transitive tree. Pay particular attention to ``icalendar``: this project's own public API tracks it, so a new ``icalendar`` release is worth checking against the :doc:`changelog`.
62+
5263
Maintainer access
5364
=================
5465

0 commit comments

Comments
 (0)