Restore automatic PyPI Docker checks after the 1.2.0 release
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- docker, github-actions, python
- 领域
- ci-cd, documentation, testing
调研方向
Start with docker_build.yml and tests/unit/infra/test_docker_ci.py; review the workflow conditions and event cases described in the issue. After 1.2.0 is published, validate the wheel and run the specified PyPI checks before restoring automatic runs. Update the Docker CI and release documentation, and confirm a main push runs the checks while PRs, merge-queue runs, and release-branch pushes remain skipped.
由索引模型根据 Issue 内容生成。
描述
Context
Follow-up to #2969 and Hannah's review comment.
The PyPI Docker lane is being temporarily restricted to manual workflow dispatches. The latest published release, 1.1.0, predates the compatibility mechanism introduced in #2829. Its wheel includes a frontend but lacks pyrit/_compatibility.py, pyrit/_compatibility.json, and pyrit/backend/frontend/compatibility.json, so the production image predictably fails after building the devcontainer and installing the package.
The pause avoids repeating that expensive failure on every main push. It must not become a permanent loss of automatic published-release coverage.
After publishing 1.2.0
- Verify the actual published
1.2.0wheel contains the compatibility module, Python stamp, packaged frontend, and matching frontend stamp from one clean source commit. Do not generate replacement stamps during Docker installation. - Manually run
docker_build.ymlwithpypiVersion=1.2.0and confirm the PyPI production image, import, GUI, and Jupyter checks pass with the production compatibility guard enabled. - Run the workflow without an override and confirm it selects and exercises the latest stable, non-yanked published release successfully.
- Restore
github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'onbuild-and-test-pypi. Restore the same eligibility condition insidealways()on all fourpypi-*-checkjobs. - Update
PYPI_CONDITIONand the event cases intests/unit/infra/test_docker_ci.py:mainpushes and manual dispatches enable the PyPI lane; PRs, merge-queue runs, and release-branch pushes remain intentionally skipped. - Update the Docker CI and release documentation to remove the temporary manual-only guidance, and verify a
mainpush runs the restored checks.
Keep automatic latest-release selection, independent local/PyPI jobs, named fail-closed gates, source isolation, compatibility/auth enforcement, and no-publish behavior unchanged. If the published artifacts still fail validation, keep this issue open and fix the release prerequisite rather than bypassing the guard or selecting a different release silently.
This is a post-release follow-up. Merging #2969 should not close it.
- 主要语言
- Python
- 星标
- 4.6k
- 派生
- 924
- 平均合并
- 2 天 18 小时
- 30 天内合并 PR
- 251
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/PyRIT 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 2 天内回复
-
BUG: PlagiarismScorer accepts invalid n-gram size and blank reference text可能已有人在做 @RohithPariki 于 5 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
PackageHallucinationScorer (Python) misses `from pkg.sub import x` and indented imports可能已有人在做 @barry166 于 7 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
microsoft/PyRIT#2948 · 1 条评论 ·
维护者通常 2 天内回复
-
BUG Configuration keeps runtime-status errors after polling recovers可能已有人在做 @rupayon123 于 13 天前认领。 未关闭Bug: triage GUI help wanted
难度 2/5 1-3 小时 新手友好度 86/100
microsoft/PyRIT#2868 · 1 条评论 ·
维护者通常 2 天内回复
-
ObjectiveScorerEvaluator scores every conversation message as an assistant response可能已有人在做 @feiiiiii5 于 13 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
Deepak3699/Ai_Mentor#244 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
btclib-org/btclib-node#1880 ·
维护者通常 1 天内回复
-
CONTRIBUTING.md: say how ticketless bug fixes and feature PRs are handled可能已有人在做 @khuisman 今天认领。 未关闭v0.9.2
难度 1/5 1 小时以内 新手友好度 84/100
khuisman/mcp-gee-sweet#941 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
pyjanitor-devs/pyjanitor#1758 ·
维护者通常 1 天内回复
-
bug ready for review
难度 2/5 1-3 小时 新手友好度 86/100
odysseus-dev/odysseus#6641 ·
维护者通常 1 天内回复