Repository navigation
ci: add pip-audit gate, drop EOL Python 3.10, add Dependabot - #97
Merged
Merged
Conversation
- Add a 'Dependency audit' job running pip-audit against the exported uv.lock, failing CI on any known advisory. Currently 0 vulnerabilities. - Drop near-EOL Python 3.10 from CI: linting job 3.10 -> 3.12, and the test matrix is now [3.11, 3.12, 3.13]. - Add .github/dependabot.yml for pip (uv) + github-actions (grouped). Verified locally: 'uv export | pip-audit' reports no known vulnerabilities. Note: 'requires-python' in pyproject.toml is still '>=3.10,<3.14'. If 3.10 is formally being dropped, that should be bumped to '>=3.11' in a follow-up (a packaging/support decision left out of this CI change).
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit cd9cdc4. Configure here.
Bugbot flagged that 'package-ecosystem: pip' updates pyproject.toml but not uv.lock. This repo is uv-managed (uv.lock, no requirements.txt) and installs/ audits from the lockfile, so pip-ecosystem PRs would leave uv.lock stale. Switch to the 'uv' ecosystem, which updates pyproject.toml and uv.lock together.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
Brings
pinecone-datasetsto the standard CI bar. Existing CI already runs ruff format check, ruff lint, mypy, and pytest with coverage across a Python matrix (uv-based, least-privilege). This PR:pip-auditagainst the exporteduv.lock, failing CI on known advisories.[3.11, 3.12, 3.13](per the goal of not testing EOL runtimes)..github/dependabot.yml— weekly pip (uv) + github-actions updates (grouped).Verification (local)
uv export --format requirements-txt --all-extras | pip-audit -r→ No known vulnerabilities found ✅.Follow-up (your call)
requires-pythonis still>=3.10,<3.14. If 3.10 is being formally dropped, bump it to>=3.11in a separate packaging PR — I left that out since it changes the published support policy.🤖 Generated with Claude Code
Note
Low Risk
CI and automation-only changes; no runtime application logic, though dropping 3.10 from the matrix changes which Python versions are validated before release.
Overview
Raises the CI bar with automated dependency hygiene and narrower Python coverage.
A new Dependency audit job exports locked requirements from
uv.lockand runspip-audit, so CI fails on known advisories in resolved dependencies. Lint/type-check now runs on Python 3.12 (was 3.10), and the test matrix is 3.11–3.13 only—3.10 is no longer exercised in CI (packagingrequires-pythonmay still allow 3.10 until a follow-up).Dependabot is added via
.github/dependabot.ymlfor weekly uv updates (minor/patch grouped, cap 10 open PRs) and GitHub Actions updates (cap 5).Reviewed by Cursor Bugbot for commit 61996a3. Bugbot is set up for automated code reviews on this repo. Configure here.