Skip to content

Add a Pip Ecosystem to the Carried Dependabot Snippet - #3103

Merged
ptr727 merged 4 commits into
developfrom
feature/auto-3101
Oct 16, 2026
Merged

ptr727 merged 4 commits into
developfrom
feature/auto-3101

Conversation

@ptr727

@ptr727 ptr727 commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • catalog/snippets/configs/dependabot.yml: add a dual-targeted pip pair, one entry for main and one for develop, in the same shape as the uv pair. It is commented as kept only by a repo with a pip-form Python directory, a requirements*.txt with no uv.lock, and carries the same ruff/pyright/mypy exclude-patterns as the uv entries. Its placeholder directory is /PythonProject, kept apart from the lint-only Scripts profile's vocabulary.
  • spec/project-types.json: widen the python.scripts.uvx assert's build-profile clause so it names the pip form beside the uv form. The pip form takes a tool's version from the requirements*.txt that Dependabot's pip ecosystem bumps, where a directory declared in python-directories installs that tool into its .venv.

The audit side, spec/audit.py cross-checking a pip ecosystem, stays with #2286.

This change adds comment lines to a config snippet, which the issue asks for, so it carries the comments label.

Local review findings

  • introduced: .github/dependabot.yml:6 describes the snippet as "covering nuget and uv", which no longer lists everything it covers. The sibling list at spec/project-types.json setup.dependabot.ecosystems ("nuget/uv/npm") has the same gap. The edit budget for the opening push was spent. Fixed in 59f8b99, which names pip in both lists.

Closes on promotion: #3101

🤖 Generated with Claude Code

ptr727 and others added 3 commits October 15, 2026 16:55
Add a dual-targeted pip pair to catalog/snippets/configs/dependabot.yml,
kept only by a repo with a pip-form Python directory, carrying the same
toolchain exclude-patterns as the uv pair. Widen the python.scripts.uvx
assert in spec/project-types.json to name the pip form's pins as well
as the uv form's lockfile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pip form runs a tool at its requirements version only from the venv
of a directory declared in python-directories, so the assert says that
and keeps uvx at @latest for every other pip-form directory. Rename the
pip placeholder directory away from the lint-only Scripts vocabulary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the uvx fallback sentence, which stated a build-profile rule in an
assert scoped to the lint-only profile, and keep the pip form's clause
to the declared-directory case it actually describes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 16, 2026 00:02
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 16, 2026
@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6e822947-e5ae-4678-9ce3-cbb6a394280e
📥 Commits

Reviewing files that changed from the base of the PR and between 579a419 and 59f8b99.

📒 Files selected for processing: 3
  • .github/dependabot.yml
  • catalog/snippets/configs/dependabot.yml
  • spec/project-types.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ptr727

ptr727 commented Oct 16, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 47c6c48812947ac73cf7accf56a62a7a878c80a9, the content this pull request carries at that commit against develop, and it recorded 1 finding.

The hub's own dependabot.yml pointer and the setup.dependabot.ecosystems
assert each listed the snippet's language ecosystems, and both now name
pip beside nuget and uv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ptr727

ptr727 commented Oct 16, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 59f8b998f90b816e59a16d67301891d8ef138060, the content this pull request carries at that commit against develop, and it recorded 0 findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two unresolved documentation consistency comments remain.

2 open findings
What changed in this PR

Adds pip Dependabot coverage for Python projects using requirements*.txt and documents pip-managed tool versions.

Changes:

  • Adds pip entries for main and develop with tool exclusions.
  • Updates the Python project specification for pip-managed tools.
File Summary
spec/​project-types.json Documents pip build-profile tool version management.
catalog/​snippets/​configs/​dependabot.yml Adds pip Dependabot entries for main and develop.

🧠 Review effort: Lite


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread spec/project-types.json
Comment thread catalog/snippets/configs/dependabot.yml
@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@579a419). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3103   +/-   ##
==========================================
  Coverage           ?   61.21%           
==========================================
  Files              ?       17           
  Lines              ?     9062           
  Branches           ?        0           
==========================================
  Hits               ?     5547           
  Misses             ?     3515           
  Partials           ?        0           
Flag Coverage Δ
python-3.13 61.21% <ø> (?)

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Oct 16, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit 8931e9e into develop Oct 16, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/auto-3101 branch October 16, 2026 00:30
ptr727 added a commit that referenced this pull request Oct 16, 2026
… Fixes to Main (#3146)

- #3135 makes `gh-write-guard` read a gh write's subcommand and target
the way gh parses them: the subcommand is found past flags before the
command and before the subcommand, an `R` inside a short-option cluster
is read as a target, `GH_REPO` is read as a target, a run-time
repository owner on a write fails closed, and a run-time word where `pr`
or `merge` goes fails closed beside `--admin` or where word splitting
may split it
- #3139 releases the bootstrap lock when a `bootstrap.ps1` run ends
rather than when its process does, so a second run typed at the same
pwsh prompt is no longer refused the lock
- #3130 matches tool names and the `all` keyword by case in the Windows
agents loaders, as the Linux loaders already do
- #3128 reads CodeRabbit's rate limit on a reply to an explicit review
command in `pr_review.py`
- #3126 reconciles VSCode-Server-DotNetCore in the hub after its resync
- #3124 logs the Docker task's build-base leg in to Docker Hub
- #3122 names the carried skill and the skipped review correctly
- #3120 states the subprocess encoding rule in `CODESTYLE.md`, where
carriers read Python style
- #3118 and #3111 move the release-guard tests' workflow-command checks
onto `runner_commands`, and test the alternatives wiring at the
`audit_repo` and `fidelity_pass` call sites
- #3116 stops the doc gates' printed names forging workflow commands
- #3113 adds a catalog snippet for the release-with-smoke caller
- #3109 moves the `workflow_reuse` fetch onto `audit.contents_text`
- #3105 accepts `.codecov.yml` as an alternative to `codecov.yml`
- #3103 adds a pip ecosystem to the carried Dependabot snippet
- #3100 prefers the venv's ruff and pyright for a declared pip directory
- #3098 tracks composite action pins in Dependabot
- #3096 reads an uppercase Markdown suffix as Markdown at every prose
gate branch

After this merges, the host-safety installer payload changes, so the
maintainer runs the installer after promotion.

Closes #1416
Closes #1425
Closes #1578
Closes #1874
Closes #1892
Closes #1899
Closes #2804
Closes #2850
Closes #2852
Closes #2854
Closes #2996
Closes #3065
Closes #3067
Closes #3069
Closes #3079
Closes #3080
Closes #3089
Closes #3093
Closes #3101
Closes #3106
Closes #3107
Closes #3137

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added a pull-request smoke build that runs when relevant release files
change and reports the combined validation and build status.
* Repository audits now recognize `.codecov.yml` as an alternative to
`codecov.yml`.

* **Improvements**
* Python linting and type checks use tools from declared project
environments when available, with fallbacks for missing tools.
* Workflow and lint reports safely display unusual filenames and
command-like text.
* GitHub write-target checks now account for additional command forms
and fail closed when targets cannot be verified.
* Rate-limit detection now recognizes another CodeRabbit response
format.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants