From 35019949c4c72cfe4d9a95db7108758d2c7944a1 Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Wed, 2 Aug 2023 20:50:17 +0000 Subject: workflows: build: remove setuptools_scm hack The SETUPTOOLS_SCM_PRETEND_VERSION was needed as ./setup.py would fail without it. As setuptools_scm will fail if there is not git repo, and the github workflow container does not include the source code git repo. A previous commit added "fallback_version" to setuptools_scm which instructs it to use the version from VERSION.txt when the git repo is missing. So this hack is no longer needed. Signed-off-by: Brandon Maier Signed-off-by: David Gibson --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 442d98b..c8db026 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,8 +30,8 @@ jobs: - name: Build run: | - SETUPTOOLS_SCM_PRETEND_VERSION="0" make + make - name: Run check run: | - SETUPTOOLS_SCM_PRETEND_VERSION="0" make check + make check -- cgit v1.1