Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Restore automatic PyPI Docker checks after the 1.2.0 release

オープン
#3,007 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, github-actions, python

調査の方向性

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.0 wheel 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.yml with pypiVersion=1.2.0 and 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' on build-and-test-pypi. Restore the same eligibility condition inside always() on all four pypi-*-check jobs.
  • Update PYPI_CONDITION and the event cases in tests/unit/infra/test_docker_ci.py: main pushes 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 main push 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日 23時間
マージ済み PR(30日)
253

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/PyRIT のほかの issue

microsoft/PyRIT の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。