From 1efb9914ee498d9829727d9292de6ee56ebe32e9 Mon Sep 17 00:00:00 2001 From: Bert Date: Mon, 2 Dec 2024 14:05:29 -0500 Subject: [PATCH] ci: fix failing python release (#1896) Fix failing python release for windows: https://github.com/lancedb/lancedb/actions/runs/12019637086/job/33506642964 Also updates pkginfo to fix twine build as suggested here: https://github.com/pypi/warehouse/issues/15611 failing release: https://github.com/lancedb/lancedb/actions/runs/12091344173/job/33719622146 --- .github/workflows/pypi-publish.yml | 2 +- .github/workflows/upload_wheel/action.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 98e39675..6a725824 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -83,7 +83,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.12 - uses: ./.github/workflows/build_windows_wheel with: python-minor-version: 8 diff --git a/.github/workflows/upload_wheel/action.yml b/.github/workflows/upload_wheel/action.yml index 62082ad6..6eacc6b0 100644 --- a/.github/workflows/upload_wheel/action.yml +++ b/.github/workflows/upload_wheel/action.yml @@ -17,6 +17,7 @@ runs: run: | python -m pip install --upgrade pip pip install twine + python3 -m pip install --upgrade pkginfo - name: Choose repo shell: bash id: choose_repo