From 8f35ca2bfaadcfd9255d3197f8d4423dc86b52fc Mon Sep 17 00:00:00 2001 From: Lucas Vittor Date: Tue, 5 May 2026 23:59:08 -0300 Subject: [PATCH] remove warnings --- .github/actions/setup-uv/action.yml | 9 +++++---- .github/workflows/publish-pypi.yml | 1 - .github/workflows/release.yml | 3 +-- pyproject.toml | 2 +- uv.lock | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/actions/setup-uv/action.yml b/.github/actions/setup-uv/action.yml index 403153e..9b73158 100644 --- a/.github/actions/setup-uv/action.yml +++ b/.github/actions/setup-uv/action.yml @@ -6,9 +6,10 @@ inputs: description: Python version to install required: false default: "3.12" - pyproject-file: - description: Path to the pyproject.toml driving the install - required: true + version-file: + description: Path to a file (typically pyproject.toml) declaring the pinned uv version + required: false + default: pyproject.toml cache-dependency-glob: description: Multiline glob of files to key the uv cache on. Leave empty to disable caching. required: false @@ -21,6 +22,6 @@ runs: with: enable-cache: ${{ inputs.cache-dependency-glob != '' }} ignore-nothing-to-cache: true - pyproject-file: ${{ inputs.pyproject-file }} + version-file: ${{ inputs.version-file }} python-version: ${{ inputs.python-version }} cache-dependency-glob: ${{ inputs.cache-dependency-glob }} diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index e41da50..a0ef857 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -34,7 +34,6 @@ jobs: uses: ./.github/actions/setup-uv with: python-version: ${{ inputs.python-version }} - pyproject-file: ${{ inputs.package-dir }}/pyproject.toml - name: Check if local version is greater than PyPI id: version_check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26fa684..bb023e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,6 @@ jobs: uses: ./.github/actions/setup-uv with: python-version: ${{ env.PYTHON_VERSION }} - pyproject-file: pyproject.toml cache-dependency-glob: | **/pyproject.toml **/uv.lock @@ -46,7 +45,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ steps.project_version.outputs.value }} - release_name: Release ${{ github.ref }} + name: Release ${{ steps.project_version.outputs.value }} draft: false prerelease: false diff --git a/pyproject.toml b/pyproject.toml index 0f884d5..b6b364d 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" requires-python = ">=3.12" name = "optimus" readme = "README.md" -version = "0.71.1" +version = "0.71.2" dependencies = [ "ipython>=8.10", "jupyterlab>=3.0", diff --git a/uv.lock b/uv.lock index 56fc1a0..24f8b02 100644 --- a/uv.lock +++ b/uv.lock @@ -2691,7 +2691,7 @@ wheels = [ [[package]] name = "optimus" -version = "0.71.1" +version = "0.71.2" source = { editable = "." } dependencies = [ { name = "adjusttext" },