Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/pip_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
echo "ARCH=$(uname -m)" >> "$GITHUB_ENV"
- name: install
run: |
pip install --upgrade "pip<24.1"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Lockfile Drift Breaks Dependency Management

The workflow monitors requirements.txt for changes but only validates architecture-specific files. After changing requirements.txt from a simple reference file to a full lockfile, the workflow now fails to regenerate or validate it when dependencies change. This causes requirements.txt to drift from requirements-{arch}.txt files over time, potentially breaking installations.

Fix in Cursor Fix in Web

pip install pip-tools
pip-compile --quiet -o requirements-${{ env.ARCH }}.txt requirements.in
pip-compile --quiet -o requirements-dev-${{ env.ARCH }}.txt -c requirements-${{ env.ARCH }}.txt requirements-dev.in
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies = [
'ansible-lint~=24.2.2',
'boto3~=1.40',
'daphne~=4.1.2',
'Django~=4.2.25',
'Django~=4.2.26',
'django-deprecate-fields~=0.1.1',
'django-extensions~=3.2.1',
'django-health-check~=3.17.0',
Expand Down
2 changes: 1 addition & 1 deletion requirements-aarch64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ diff-match-patch==20230430
# via django-import-export
distro==1.9.0
# via llama-stack-client
django==4.2.25
django==4.2.26
# via
# -r requirements.in
# django-allow-cidr
Expand Down
2 changes: 1 addition & 1 deletion requirements-x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ diff-match-patch==20230430
# via django-import-export
distro==1.9.0
# via llama-stack-client
django==4.2.25
django==4.2.26
# via
# -r requirements.in
# django-allow-cidr
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ black==24.3.0
certifi@git+https://github.com/ansible/system-certifi@5aa52ab91f9d579bfe52b5acf30ca799f1a563d9
cryptography==43.0.1
daphne==4.1.2
Django==4.2.25
Django==4.2.26
django-deprecate-fields==0.1.1
django-extensions==3.2.1
django-health-check==3.17.0
Expand Down
Loading