Skip to content

Require pyTooling 10.0.0 and adapt to it - #49

Merged
Paebbels merged 4 commits into
devfrom
claude/pytooling-10.0.0
Oct 26, 2026
Merged

Paebbels merged 4 commits into
devfrom
claude/pytooling-10.0.0

Conversation

@pytooling-claude

Copy link
Copy Markdown

Changes

  • Requires pyTooling v10.0.0: pyTooling[terminal] >= 10.0.0, < 11.0 in requirements.txt and pyTooling >= 10.0.0, < 11.0 as build requirement, instead of the release candidates (>= 10.0.0rc6 / >= 10.0.0rc3).
  • pyTooling.GitLab: URL is imported from pyTooling.URI; pyTooling 10.0.0 moved the module from pyTooling.GenericPath.URL.
  • pyTooling.GitLab.CLI:
    • pipeline --trace-file calls Trace.WriteOTLPJSONFile(), pyTooling 10.0.0's name of WriteJSONFile(); it raised AttributeError.
    • Application.DUNDER_MODULE is the package pyTooling.GitLab, and version calls _PrintVersion("pyTooling.GitLab"): pyTooling 10.0.0's _PrintVersion no longer takes a module, so version raised TypeError.

Documentation

  • Pipeline trace: the example calls WriteOTLPJSONFile().

Unit Tests

  • With pyTooling 10.0.0: 270 unit tests pass (2 failed before: CLI.Program.Version, CLI.PipelineOutputs.TraceFile).

Related Issues and Pull-Requests

claude-code and others added 4 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 v10 moves `pyTooling.GenericPath.URL` to the new package `pyTooling.URI` (pyTooling/pyTooling#662), without an alias. The imports and the cross-references in the doc-strings name `pyTooling.URI`; the import columns are re-aligned.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
pyTooling 10 renamed Trace.WriteJSONFile() to WriteOTLPJSONFile(); 'pipeline --trace-file' raised AttributeError. Same change as pyTooling.GitHub#8.

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

pyTooling 10 reads the dunder variables of the class constant DUNDER_MODULE; TerminalApplication._PrintVersion no longer takes the module, so 'version' raised TypeError: Parameter 'packageName' is not of type 'str'.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 26, 2026 18:45
@pytooling-claude pytooling-claude Bot added the Dependencies Used by Dependabot. label Oct 26, 2026
@codacy-production

codacy-production Bot commented Oct 26, 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 100.00% diff coverage · +0.00% coverage variation

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

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (7752fbd) 3918 3836 97.91%
Head commit (6122f85) 3920 (+2) 3838 (+2) 97.91% (+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 (#49) 17 17 100.00%

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 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.27%. Comparing base (7752fbd) to head (6122f85).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev      #49   +/-   ##
=======================================
  Coverage   96.27%   96.27%           
=======================================
  Files           8        8           
  Lines        3918     3920    +2     
  Branches      708      708           
=======================================
+ Hits         3772     3774    +2     
  Misses         82       82           
  Partials       64       64           
Flag Coverage Δ
unittests 96.27% <100.00%> (+<0.01%) ⬆️

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 3a874a8 into dev Oct 26, 2026
72 of 73 checks passed
@Paebbels
Paebbels deleted the claude/pytooling-10.0.0 branch October 26, 2026 19:49
@pytooling-claude pytooling-claude Bot mentioned this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Used by Dependabot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants