Skip to content

v0.1.0-rc4 - #55

Merged
Paebbels merged 7 commits into
mainfrom
dev
Oct 19, 2026
Merged

Paebbels merged 7 commits into
mainfrom
dev

Conversation

@pytooling-claude

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

Copy link
Copy Markdown

Note

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

New in rc4: f-strings without placeholder are plain strings (#56), the unit tests run with pytest-xdist workers under Coverage.py (#57), dependency-table works with pyTooling rc3 and rc4 (#58), and the version 0.1.0rc4 (34cf071). Changes merged after rc3 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


Related Issues and Pull-Requests

Planned for this release, not merged yet:

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 18, 2026 02:16
claude-code and others added 2 commits October 18, 2026 04:11
2 f-strings had no placeholder, so their 'f' prefix did nothing; 'f"…"' becomes '"…"', escaped braces '{{'/'}}'
become '{'/'}'. Every string keeps its value. Fixed with CheckNeedlessFStrings (pyflakes F541).

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@codacy-production

codacy-production Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

🟢 Coverage 28.57% diff coverage · +0.26% coverage variation

Metric Results
Coverage variation ✅ +0.26% coverage variation (-1.00%)
Diff coverage ✅ 28.57% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (dd8f308) 4882 4269 87.44%
Head commit (424e34d) 4887 (+5) 4286 (+17) 87.70% (+0.26%)

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 (#55) 7 2 28.57%

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

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.41%. Comparing base (dd8f308) to head (424e34d).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
pyTooling/Sphinx/DependencyTable.py 16.66% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #55      +/-   ##
==========================================
+ Coverage   85.12%   85.41%   +0.28%     
==========================================
  Files          24       24              
  Lines        4882     4887       +5     
  Branches      786      787       +1     
==========================================
+ Hits         4156     4174      +18     
+ Misses        613      601      -12     
+ Partials      113      112       -1     
Flag Coverage Δ
unittests 85.41% <28.57%> (+0.28%) ⬆️

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.

claude-code and others added 2 commits October 18, 2026 14:19
…dist workers.

pyTooling/Actions@r9 runs the unit tests serially while '[tool.coverage.run]' lacks 'patch = ["subprocess"]', as
Coverage.py would not measure the pytest-xdist workers. As in pyTooling, the setting is added; the workflow combines
the workers' data files.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
….0.0rc3 and rc4 answer.

pyTooling #595 (planned for rc4) makes Stopwatch.Duration/Activity/Inactivity a timedelta. pyTooling's own
documentation build installs this package from PyPI and failed on it: f"{stopwatch.Duration:.2f}" and
DependencyCollector.Seconds (Stopwatch.Activity, formatted with :.2f) raise a TypeError with a timedelta.

- The table's log line uses DurationInNanoseconds / 1e9 (exists since rc2).
- DependencyCollector.Seconds converts Activity with total_seconds() when it's a timedelta.
- Both marked '# WORKAROUND: pyTooling <10.0.0rc4' with the final form (DurationInSeconds, ActivityInSeconds) as a
  comment below, to replace once the floor is >= 10.0.0rc4.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@Paebbels
Paebbels merged commit 2589836 into main Oct 19, 2026
110 of 113 checks passed
This was referenced Oct 19, 2026
@pytooling-claude pytooling-claude Bot mentioned this pull request Oct 28, 2026

This branch had an error being deployed

1 failed deployment
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.

2 participants