Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ jobs:
refused "networkPolicy.egressExcept must be a list of CIDRs" --set networkPolicy.egressExcept=
refused "networkPolicy.egressExcept must be a list of CIDRs" --set networkPolicy.egressExcept=0
- name: install PyYAML for the render gates
run: python3 -m pip install --quiet --user pyyaml==6.0.3
run: |
python3 -m pip install --quiet --user --require-hashes --only-binary=:all: -r scripts/gates/requirements.txt
# What the extractor's pods can be reached by and reach, read off the render.
- name: extractor isolation
run: python3 scripts/gates/helm_extractor_isolation.py
Expand Down Expand Up @@ -1392,8 +1393,9 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: ${{ matrix.python }}
- name: Install uv
run: pip install uv
- uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
with:
version: ${{ env.UV_VERSION }}
- name: Build wheel + sdist
run: uv build sdk/python --out-dir dist
- name: Install the wheel into a clean venv
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dify-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"
- run: python -m pip install -r requirements.txt pytest
- run: |
python -m pip install --require-hashes --only-binary=:all: -r requirements-test.txt
working-directory: integrations/dify
- run: python -m pytest tests -q
working-directory: integrations/dify
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/docker-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
"scripts/gates/testsupport/cell_trigger/**",
"bench/cell_trigger_gate.py",
"tests/unit/test_cell_trigger_ci_creator.py",
"scripts/gates/sandbox-requirements.*",
"frontend/**",
"tests/fixtures/docker_provider_app.py",
"scripts/install-code-toolchains.sh",
Expand Down Expand Up @@ -57,6 +58,7 @@ on:
"scripts/gates/testsupport/cell_trigger/**",
"bench/cell_trigger_gate.py",
"tests/unit/test_cell_trigger_ci_creator.py",
"scripts/gates/sandbox-requirements.*",
"frontend/**",
"tests/fixtures/docker_provider_app.py",
"scripts/install-code-toolchains.sh",
Expand Down Expand Up @@ -250,7 +252,8 @@ jobs:
dev/apparmor_check.sh dev/docker-compose.colour.yml
# The image has no test runner; the versions are uv.lock's.
- name: Install pytest for the container
run: python3 -m pip install --target "$RUNNER_TEMP/pylib" pytest==9.1.1 pytest-asyncio==1.4.0
run: |
python3 -m pip install --target "$RUNNER_TEMP/pylib" --require-hashes --only-binary=:all: -r scripts/gates/sandbox-requirements.txt
- name: Probe and hostile suite under the profile
run: |
opts=(--rm --network none --user loom
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
- name: Sync the Python SDK version to the tag
id: sync-python
run: |
pip install packaging==26.3
python -m pip install --require-hashes --only-binary=:all: -r scripts/release/requirements.txt
python - <<'PY'
import os, pathlib, re
from packaging.version import Version
Expand All @@ -275,7 +275,7 @@ jobs:
sed -i "s/export const SDK_VERSION = \".*\";/export const SDK_VERSION = \"$VERSION\";/" src/version.ts
- name: Build Python sdist + wheel
run: |
pip install build==1.6.1
python -m pip install --require-hashes --only-binary=:all: -r scripts/release/requirements.txt
python -m build sdk/python --outdir release/python
- name: npm ci
working-directory: sdk/typescript
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
# plugin zips without tests and with the executable bits git records.
- name: Files carry this version and the expected contents
run: |
pip install packaging==26.3
python -m pip install --require-hashes --only-binary=:all: -r scripts/release/requirements.txt
python - <<'PY'
import json, os, pathlib, subprocess, sys, tarfile, zipfile
from packaging.version import Version
Expand Down
2 changes: 1 addition & 1 deletion bench/docparse/Dockerfile.tools
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:bookworm-slim
FROM debian:bookworm-slim@sha256:734a72b3d6142a71993b4bc580ca01d8ca687f77a2c422d96a961d3376b179bc
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libreoffice-writer-nogui libreoffice-impress-nogui chromium poppler-utils \
fonts-dejavu fonts-liberation fonts-noto-core && rm -rf /var/lib/apt/lists/*
2 changes: 1 addition & 1 deletion examples/course-starter/.devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ set -eu
sudo apt-get update -qq
sudo apt-get install -y -qq python3-venv
python3 -m venv .venv
.venv/bin/pip install --quiet -r requirements.txt
.venv/bin/pip install --quiet --require-hashes --only-binary=:all: -r requirements.lock

sh .devcontainer/start-loom.sh

Expand Down
33 changes: 33 additions & 0 deletions examples/course-starter/requirements.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
anyio==4.16.0 \
--hash=sha256:59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb \
--hash=sha256:c66ae634e0b8228396b801741beb3294326d4b6102f7bba4041c0dfb58c29026
certifi==2026.10.23 \
--hash=sha256:a9895e6e2758b371e0545e321a3a8fd1fcfd9829ada8824a936dfb16aaaf36cd \
--hash=sha256:e9b54de76e530bb6cf0ccd036787103acb58fd42ba930ea8bf948ddbaa2f61d1
clickhouse-loom==1.2.0 \
--hash=sha256:495103b86816bd7cbaa5e61a0a8af4dd56cf623ec30c1f0d6d10292d722615db \
--hash=sha256:d1635b3f3c2cc5c3028a385edb790b014e457b9cc337967962f560e56846e2aa
h11==0.16.0 \
--hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
--hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86
h2==4.4.1 \
--hash=sha256:0e25f1462b23c9cb82d9eb02e28bc706dac2a68cb457c6a0d74d63c8a2a5d0e6 \
--hash=sha256:4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516
hpack==4.2.0 \
--hash=sha256:0895cfa3b5531fc65fe439c05eb65144f123bf7a394fcaa56aa423548d8e45c0 \
--hash=sha256:858ac0b02280fa582b5080d68db0899c62a80375e0e5413a74970c5e518b6986
httpcore==1.0.9 \
--hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \
--hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8
httpx==0.28.1 \
--hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
--hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
hyperframe==6.1.0 \
--hash=sha256:b03380493a519fce58ea5af42e4a42317bf9bd425596f7a0835ffce80f1a42e5 \
--hash=sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08
idna==3.20 \
--hash=sha256:a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44 \
--hash=sha256:ab7ae7122974553370f0bdb919e1a960b2cd1bc1ef0276416d896db81c14582c
typing-extensions==4.16.0 ; python_full_version < '3.15' \
--hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
--hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
2 changes: 2 additions & 0 deletions integrations/dify/requirements-test.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-r requirements.txt
pytest==9.1.1
Loading
Loading