Fix docs dependency metadata for PyPI - #271
Conversation
|
@claude review |
|
Claude finished @CassNot's task in 1m 13s —— View job Review — Fix docs dependency metadata for PyPIThe core change is correct and worthwhile: PyPI rejects published metadata that contains direct URL / VCS dependencies, so moving However, the dependency was used by more than just 🔴 1. Other install paths now break the docs build
extensions = [
...
"sphinx_multiversion", # requires sphinx-multiversion-contrib
...
]Any
Suggestion: pick a single source of truth. Either make 🟡 2. Pinning consistencyThe git dependency is pinned to tag Minor / nits
SummaryThe PyPI fix is correct. Please also update the other three consumers of the docs extra ( Review only — no changes were made. Re-trigger with |
@claude review the latest fix to the review feedback |
|
Claude finished @ben9871's task in 1m 5s —— View job Review — latest fix to the docs dependency feedback
The latest changes address all three regressions I flagged in the previous review, and the chosen approach (a shared What's now correct
I traced each path-resolution case (CI from Remaining nits (non-blocking)
VerdictThe PyPI fix is correct and the prior regressions are resolved. The remaining items are documentation nits, not blockers — I'd consider this good to merge once you decide whether to add the explanatory comments. |
Summary
What changed:
•
Removed the Git URL dependency from pyproject.toml’s published docs extra.
•
Added that same Git dependency to docs/requirements.txt.
•
Updated docs CI to install from docs/requirements.txt with working-directory: docs.
Related Issue
Type of change
Proposed changes
pre_commit run --files pyproject.toml docs/requirements.txt .github/workflows/docs.yml: hooks skipped, no Python files.
•
Built wheel to temp dir: passed.
•
twine check on wheel: passed.
How to test / How to run
Screenshots / Logs (optional)
Performance considerations (optional)
Documentation
Checklist
PR title includes Jira issue key (e.g., PML-126)
"Related Jira ticket" section includes the Jira issue key (no URL)
Code formatted (ruff format)
Lint passes (ruff)
Static typing passes (mypy) if applicable
Unit tests added/updated (pytest)
Tests pass locally (pytest)
Tests pass on GPU (pytest)
Test coverage not decreased significantly
Docs build locally if affected (sphinx)
With this command:
the docs are built without any warning or errors.
New public classes/methods/packages are added in the API following the methodology presented in other files.
Dependencies updated (if needed) and pinned appropriately
PR description explains what changed and how to validate it