From 67fa558c27c85faa2c7d1ee930ab9acabb60e9a6 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 16 Jan 2024 18:08:03 -0500 Subject: [PATCH] Workaround for now missing setuptools which are used in setup.py Ref: https://github.com/datalad/datalad-container/issues/254 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79d0be78..f6fbed37 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} pypi-token: ${{ secrets.PYPI_TOKEN }} pre-tag: | + pip install setuptools # needed for setup.py --version pkg="$(python setup.py --name)" printf '__version__ = "%s"\n' "$new_version" > "$pkg"/version.py git commit -m "Update __version__ to $new_version" "$pkg"/version.py