Repository navigation
Fix BytePlus Studio deploy PyPI fallback - #1111
Merged
yaozheng-fang merged 2 commits intoSep 14, 2026
Merged
Conversation
yaozheng-fang
approved these changes
Sep 14, 2026
PolarisCzh
pushed a commit
to PolarisCzh/veadk-python
that referenced
this pull request
Sep 29, 2026
* fix: add PyPI fallback for BytePlus Studio deploy * chore: rerun BytePlus Studio deploy checks Co-authored-by: TRAE CLI <traecli@bytedance.com>
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.
背景
BytePlus Studio 在不使用
--from-source部署时,函数在线依赖安装由 VeFaaS 平台侧执行,并使用 BytePlus 内部 PyPI 镜像https://mirrors.ivolces.com/pypi/simple。当该镜像未同步目标veadk-python版本时,指定--veadk-version会在依赖安装阶段直接失败;不指定版本时也存在 resolver 选到旧版本、与本地 CLI 生成的run.sh不兼容的风险。改动
--from-source的 Studio 部署路径中,在生成的requirements.txt顶部加入--extra-index-url https://pypi.org/simple。--from-source部署路径不变。验证
.venv/bin/pre-commit run --files veadk/cli/cli_frontend.py tests/cli/test_studio_deploy_target.py.venv/bin/python -m pytest tests/cli/test_studio_deploy_target.py -k 'byteplus_wires_provider_to_cloud_engine_and_package or from_source_bundles_unmirrored_dependencies'\n\n## 说明\n\n这个改动用于验证/缓解 BytePlus 内部镜像未同步veadk-python最新版本时的部署失败。如果 BytePlus 构建环境无法访问 PyPI,仍需要平台侧同步内部镜像或改为随部署包携带 wheel。