From bd13dfd1a3d37e37cb112a1dbe51010255aa007b Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Fri, 10 Apr 2026 15:04:12 +0200 Subject: [PATCH 1/2] Remove legacy release workflows --- .../{release-new.yml => auto-release.yml} | 4 +- .github/workflows/release-drafter.yml | 24 ------ .github/workflows/release.yml | 83 ------------------- uv.lock | 4 +- 4 files changed, 5 insertions(+), 110 deletions(-) rename .github/workflows/{release-new.yml => auto-release.yml} (99%) delete mode 100644 .github/workflows/release-drafter.yml delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release-new.yml b/.github/workflows/auto-release.yml similarity index 99% rename from .github/workflows/release-new.yml rename to .github/workflows/auto-release.yml index 86e17c123..6b20a51eb 100644 --- a/.github/workflows/release-new.yml +++ b/.github/workflows/auto-release.yml @@ -189,6 +189,8 @@ jobs: VERSION="${{ steps.latest_release.outputs.version }}" sed -i "s/^version = \".*\"$/version = \"${VERSION}\"/" pyproject.toml grep '^version = ' pyproject.toml + # Update lockfile + uv sync - name: Commit and push version bump env: @@ -200,7 +202,7 @@ jobs: else git config user.name "${RELEASE_BOT_NAME}" git config user.email "${RELEASE_BOT_EMAIL}" - git add pyproject.toml + git add pyproject.toml uv.lock # Include [skip ci] to avoid running the workflow again on this bot commit. git commit -m "chore(release): set pyproject version to ${{ steps.latest_release.outputs.version }} [skip ci]" git push origin HEAD:main diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index 842d3cf55..000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Release Drafter - -on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - -permissions: {} -jobs: - update_release_draft: - permissions: - pull-requests: write # to add label to PR (release-drafter/release-drafter) - contents: write # to create a github release (release-drafter/release-drafter) - - runs-on: ubuntu-latest - steps: - # Drafts your next Release notes as Pull Requests are merged into "master" - - uses: release-drafter/release-drafter@v5 - with: - # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml - config-name: release-drafter-config.yml - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index ed0dcdcc2..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,83 +0,0 @@ -name: Publish Release - -on: - release: - types: [published] - -env: - PYTHON_VERSION: "3.11" - UV_VERSION: "0.7.13" - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Check out repository - uses: actions/checkout@v6 - - - name: Install Python - uses: actions/setup-python@v6 - with: - python-version: ${{ env.PYTHON_VERSION }} - - - name: Install uv - uses: astral-sh/setup-uv@v6 - with: - version: ${{ env.UV_VERSION }} - enable-cache: true - python-version: ${{ env.PYTHON_VERSION }} # sets UV_PYTHON - cache-dependency-glob: | - pyproject.toml - uv.lock - - - name: Install dependencies - run: | - uv sync --frozen - - - name: Build package - run: uv build - - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: dist - path: dist/ - - publish: - needs: build - runs-on: ubuntu-latest - - steps: - - name: Check out repository - uses: actions/checkout@v6 - - - name: Install Python - uses: actions/setup-python@v6 - with: - python-version: ${{ env.PYTHON_VERSION }} - - - name: Install uv - uses: astral-sh/setup-uv@v6 - with: - version: ${{ env.UV_VERSION }} - enable-cache: true - python-version: ${{ env.PYTHON_VERSION }} # sets UV_PYTHON - cache-dependency-glob: | - pyproject.toml - uv.lock - - - name: Install dependencies - run: | - uv sync --frozen - - - name: Download build artifacts - uses: actions/download-artifact@v4 - with: - name: dist - path: dist/ - - - name: Publish to PyPI - env: - UV_PUBLISH_TOKEN: ${{ secrets.PYPI }} - run: uv publish \ No newline at end of file diff --git a/uv.lock b/uv.lock index ee14c6e20..64dd21664 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 2 +revision = 3 requires-python = ">=3.9.2, <3.15" resolution-markers = [ "python_full_version >= '3.14'", @@ -5176,7 +5176,7 @@ wheels = [ [[package]] name = "redisvl" -version = "0.16.0" +version = "0.17.0" source = { editable = "." } dependencies = [ { name = "jsonpath-ng" }, From 05a8408155c8eaa124b3ddb81f48ff0b82859d64 Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Fri, 10 Apr 2026 15:09:47 +0200 Subject: [PATCH 2/2] Ignore lockfile update for complexity [skip ci] --- .github/workflows/auto-release.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 6b20a51eb..86e17c123 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -189,8 +189,6 @@ jobs: VERSION="${{ steps.latest_release.outputs.version }}" sed -i "s/^version = \".*\"$/version = \"${VERSION}\"/" pyproject.toml grep '^version = ' pyproject.toml - # Update lockfile - uv sync - name: Commit and push version bump env: @@ -202,7 +200,7 @@ jobs: else git config user.name "${RELEASE_BOT_NAME}" git config user.email "${RELEASE_BOT_EMAIL}" - git add pyproject.toml uv.lock + git add pyproject.toml # Include [skip ci] to avoid running the workflow again on this bot commit. git commit -m "chore(release): set pyproject version to ${{ steps.latest_release.outputs.version }} [skip ci]" git push origin HEAD:main