Skip to content

feat: add support for uv build tool#1350

Merged
behnazh-w merged 5 commits intomainfrom
behnazh/add-uv-support
Apr 21, 2026
Merged

feat: add support for uv build tool#1350
behnazh-w merged 5 commits intomainfrom
behnazh/add-uv-support

Conversation

@behnazh-w
Copy link
Copy Markdown
Member

@behnazh-w behnazh-w commented Apr 8, 2026

Summary

This PR adds support for detecting uv as a Python build tool and improves Python build-tool reporting reliability.

Description of changes

  • Added build-tool detection support for uv in Python projects.
  • Improved pip detection behavior:
    • pip is now always reported for Python projects when relevant Python config files are present.
    • Detection confidence for pip is now adjusted to better reflect inferred vs explicit signals.
  • Updated detection logic to better handle multi-tool Python environments where tools can coexist.

Related issues

Closes #1083

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 8, 2026
@behnazh-w behnazh-w force-pushed the 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec branch 2 times, most recently from 7d3fc1c to c4031aa Compare April 13, 2026 06:40
@behnazh-w behnazh-w force-pushed the behnazh/add-uv-support branch from 24879cf to 907415f Compare April 16, 2026 03:57
@behnazh-w behnazh-w marked this pull request as ready for review April 17, 2026 01:21
@behnazh-w behnazh-w changed the base branch from 1300-enhancement---add-build-tool-name-to-each-command-in-build_commands-section-of-buildspec to main April 17, 2026 01:24
@behnazh-w behnazh-w force-pushed the behnazh/add-uv-support branch from 8857412 to b89c8ac Compare April 17, 2026 01:25
Comment thread src/macaron/slsa_analyzer/build_tool/uv.py Fixed
@behnazh-w behnazh-w force-pushed the behnazh/add-uv-support branch from 7cdf6e1 to 6f4b301 Compare April 20, 2026 04:12
@behnazh-w behnazh-w requested a review from nicallen April 20, 2026 04:49
Comment thread src/macaron/slsa_analyzer/build_tool/uv.py Outdated
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
@behnazh-w behnazh-w force-pushed the behnazh/add-uv-support branch from 3060ae9 to f644e99 Compare April 21, 2026 06:21
@behnazh-w behnazh-w merged commit 18a806a into main Apr 21, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] - Add support for the uv build tool

2 participants