mirror of
https://github.com/langgenius/dify-sandbox.git
synced 2026-07-25 21:46:12 -04:00
[PR #181] feat: add uv runner
#190
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-sandbox/pull/181
Author: @gouzil
Created: 8/2/2025
Status: 🔄 Open
Base:
main← Head:feat/add_uv_runner📝 Commits (3)
75b9323feat: add uv runner8a34a1bclean codecf5472efix:UvMirrorURLspecified error📊 Changes
31 files changed (+1136 additions, -6 deletions)
View changed files
📝
build/build_amd64.sh(+4 -0)📝
build/build_arm64.sh(+4 -0)📝
cmd/dependencies/init.go(+8 -0)➕
cmd/lib/uv/main.go(+13 -0)📝
conf/config.yaml(+1 -0)📝
docker/generate.sh(+2 -0)📝
docker/templates/production.dockerfile(+2 -0)📝
docker/templates/test.dockerfile(+7 -0)📝
docker/versions.yaml(+1 -0)📝
internal/controller/run.go(+10 -4)➕
internal/core/lib/uv/add_seccomp.go(+66 -0)📝
internal/core/runner/types/runner_options.go(+2 -1)➕
internal/core/runner/uv/.gitignore(+1 -0)➕
internal/core/runner/uv/env.go(+51 -0)➕
internal/core/runner/uv/env.sh(+61 -0)➕
internal/core/runner/uv/prescript.py(+52 -0)➕
internal/core/runner/uv/setup.go(+63 -0)➕
internal/core/runner/uv/uv.go(+194 -0)➕
internal/core/runner/uv/uv.h(+81 -0)➕
internal/service/uv.go(+51 -0)...and 11 more files
📄 Description
motivation
I need a solution that can install dependency packages in real time, and I don't want it to cause dependency package conflicts.
feat
This pull request introduces support for a new
uv1 runtime environment in thedify-sandboxproject. The changes include adding build scripts, runtime initialization, dependency management, and configuration updates to integrate the UV runtime alongside existing Python and Node.js environments.known issue
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
https://docs.astral.sh/uv/ ↩︎