From df225d32da81db87596a3ce7c040ad0f78709a7c Mon Sep 17 00:00:00 2001 From: Dax Pryce Date: Tue, 6 Feb 2024 11:13:43 -0800 Subject: [PATCH] Version bump 0.7.0rc2->0.7.0 (#510) * Version bump 0.7.0rc2->0.7.0 Preparing diskannpy for 0.7.0 release (filter support, static memory indices only) * Update pyproject.toml the GPG key from (presumably) 2019 is no longer valid * Update pyproject.toml * Update python-release.yml By default, GITHUB_TOKEN no longer has write permissions - you have to explicitly ask for it in the specific job that needs it. We use write permissions to update the Github release action that updates the published build artifacts with the results of the release flow. --- .github/workflows/python-release.yml | 2 ++ pyproject.toml | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index a0414f13b..a15d4d161 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -12,6 +12,8 @@ jobs: name: DiskANN Build Documentation uses: ./.github/workflows/build-python-pdoc.yml release: + permissions: + contents: write runs-on: ubuntu-latest needs: python-release-wheels steps: diff --git a/pyproject.toml b/pyproject.toml index 7a250e0d4..f6a39cfe7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ build-backend = "setuptools.build_meta" [project] name = "diskannpy" -version = "0.7.0rc2" +version = "0.7.0" description = "DiskANN Python extension module" readme = "python/README.md" @@ -48,9 +48,10 @@ test-command = "python -m unittest discover {project}/python/tests" [tool.cibuildwheel.linux] before-build = [ "dnf makecache --refresh", + "dnf upgrade -y almalinux-release", "dnf install -y epel-release", "dnf config-manager -y --add-repo https://yum.repos.intel.com/mkl/setup/intel-mkl.repo", - "rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB", + "rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB", "dnf makecache --refresh -y", "dnf install -y wget make cmake gcc-c++ libaio-devel gperftools-libs libunwind-devel clang-tools-extra boost-devel boost-program-options intel-mkl-2020.4-912" ]