Skip to content

fix: remove constraints.txt hard enforcement in deploy#217

Open
Pigbibi wants to merge 1 commit into
mainfrom
fix/remove-constraints-hard-enforcement
Open

fix: remove constraints.txt hard enforcement in deploy#217
Pigbibi wants to merge 1 commit into
mainfrom
fix/remove-constraints-hard-enforcement

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

修复

  • sync-cloud-run-env.yml 安装依赖时不再用 -c constraints.txt 硬约束 pip
  • 改为 pip install -r requirements.txt 让 pip 自行解析
  • constraints.txt SHA 漂移不再导致 deploy 失败

原因

constraints.txt 的 SHA 经常过期,导致 pip 安装时版本冲突(requirements.txt 写了一个 SHA,constraints.txt 写了另一个)。

🤖 Generated with Claude Code

- Replace -c constraints_url with simple pip install -r requirements.txt
- constraints.txt SHA drift was causing pip version conflicts
- Let pip resolve dependencies naturally without stale constraints

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant