Skip to content

Commit bf36de1

Browse files
authored
Merge pull request #2026 from syedriko/syedriko-post-0.5.2
LCORE-2799: Post 0.5.2 fixes
2 parents f5a32fa + 39e9d5c commit bf36de1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Containerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ RUN set -eux; \
7070
RUN if [ -f /cachi2/cachi2.env ]; then \
7171
. /cachi2/cachi2.env && \
7272
python3.12 -c "import os,re;d=os.environ['PIP_FIND_LINKS'];fs=os.listdir(d);rp={re.split(r'-\d+-(?:cp|py|pp)',f)[0] for f in fs if f.endswith('.whl') and re.search(r'-\d+-(?:cp|py|pp)',f)};[os.remove(os.path.join(d,f)) for f in fs if f.endswith('.whl') and not re.search(r'-\d+-(?:cp|py|pp)',f) and f.rsplit('-',3)[0] in rp]" && \
73-
uv venv && \
73+
uv venv --python python3.12 && \
7474
. .venv/bin/activate && \
75-
pip3.12 install --no-cache-dir --ignore-installed --no-index --find-links ${PIP_FIND_LINKS} --no-deps -r requirements.hashes.wheel.txt -r requirements.hashes.wheel.pypi.txt -r requirements.hashes.source.txt && \
76-
pip3.12 check; \
75+
sed -i '/^--index-url/d' requirements.hashes.wheel.txt requirements.hashes.wheel.pypi.txt requirements.hashes.source.txt && \
76+
uv pip install --no-cache --reinstall --no-index --find-links ${PIP_FIND_LINKS} --no-deps -r requirements.hashes.wheel.txt -r requirements.hashes.wheel.pypi.txt -r requirements.hashes.source.txt && \
77+
uv pip check; \
7778
else \
7879
uv sync --locked --no-dev --group llslibdev; \
7980
fi

0 commit comments

Comments
 (0)