ci: add pip caching and bump Python on macOS/Windows#939
Merged
igorls merged 2 commits intoMemPalace:developfrom Apr 25, 2026
Merged
ci: add pip caching and bump Python on macOS/Windows#939igorls merged 2 commits intoMemPalace:developfrom
igorls merged 2 commits intoMemPalace:developfrom
Conversation
Contributor
Author
|
@igorls would appreciate your eyes on this when you get a chance. |
Enable setup-python's built-in pip cache on all CI jobs to avoid re-downloading ~300 MB of dependencies (chromadb, onnxruntime, hnswlib) on every run. Bump macOS and Windows from Python 3.9 to 3.11 -- Linux matrix already covers 3.9 compatibility, and 3.11 is faster on these platforms.
cefb20b to
b291d2a
Compare
This was referenced Apr 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
setup-python's built-incache: 'pip'on all four CI jobs (test-linux, test-windows, test-macos, lint). Avoids re-downloading ~300 MB of dependencies (chromadb, onnxruntime, hnswlib) on every run.Why
test-windows typically takes 3m30s–5m vs ~1m30s on Linux. Dependency installation accounts for ~95 MB of wheel downloads per push, which
cache: 'pip'avoids on subsequent runs.Related
#277 also proposes bumping Windows to 3.11 (as part of a broader CI restructure). This PR is a smaller, standalone change that can land independently.
Test plan
cache: 'pip'active on all four jobs (visible in theSet up Pythonstep)