CI: do not self-upgrade pip in the test job

This commit is contained in:
inliver233
2026-09-22 20:01:04 +08:00
parent a1ada96cc3
commit 481089600d
+3 -1
View File
@@ -66,7 +66,9 @@ jobs:
# it, `check_budget.py` falls back to characters/constant, and the two paths must agree.
# Installing it here means CI exercises the real tokenizer path, and the unit test comparing
# both paths runs instead of skipping.
run: python -m pip install --upgrade pip pytest tiktoken
# Not upgrading pip itself: it is not a goal here, and a pip self-upgrade failing would be
# reported as this repository's regression.
run: python -m pip install --upgrade pytest tiktoken
- name: Structural gate - repository layout
run: python check_repo.py