Skip to content

docs: add how-to for managing a uv dependency version matrix - #1436

Merged
feanil merged 2 commits into
mainfrom
feanil/uv_matrix_how_to
Apr 27, 2026
Merged

feanil merged 2 commits into
mainfrom
feanil/uv_matrix_how_to

Conversation

@feanil

@feanil feanil commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Explains how to add, update, and retire dependencies tested against
multiple versions (e.g. Django 5.x and 6.x) using uv's conflicts
feature with uv-venv-lock-runner in tox.

Co-Authored-By: Claude Sonnet 4.6 [email protected]

+--------------+-------------------------------+----------------+--------------------------------+
| Review Date | Working Group Reviewer | Release |Test situation |
+--------------+-------------------------------+----------------+--------------------------------+
| | | | |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fill this out :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering about this as well, I am not on the working group, still okay to document myself as the Working Group Reviewer or is there a separate process by which these get checked?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, honestly that should probably be more specific, it's your name, or a working group you're a part of (if you don't want your name directly in there)

@feanil
feanil marked this pull request as ready for review April 27, 2026 16:19
Explains how to add, update, and retire dependencies tested against
multiple versions (e.g. Django 5.x and 6.x) using uv's conflicts
feature with uv-venv-lock-runner in tox.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@feanil
feanil force-pushed the feanil/uv_matrix_how_to branch from 3289b6f to 1db7339 Compare April 27, 2026 17:41
@feanil
feanil requested a review from sarina April 27, 2026 17:41

**Maintenance chart**

.. list-table::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I don't love this for two reasons, one is that it's different than every other maintenance table, two is that it won't be picked up by the script I use to try to identify failing or missing-review docs - https://github.com/openedx/docs.openedx.org/blob/main/source/maintenance_chart_checker.py - would you be willing to either convert this to the direct table syntax or update the checker script to also read list-tables?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sarina missed this comment originally, but I've updated that script in #1447 which is ready for you to review.

- Test situation
* - 2026-04-27
- @feanil
- N/A

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For "release" for dev docs we put "master" (because it was valid on master at the date of publish)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is master the preferred term or is main okay?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

main works!

* - 2026-04-27
- @feanil
- N/A
- N/A

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we'd put "Pass" for "Test situation" because in the maintenance chart semantics, "Pass" means the document has been reviewed and is found to be up-to-date at time of review (as opposed to "Fail", which indicate that the doc has problems and needs to be updated. "Fail" would be associated with a corresponding GitHub issue that describes why the doc is wrong. https://docs.openedx.org/en/latest/documentors/references/doc_maintenance.html#test-situation

@feanil
feanil enabled auto-merge (squash) April 27, 2026 19:25
@feanil
feanil merged commit 031ad56 into main Apr 27, 2026
@feanil
feanil deleted the feanil/uv_matrix_how_to branch April 27, 2026 19:38
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.

3 participants