Install setuptools directly in CI scripts before make targets
Belt-and-suspenders: ensure setuptools is in the cached venv before any Make target runs. Shell executor preserves env/ between builds but Python 3.12+ venvs lack setuptools. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a2e574d6b9
commit
37bffe29aa
1 changed files with 6 additions and 1 deletions
|
|
@ -9,7 +9,10 @@ test:
|
|||
tags: ["build"]
|
||||
except:
|
||||
- tags
|
||||
script: make test
|
||||
script:
|
||||
- make venv
|
||||
- env/bin/pip install setuptools
|
||||
- make test
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
@ -17,6 +20,8 @@ build:
|
|||
except:
|
||||
- tags
|
||||
script:
|
||||
- make venv
|
||||
- env/bin/pip install setuptools
|
||||
- make install-source-prod
|
||||
# Copy static assets to env/static
|
||||
- cp -pr remarkbox/static env/static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue