Skip to content

Declare docutils as a direct dependency#80

Open
Baijack-star wants to merge 1 commit into
OpenNTI:masterfrom
Baijack-star:fix-docutils-direct-dependency
Open

Declare docutils as a direct dependency#80
Baijack-star wants to merge 1 commit into
OpenNTI:masterfrom
Baijack-star:fix-docutils-direct-dependency

Conversation

@Baijack-star
Copy link
Copy Markdown

Summary

  • add docutils to install_requires because sphinxcontrib.programoutput imports it directly at module import time
  • add a regression assertion that installed package metadata includes the direct docutils requirement

Verification

  • python3 -m py_compile setup.py src/sphinxcontrib/programoutput/tests/test_setup.py
  • UV_NO_CACHE=1 uv run --with zope.testrunner --with coverage --with '.[test]' coverage run -p -m zope.testrunner --test-path=src (63 tests, 0 failures, 0 errors, 1 skipped)
  • UV_NO_CACHE=1 uv build
  • unzip -p dist/sphinxcontrib_programoutput-0.20.dev0-py3-none-any.whl '*/METADATA' | rg -n '^Requires-Dist: (docutils|Sphinx)'
  • git diff --check

I used an AI coding assistant to prepare this patch.

Fixes #79

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.

Docutils is not declared as a direct dependency

1 participant