diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae98bfadb..625f0e1f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: true - name: Install dependencies(only dev group) run: uv sync --only-group dev @@ -53,7 +52,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: true - name: Install dependencies(only dev group) run: uv sync --only-group dev @@ -72,7 +70,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: true - name: Install dependencies run: | @@ -109,7 +106,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: true - name: Install dependencies run: | @@ -146,7 +142,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: true python-version: '3.11' - name: Install dependencies @@ -190,7 +185,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: true # python-version: ${{ matrix.python-version }} python-version: '3.11' diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e2ba56b97..9c3cb8774 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -51,7 +51,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" python-version: "3.11" - name: Build prose-only HTML @@ -82,7 +81,6 @@ jobs: - name: Install uv uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" python-version: "3.11" - name: Install system deps diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5587bd17a..75a735227 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,6 @@ jobs: persist-credentials: false - uses: astral-sh/setup-uv@v8.0.0 with: - version: "0.12.5" enable-cache: false - name: Verify tag matches project version if: startsWith(github.ref, 'refs/tags/v') diff --git a/Dockerfile b/Dockerfile index b6f22e944..4a0789220 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ libsm6 \ && rm -rf /var/lib/apt/lists/* -RUN curl -LsSf https://astral.sh/uv/0.12.5/install.sh | sh +RUN curl -LsSf https://astral.sh/uv/install.sh | sh WORKDIR /workspace/UniLab diff --git a/docs/sphinx/source/changelog.md b/docs/sphinx/source/changelog.md index 4d83eb73b..5953cb097 100644 --- a/docs/sphinx/source/changelog.md +++ b/docs/sphinx/source/changelog.md @@ -15,6 +15,15 @@ PyPI 版本变更与未发布变更;发布日期采用 PyPI 上传日期。完 ## 1.3.3 (2026-09-27) +### Changed / 变更 + +- Removed the repository-wide uv version pin: projects no longer require + `uv==0.12.5`, CI and Docker use the standard uv installation path, and + dependency reproducibility remains provided by `uv.lock` + ([#1809](https://github.com/Motphys/UniLab/issues/1809)). + 移除仓库级 uv 版本限制:项目不再要求 `uv==0.12.5`,CI 与 Docker 使用 + 标准 uv 安装路径;依赖可复现性仍由 `uv.lock` 提供(#1809)。 + ### Added / 新增 - Added the WarpSAC off-policy algorithm shipped by unilab-rl 1.4.0: the diff --git a/docs/sphinx/source/en/1-getting_started/2-installation.md b/docs/sphinx/source/en/1-getting_started/2-installation.md index a6b1282bd..402bee672 100644 --- a/docs/sphinx/source/en/1-getting_started/2-installation.md +++ b/docs/sphinx/source/en/1-getting_started/2-installation.md @@ -29,8 +29,8 @@ live in the getting-started and algorithm pages. ## Clone And Sync ```bash -# Linux / macOS (the repository pins uv via [tool.uv] required-version): -curl -LsSf https://astral.sh/uv/0.12.5/install.sh | sh +# Linux / macOS: +curl -LsSf https://astral.sh/uv/install.sh | sh # Windows PowerShell: # powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" diff --git a/docs/sphinx/source/zh_CN/1-getting_started/2-installation.md b/docs/sphinx/source/zh_CN/1-getting_started/2-installation.md index a3cf2ada2..18c6bcf36 100644 --- a/docs/sphinx/source/zh_CN/1-getting_started/2-installation.md +++ b/docs/sphinx/source/zh_CN/1-getting_started/2-installation.md @@ -26,8 +26,8 @@ ## 克隆与同步 ```bash -# Linux / macOS(仓库通过 [tool.uv] required-version 固定 uv 版本): -curl -LsSf https://astral.sh/uv/0.12.5/install.sh | sh +# Linux / macOS: +curl -LsSf https://astral.sh/uv/install.sh | sh # Windows PowerShell: # powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" diff --git a/pyproject.rocm.toml b/pyproject.rocm.toml index 67acbbb57..06a41e451 100644 --- a/pyproject.rocm.toml +++ b/pyproject.rocm.toml @@ -93,7 +93,6 @@ triton-rocm = [ ] [tool.uv] -required-version = "==0.12.5" exclude-dependencies = [ "torchvision", "nvidia-cublas-cu12", diff --git a/pyproject.toml b/pyproject.toml index fad2efaca..3cc946390 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -133,7 +133,6 @@ torch = [ ] [tool.uv] -required-version = "==0.12.5" exclude-dependencies = ["torchvision"] required-environments = [ "sys_platform == 'darwin' and platform_machine == 'arm64'",