From 5327c4f962545a05543436fa53299679f9b49a84 Mon Sep 17 00:00:00 2001 From: Bram Mittendorff Date: Wed, 2 Apr 2025 01:11:24 +0200 Subject: [PATCH] Fixed versions --- .dockerignore | 3 +-- .github/workflows/ci-cd.yml | 3 ++- Dockerfile | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.dockerignore b/.dockerignore index 17ac74d..9cfb6e2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,4 @@ -# Git -.git +# Git (keep .git for version detection) .gitignore .github diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 23568d9..02b2ab2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -174,7 +174,8 @@ jobs: - name: Build package if: matrix.python-version == '3.11' - run: python -m build + run: | + python -m build - name: Publish package if: matrix.python-version == '3.11' diff --git a/Dockerfile b/Dockerfile index 486760b..f6943ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,6 @@ RUN pip install --no-cache-dir -r requirements.txt # Copy source code for installation COPY . . -# Use setuptools_scm with the version passed from the build -ENV SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION - # Install the package RUN pip install --no-cache-dir .