chore(deps): bump safety-schemas 0.0.16 → 0.0.19#898
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s pinned safety-schemas dependency to pick up newer schema behavior (notably the switch to timezone-aware UTC timestamps by default), which affects how scan metadata timestamps are emitted by the CLI.
Changes:
- Bump
safety-schemasfrom0.0.16to0.0.19in project dependencies.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
0c332aa to
a568b7f
Compare
🚀 Artifacts — PR #898 by @gussotoridd
Download the wheel file and binaries with gh CLI or from the workflow artifacts. 📦 Install & RunPre-requisites# Install uv if needed
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create and enter artifacts directory
mkdir artifacts && cd artifactsQuick Test with Python Packagebash -c 'set -euo pipefail; echo; echo "WARNING: You are about to download and execute CI artifacts from PR #898 by @gussotoridd. Do NOT proceed unless you have reviewed the PR diff and trust the source."; echo; read -rp "Type I understand to continue: " C; [ "$C" = "I understand" ] || { echo "Aborted."; exit 1; }; gh run download 29854559218 -n dist -R pyupio/safety; uvx safety-*-py3-none-any.whl --version'Run other Safety commands as followsuvx safety-*-py3-none-any.whl auth status
uvx safety-*-py3-none-any.whl auth login
uvx safety-*-py3-none-any.whl scan
|
Summary
Bumps the pinned
safety-schemasdependency from0.0.16to0.0.19.0.0.19emits timezone-aware UTC scan timestamps (MetadataModel.timestampnow defaults viadefault_factoryreturningdatetime.now(timezone.utc)instead of a bare, timezone-naivedatetime.now()). Both fresh-emit sites in this repo — the scan decorator andinit_scan— constructMetadataModelwithout passingtimestamp, so they rely on that default; picking up0.0.19is what makes the CLI emit unambiguous UTC, which stops scan ingest from misreading naive stamps as UTC.API surface across
0.0.16 → 0.0.19is additive only (newPackageEcosystem/InstallationActionexports and installation config models); nothing this CLI imports was removed or renamed, and themodels.eventssubpackage it depends on is unchanged.Draft — do not merge until
safety-schemas==0.0.19is published to PyPI (pyupio/safety_schemas#43bumps the version; the tag/build/publish is a manual step after that merges). CI here will fail to resolve the dependency until then.