From 1645db6f1449e707dd837fa1013b56ec47eb0cf8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@ericsson.com>
Date: Wed, 21 Aug 2024 14:00:20 +0200
Subject: [PATCH] fix build

---
 .gitlab-ci.yml         | 3 +--
 snakehouse/__init__.py | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 592005f..f52cee6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,7 +67,7 @@ test_python311:
 build_python:
   stage: build
   before_script:
-    - pip install --break-system-packages --upgrade Cython setuptools pip
+    - pip install --break-system-packages --upgrade Cython setuptools pip twine
   script:
     - python setup.py bdist_wheel
     - mv dist/*.whl .
@@ -75,7 +75,6 @@ build_python:
     paths:
       - "*.whl"
   after_script:
-    - pip install twine
     - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi *.whl
   only:
     - tags
diff --git a/snakehouse/__init__.py b/snakehouse/__init__.py
index 383b324..b0a3979 100644
--- a/snakehouse/__init__.py
+++ b/snakehouse/__init__.py
@@ -3,4 +3,4 @@ from .multibuild import Multibuild, find_all
 from .faster_builds import monkey_patch_parallel_compilation
 from .requirements import read_requirements_txt, find_c, find_pyx_and_c, find_pyx
 
-__version__ = '2.0'
\ No newline at end of file
+__version__ = '2.0'
-- 
GitLab