Repository navigation
Conversation
PR SummaryLow Risk Overview FOSSA compatibility: Dependencies & release: Version is bumped to 2.16.1. Reviewed by Cursor Bugbot for commit 282b7bd. Configure here. |
0d0e97f to
0b7555c
Compare
|
bugbot run |
0b7555c to
e7ea402
Compare
Remove the manual dispatch trigger and its inputs from the PR preview workflow. Previews are published from the publish-preview and publish-docker-preview labels. Read the FOSSA CVSS base metric prop keys from a table instead of repeating an inline lookup per metric. The emitted metrics are unchanged. Bump the version to 2.16.1.
Both depend on virtualenv, which brings filelock into uv.lock, so every filelock advisory lands on this lockfile even though the CLI never imports it. Neither needs to live in the project environment: CI installs its own hatch through the setup-hatch action, `uv build` calls the hatchling backend from build-system directly, and pre-commit builds a separate environment for each hook. Remove hatch and pre-commit from the dev extra, along with the dependency group that held a second pre-commit requirement. The contributor docs use `uv build` and install pre-commit as a uv tool.
9fb30b6 to
282b7bd
Compare
|
bugbot run |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 282b7bd. Configure here.
PR preview workflow
Removes the manual
workflow_dispatchtrigger and its inputs fromPublish PR Preview. Thepublish-previewandpublish-docker-previewlabel triggers are unchanged and are now the only way to publish previews.What goes away:
sdk_preview_versioninput for Docker previews.Dockerfile.previewstill accepts--build-arg SDK_PREVIEW_VERSION=...for local builds.CONTRIBUTING.mdis updated to match.FOSSA CVSS metrics
_build_metricsinsocketsecurity/fossa_compat.pyreads the CVSS base metric prop keys from a module-level_CVSS_METRIC_FIELDStable instead of eight inlineprops.get("...")calls. The emitted metrics are unchanged.Development dependencies
Removes
hatchandpre-commitfrom thedevextra, along with the[dependency-groups]table that held a secondpre-commitrequirement. Both depend onvirtualenv, which broughtfilelockintouv.lock. The CLI never importsfilelock, but everyfilelockadvisory still landed on this repository (40 since October 23).uv.lockdropsfilelock,virtualenv,python-discovery,hatch,pre-commitand the rest of their trees.CONTRIBUTING.mdbuilds withuv build, which calls the samehatchlingbackend from[build-system].docs/development.mdinstallspre-commitwithuv tool install pre-commitrather thanuv add --dev. pre-commit builds its own environment for each hook, so thesync-versionhook runs unchanged.setup-hatchaction installs its own pinnedhatchwithpip, and the lint job only usesrufffrom the extra.Version
Bumped to 2.16.1 because 2.16.0 is on PyPI and Version Check requires the version to be ahead of it. There is no changelog entry, since nothing changes for CLI users; the next release with user-facing changes adds the 2.16.1 section.
Testing
uv run pytest: 1183 passeduv buildandtwine checkpass on the wheel and sdistuvx pre-commit run --all-filesruns thesync-versionhook from a tool installuv run --extra test pytest tests/unit: 730 passedactionlint: no new findings (it still reports the existing$/self-repouses:syntax)zizmor --offline .github/workflows/pr-preview.yml: no findings