From 70161b8f07b498ac40667b35d001c822d03cd350 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Wed, 30 Aug 2023 14:58:13 +0100
Subject: [PATCH] CI: fix images/commands used for pypi dist build job

---
 .ci/build_pypi_dist.sh | 2 --
 .gitlab-ci.yml         | 3 +--
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/.ci/build_pypi_dist.sh b/.ci/build_pypi_dist.sh
index 07557488b..71148b2e3 100644
--- a/.ci/build_pypi_dist.sh
+++ b/.ci/build_pypi_dist.sh
@@ -2,8 +2,6 @@
 
 set -e
 
-source /test.venv/bin/activate
-
 pip install --upgrade pip wheel setuptools twine build
 
 python -m build
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 72f2d3d13..1573c47fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -180,7 +180,7 @@ test:3.11:
 
 test:build-pypi-dist:
   stage: test
-  image: pauldmccarthy/fsleyes-py310-wxpy4-gtk3
+  image: python:3.10
   except:
     - tags
 
@@ -188,7 +188,6 @@ test:build-pypi-dist:
     - docker
 
   script:
-   - source /test.venv/bin/activate
    - bash ./.ci/build_pypi_dist.sh
 
 
-- 
GitLab