From a006b98788903fc38614f8bf028509c1c529cf93 Mon Sep 17 00:00:00 2001 From: Nicole Gomes Date: Thu, 15 Oct 2026 16:32:09 +0200 Subject: [PATCH] fix: release action --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5b375b96..ad079056 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -159,7 +159,7 @@ jobs: - name: Check version does not already exist on PyPI run: | - PKG_NAME=$(python3 -c "import toml; print(toml.load('pyproject.toml')['project']['name'])") + PKG_NAME=$(python3 -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['name'])") VERSION="${{ needs.parse.outputs.version }}" HTTP=$(curl -s -o /dev/null -w "%{http_code}" "https://pypi.org/pypi/$PKG_NAME/$VERSION/json") if [[ "$HTTP" == "200" ]]; then