Add support for uv package manager - #302
Open
Kymartin45 wants to merge 10 commits into
Open
Conversation
Kymartin45
marked this pull request as draft
August 23, 2026 19:22
Kymartin45
marked this pull request as ready for review
August 23, 2026 23:02
This comment has been minimized.
This comment has been minimized.
Kymartin45
force-pushed
the
Kymartin45/uv-sync-integration
branch
from
August 25, 2026 21:40
294fa5f to
dfa89a3
Compare
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.
Support uv package manager
Implements support for
uvpackage manager withuv syncanduv addintegration.Issue: #181
Usage
Configuring
uvalias:Syncing project dependencies:
Adding single dependency to a project:
Piping
scfwwith optional flags when installing single dependency in a dev dependency group withuv add:$ scfw --log-level DEBUG run uv add --dev urllib3==2.5.0 [SCFW] INFO: Starting Supply Chain Firewall on Sun Aug 23 16:00:29 2026 [SCFW] DEBUG: Command line: {'log_level': 'DEBUG', 'subcommand': <Subcommand.Run: 'run'>, 'package_manager': 'uv', 'dry_run': False, 'allow_on_warning': False, 'allow_unsupported': False, 'block_on_warning': False, 'error_on_block': False, 'executable': None, 'command': ['uv', 'add', '--dev', 'urllib3==2.5.0']} [SCFW] DEBUG: Module dd_logger does not export a logger [SCFW] INFO: Command: 'uv add --dev urllib3==2.5.0' [SCFW] DEBUG: Running uv command in temp project: /home/<user>/.local/bin/uv init --bare --name scfw-resolution [SCFW] DEBUG: Running uv command in temp project: /home/<user>/.local/bin/uv add urllib3==2.5.0 [SCFW] DEBUG: Running uv command in temp project: /home/<user>/.local/bin/uv export --format requirements.txt --no-hashes --no-emit-project -o /tmp/tmp_12flcnd/.scfw-requirements-76e63c73.txt --project /tmp/tmp_12flcnd [SCFW] INFO: Command would install: [urllib3-2.5.0] [SCFW] INFO: Using package verifiers: [PackageAgeVerifier, DatadogMaliciousPackagesVerifier, FindingsListVerifier, OsvVerifier] [SCFW] WARNING: PackageAgeVerifier: Unknown source for package urllib3-2.5.0: assuming PyPI registry source [SCFW] WARNING: DatadogMaliciousPackagesVerifier: Unknown source for package urllib3-2.5.0: assuming PyPI registry source [SCFW] WARNING: FindingsListVerifier: Unknown source for package urllib3-2.5.0: assuming PyPI registry source [SCFW] INFO: Verifier DatadogMaliciousPackagesVerifier had no findings for package urllib3-2.5.0 [SCFW] WARNING: OsvVerifier: Unknown source for package urllib3-2.5.0: assuming PyPI registry source [SCFW] INFO: Verifier FindingsListVerifier had no findings for package urllib3-2.5.0 [SCFW] INFO: Verifier PackageAgeVerifier had no findings for package urllib3-2.5.0 [SCFW] INFO: Verifier OsvVerifier had findings for package urllib3-2.5.0 [SCFW] INFO: Verification of packages complete Package urllib3-2.5.0: - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/GHSA-38jv-5279-wg99 - An OSV.dev advisory exists for package urllib3-2.5.0: * [Medium] https://osv.dev/vulnerability/PYSEC-2026-141 - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/PYSEC-2026-1994 - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/GHSA-2xpw-w6gg-jr37 - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/GHSA-qccp-gfcp-xxvc - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/GHSA-gm62-xv2j-4w53 - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/PYSEC-2026-1996 - An OSV.dev advisory exists for package urllib3-2.5.0: * [High] https://osv.dev/vulnerability/PYSEC-2026-1998 [?] Proceed with installation? (y/N): n The command was blocked. No changes have been made.Auditing all installed packages in the invoking environment: