Skip to content

Documentation: dependency tables from the 'dependency-table' directive - #64

Merged
Paebbels merged 1 commit into
devfrom
claude/sphinx-directives
Oct 25, 2026
Merged

Paebbels merged 1 commit into
devfrom
claude/sphinx-directives

Conversation

@pyedaa-claude

@pyedaa-claude pyedaa-claude Bot commented Oct 25, 2026

Copy link
Copy Markdown

Documentation

  • doc/Dependency.rst: the dependency tables of the package, unit testing (tests/requirements.txt), documentation and publishing are rendered by pyTooling.Sphinx' directive dependency-table instead of being written by hand. Each table now lists the sub-dependencies and their licenses as the package index states them, so the text no longer says that sub-dependencies aren't evaluated.
  • doc/conf.py: pyTooling_Dependency_Requirements declares the tables' entrypoints - requirements.txt, tests/requirements.txt, doc/requirements.txt and dist/requirements.txt; pyTooling_Dependency_PackageOverrides names the license override file.
  • doc/Dependency.PackageOverrides.yaml (new): licenses the package index doesn't state as an SPDX identifier, and the projects' own LICENSE files as link targets. Collected from the override files of pyTooling.Sphinx, pyEDAA.Reports and VHDLDomain, reduced to the packages these tables show. The build reports no package needing an override.
  • Packaging: the table stays hand-written, because the build requirements are in pyproject.toml only, which dependency-table doesn't read (a comment in the page says so). The section pointed to a build/requirements.txt that doesn't exist, and the table listed wheel instead of setuptools; both follow pyproject.toml now.
  • Documentation build: 32 → 79 warnings. The 47 new ones are all [dependency-table] Skipping release '2004d' of package 'pytz': version format isn't supported. (one per old pytz release, reached through Sphinx → babel) from pyTooling's dependency resolver; pyTooling's own documentation shows the same lines. No other warning changed.

Related Issues and Pull-Requests

Dependency.rst listed the requirements in hand-written grid tables and
said their sub-dependencies weren't evaluated. pyTooling.Sphinx'
'dependency-table' directive renders them from requirements.txt,
tests/requirements.txt, doc/requirements.txt and dist/requirements.txt
(conf.py: 'pyTooling_Dependency_Requirements'), with sub-dependencies
and licenses read from PyPI. Licenses PyPI can't answer for, and the
projects' own LICENSE files, come from Dependency.PackageOverrides.yaml,
collected from the sibling repositories' files and reduced to the
packages these tables show.

The Packaging table stays hand-written: build requirements are in
pyproject.toml only, which the directive doesn't read. Its text pointed
to a build/requirements.txt that doesn't exist, and the table listed
wheel instead of setuptools; both follow pyproject.toml now.

Documentation build: no license-override warning; the only new warnings
are 47 'Skipping release ... of package pytz' from the dependency
resolver, as in pyTooling's own documentation.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pyedaa-claude
pyedaa-claude Bot requested a review from Paebbels as a code owner October 25, 2026 16:09
@codacy-production

codacy-production Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 2 minor

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
CodeStyle 2 minor

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation (-1.00%)
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8f6bb1a) 71 45 63.38%
Head commit (6dd350c) 71 (+0) 45 (+0) 63.38% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#64) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.97%. Comparing base (8f6bb1a) to head (6dd350c).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #64   +/-   ##
=======================================
  Coverage   61.97%   61.97%           
=======================================
  Files           1        1           
  Lines          71       71           
  Branches       13       13           
=======================================
  Hits           44       44           
  Misses         26       26           
  Partials        1        1           
Flag Coverage Δ
unittests 61.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@Paebbels
Paebbels merged commit 7191b80 into dev Oct 25, 2026
71 of 72 checks passed
@Paebbels
Paebbels deleted the claude/sphinx-directives branch October 25, 2026 17:02
@pyedaa-claude pyedaa-claude Bot mentioned this pull request Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants