Skip to content

v0.1.0-rc7 - #71

Merged
Paebbels merged 39 commits into
mainfrom
dev
Oct 28, 2026
Merged

Paebbels merged 39 commits into
mainfrom
dev

Conversation

@pytooling-claude

@pytooling-claude pytooling-claude Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Note

The seventh release candidate of v0.1.0. The first six, v0.1.0-rc1, v0.1.0-rc2, v0.1.0-rc3, v0.1.0-rc4, v0.1.0-rc5 and v0.1.0-rc6, were released from #1, #48, #49, #55, #59 and #65; these notes describe the whole first release, as theirs did. It requires pyTooling v10.0.0-rc6 or later and, for the extra reports, pyEDAA.Reports v0.20.0-rc1 or later - both pre-releases on PyPI.

New in rc7: the version 0.1.0rc7 (7ef1c9a); GeneratedPages is generic in the type of its objects (#72); Dependabot's first updates (#68, #69, #70, #73, #74); one import statement per module (#75); a license override file without pyTooling's yaml extra is reported as such (#76); module variables are documented by a doc-string below them (#78); one :raises: field per parameter (#79); sphinx-reports is named in the release notes, the test data and the tests only (#77); the unit test table is extensible (#80) and draws a legend of its status symbols (#81); Dependabot: coverage ~= 7.17 (#84); pyTooling 10.1.0 is required, with its extra dependencies instead of pypi (#85, #86, #87). Changes merged after rc6 are listed here and in their sections.

Important

v0.1.0-rc1 is a GitHub release only: its upload to PyPI failed, because the repository had no dist/requirements.txt, which the release job installs from (#46). rc2 was the first pre-release of pyTooling.Sphinx on PyPI.

First release of pyTooling.Sphinx: the Sphinx extension of the pyTooling family as a package of its own, with its repository infrastructure and pipeline. It was developed in pyTooling's dev branch and moved here before any pyTooling release contained it; the domain report comes from sphinx-reports v0.11.2.

New Features

The Sphinx extension moved from pyTooling's pyTooling.Documentation.Sphinx (#2), code unchanged apart from import paths; everything else is new in this repository. Grouped by module of the namespace package pyTooling.Sphinx:

Breaking Changes

Warning

Migrating from sphinx-reports v0.11.2: pyTooling.Sphinx takes over its domain report (#20). These items break a documentation set up for sphinx-reports; a project new to pyTooling.Sphinx isn't affected.

Documentation

Unit Tests

GitHub Pipeline

Known Issues

  • MSYS2 jobs are disabled.
  • pylint is off (~550 messages on code pyTooling never ran pylint on).

Others

  • f-strings without placeholder are plain strings: f"…" became "…" (2 strings in doc/conf.py); every string keeps its value (f-strings without placeholder are plain strings #56).
  • One from <module> import statement per module and scope, continued by \ (403 → 354 import statements); pyTooling.Sphinx.DependencyTable imports DependencyError, UnknownLicense and SPDXLicense at module level instead of per call (One import statement per module #75).

Related Issues and Pull-Requests

dependabot Bot and others added 4 commits October 22, 2026 19:42
Updates the requirements on [coverage](https://github.com/coveragepy/coveragepy) to permit the latest version.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.15.0...7.16.2)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.16.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [sphinx-autodoc-typehints](https://github.com/tox-dev/sphinx-autodoc-typehints) to permit the latest version.
- [Release notes](https://github.com/tox-dev/sphinx-autodoc-typehints/releases)
- [Changelog](https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/docs/changelog.rst)
- [Commits](tox-dev/sphinx-autodoc-typehints@3.13.0...3.17.2)

---
updated-dependencies:
- dependency-name: sphinx-autodoc-typehints
  dependency-version: 3.17.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 22, 2026 19:43
@codacy-production

codacy-production Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 6 minor

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

Results:
6 new issues

Category Results
Documentation 2 minor
CodeStyle 4 minor

View in Codacy

🟢 Metrics 68 complexity · 0 duplication

Metric Results
Complexity 68
Duplication 0

View in Codacy

🟢 Coverage 96.56% diff coverage · +0.85% coverage variation

Metric Results
Coverage variation ✅ +0.85% coverage variation (-1.00%)
Diff coverage ✅ 96.56% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (f856e78) 4898 4303 87.85%
Head commit (1619c37) 5047 (+149) 4477 (+174) 88.71% (+0.85%)

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 (#71) 407 393 96.56%

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 22, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.59459% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.72%. Comparing base (f856e78) to head (1619c37).
⚠️ Report is 6 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
pyTooling/Sphinx/Unittest.py 94.37% 9 Missing and 4 partials ⚠️
pyTooling/Sphinx/UnittestPages.py 74.07% 4 Missing and 3 partials ⚠️
pyTooling/Sphinx/__init__.py 94.73% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
+ Coverage   85.62%   86.72%   +1.09%     
==========================================
  Files          24       24              
  Lines        4898     5047     +149     
  Branches      779      804      +25     
==========================================
+ Hits         4194     4377     +183     
+ Misses        595      570      -25     
+ Partials      109      100       -9     
Flag Coverage Δ
unittests 86.72% <94.59%> (+1.09%) ⬆️

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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

GeneratedPages[EntityType] and ReportPages[EntityType] annotate every object parameter, the top-level and child pairs and the document table with the type variable instead of Any. A derived class names the type as the type argument: UnittestReportPages(ReportPages["Testsuite | Testcase"]), CodeCoverageReportPages(ReportPages["BaseWithPath"]), DocCoverageReportPages(ReportPages["Item"]) - as strings, because pyEDAA.Reports is imported for type checking only. The registry _pages stays GeneratedPages[Any] in the base-class (a class variable can't use a type variable); each derived class annotates its own registry with its own class.

mypy now checks the inherited methods taking an object - DocName, Entry, _Reference - against the derived class' type: it reports the 4 calls passing a parent typed by pyEDAA.Reports as its base-class (Base, TestsuiteBase), which the code guards at runtime.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
dependabot Bot and others added 5 commits October 23, 2026 17:16
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v84.0.0...v84.2.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.2.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](sphinx-doc/sphinx@v9.1.0...v9.1.1)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-version: 9.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Sphinx 9.2 requires Python >= 3.13; pyTooling.Sphinx supports Python 3.12 to 3.15. Same comment as in VHDLDomain.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
claude-code and others added 5 commits October 24, 2026 12:19
Several `from <module> import ...` statements of one module in one scope (module level, `if TYPE_CHECKING:`,
function body) are merged into one statement at the position of the first, continued by `\` and aligned to the
first name's column. Each extra statement runs `IMPORT_NAME` once more (about 0.75 us on Python 3.15, 0.43 us on
3.13).

pyTooling.Sphinx: 403 -> 358 import statements, tests: 171 -> 167. Imported names, the order in which modules are first imported and
every module's namespace are unchanged (compared before/after).

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
`pyTooling.Sphinx.DependencyTable` imported `DependencyError` (3x), `UnknownLicense` and `SPDXLicense` inside
functions, while its module-level imports load `pyTooling.Dependency` and, through it, `pyTooling.Licensing` anyway.
`_LicenseName` and `_LicenseURL` ran their import once per table row. The names join the module's import block; the
first-import order of all modules is unchanged.

Tests: `DEFAULT_VERSION_FORMAT`, `DEFAULT_DEPENDENCY_FORMAT` (module already imported by the test file) and
`pygments.token` (loaded with Sphinx) move to the module level too.

Kept function-local: imports of optional dependencies (pyEDAA.Reports, markdown-it-py, `requests`, `packaging`),
lazily loaded modules (`pyTooling.Dependency.Python`/`.Resolver`, `xmlschema`), the cyclic imports of the report
pages modules, and the submodule imports in `setup()`, `readReports()` and `checkReportConfiguration()`.

pyTooling.Sphinx: 358 -> 354 import statements, tests: 167 -> 165.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
'LicenseOverrides.FromFile' reads the override file with pyTooling.Configuration.YAML, which raises
MissingDependencyError without ruamel.yaml. 'prepareEntrypoints' didn't catch it, so Sphinx ended the build with
"Handler <function prepareEntrypoints ...> for event 'config-inited' threw an exception". It now raises
SphinxExtensionError naming the extra, as it does for the 'pypi' extra.

The documentation's own build declares an override file and got ruamel.yaml only through pyEDAA.Reports, which
doesn't require it any more on its 'dev' branch (edaa-org/pyEDAA.Reports#351): doc/requirements.txt lists
ruamel.yaml itself. The directive's page says the override file needs the extra.

New testcase 'PackageOverrides.YAMLExtraMissing'.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
claude-code and others added 2 commits October 25, 2026 13:04
The license override file kept an entry for sphinx-reports, which no
dependency table lists since pyTooling.Sphinx replaced it. The module
doc-string of 'DependencyTable' compared the entrypoints with the way
':mod:`sphinx_reports`' declares its reports - a module this
documentation doesn't know; the domain 'report' of this package does it
the same way.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
claude-code and others added 4 commits October 25, 2026 18:25
66 module variables in 20 modules carried their documentation as a '#:' comment:
64 as a comment line (or block) above the assignment, 2 as a trailing comment.
They now carry it as a doc-string below the assignment, as agreed on
pyTooling/pyTooling#406. The text is unchanged; pairs of a variable and its
doc-string are separated by a blank line.

Class fields and enumeration members keep their trailing '#:' comments.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Two fields named several parameters as alternatives ("If parameter
'alternativeText' or 'path' is None."). Each parameter gets its own field, in
parameter order. The text is unchanged otherwise.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
claude-code and others added 10 commits October 26, 2026 16:29
pyTooling v10.0.0 is released; the requirement and the build requirement name the release instead of a release candidate: 'pyTooling >= 10.0.0, < 11.0'.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
pyTooling 10.0.0 renamed the extra 'pypi' to 'dependencies'; with 'pyTooling[pypi]' pip warns and skips aiohttp, which the dependency-table directive needs. UnknownLicenseWarning and UnsupportedVersionWarning require their project name and version (pyTooling #668): the tests pass them, the testcase 'Unnamed project' is removed, and DependencyCollector._ReportWarnings no longer checks for a missing project name.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Updates the requirements on [coverage](https://github.com/coveragepy/coveragepy) to permit the latest version.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.16.0...7.17.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.17.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…s and pages, roles of derived domains.

A project reading its own kind of test report - OSVVM's build summary with alert counts, requirements and
functional coverage - needs the table, the pages and the roles of 'report:unittest-summary' with columns of its
own. So far the eight columns were written row by row in four render methods.

- Unittest.Column and Unittest.ColumnGroup: a column names a function per kind of row (testsuite and testsuite
  summary, testcase) returning the cell's content - a text, a node or the cell; a group gives the header a second row.
- Unittest.UnittestSummaryBase: the rows, the name column with its links, the configuration value with report
  files and pages, reading the reports and run(). A derived class names its configuration value, report key and
  kind, reads a report by _ReadReport(), and returns its columns by _Columns() and its pages by _Pages().
- UnittestSummary derives from it; its columns are the eight Column instances. The rendered tables and pages are
  unchanged: pseudo-XML and HTML of three tables and nine pages compared byte for byte.
- UnittestPages: hooks _TestcaseFields(), _TestcaseColumns() and _TestcaseCells() for a derived page class.
- ReportDomain names its roles in _ROLES; ReportRole takes the name of the domain resolving its references, so a
  domain derived from ReportDomain has roles of its own.
- Tests: column cells and parameter checks, a derived table with a column group, derived pages adding a field and
  a column, a derived domain resolving its own role.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
…gate

UnittestSummaryBase._CheckOptions, _ReadReport and _Columns are marked with pyTooling's @NotImplemented instead of raising NotImplementedError themselves; their doc-strings drop the ':raises NotImplementedError:' fields, as for abstract stubs. _ReadReport no longer aggregates the JUnit document before converting it: the testsuite summary it is converted to is aggregated anyway.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
… default.

The table shows a testsuite's and a testcase's status by a symbol only; nothing on the page said what ⛔, ➖ or 🚫
stand for. The legend is a paragraph naming each of the eight symbols with its status ('✅ passed, ❌ failed, ...'),
drawn in every format, in LaTeX on the table's landscape page. Option ':legend:' takes 'top', 'bottom' or 'none',
parsed by the tree directive's LegendPosition; default 'bottom'.

UnittestSummaryBase draws it in run(), so a derived table - e.g. pyEDAA.OSVVM's build summary - gets it too; it
accepts the option by adding 'legend' to its option_spec, and may override UnittestSummaryBase._LEGEND, which
holds the symbols and words. A testcase checks that every symbol the two converters return for any member of
TestcaseStatus and TestsuiteStatus is in it.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
pyTooling 10.0.0 renamed the extra 'pypi' to 'dependencies'. The error for a missing package index client told the user to 'pip install pyTooling[pypi]', which installs nothing; the message, a comment and five ':raises MissingDependencyError:' fields name 'dependencies' now.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
claude-code and others added 2 commits October 27, 2026 22:56
Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude pytooling-claude Bot added CI: GitHub Actions Continuous Integration issues related to GitHub Actions (Windows, Linux and MacOS) Dependencies Used by Dependabot. Documentation Improvements or additions to documentation Enhancement New feature or request labels Oct 28, 2026
@Paebbels
Paebbels merged commit 8f197bd into main Oct 28, 2026
59 of 60 checks passed
@pytooling-claude pytooling-claude Bot mentioned this pull request Oct 28, 2026

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: GitHub Actions Continuous Integration issues related to GitHub Actions (Windows, Linux and MacOS) Dependencies Used by Dependabot. Documentation Improvements or additions to documentation Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants