Locks python dependencies for CI into a requirements.txt file and cache the dependencies#1037
Open
n0madsky wants to merge 2 commits intoSemiAnalysisAI:mainfrom
Open
Locks python dependencies for CI into a requirements.txt file and cache the dependencies#1037n0madsky wants to merge 2 commits intoSemiAnalysisAI:mainfrom
n0madsky wants to merge 2 commits intoSemiAnalysisAI:mainfrom
Conversation
Captures all dependencies needed by utils/ scripts (pydantic, pyyaml, tabulate, pytest and transitive deps) which were previously only declared implicitly in CI workflow files. Frozen from .venv on Python 3.14.4. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- rewrite `utils/requirements.txt` to direct exact pins - replace scattered workflow `pip install` commands with `pip install -r utils/requirements.txt` - add `setup-python` and pip caching to affected ubuntu-latest jobs - widen targeted test workflow triggers for requirements changes - clean up a few simple workflow shellcheck issues
79be5ff to
1640e0f
Compare
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.
Summary
Consolidate the CI-side Python dependency installs for
utils/into a sharedutils/requirements.txtfile, and update the affected workflows to install from that file instead of using scattered ad-hocpip installcommands.This also makes the Python setup more consistent across the touched workflows by adding
actions/setup-pythonand pip caching where appropriate, broadens the targeted test workflow triggers so requirements changes are exercised, and cleans up a few simple workflow shellcheck issues.Changes
utils/requirements.txtto use direct exact pins for the shared CI/test dependenciespip install ...usage withpip install -r utils/requirements.txtactions/setup-pythonto affectedubuntu-latestjobs that run Python or piputils/requirements.txtas the dependency pathtest-process-result.ymlandtest-matrix-logic.ymlto trigger whenutils/requirements.txtchangesrun:stepsValidation
python:3.12-slimmatrix_logicpytest suite successfullyactionlintruns and reports only remaining shellcheck findings in existing complex workflow shell blocks