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

release-smoke cannot verify PyPI attestations: wrong sigstore flag and wrong artifact type

オープン 初心者向け
#607 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
62/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github-actions, python

調査の方向性

.github/workflows/release-smoke.yml の225〜229行目付近から始めてください。ここでは pypi_smoke ステップが --cert-identity-regexp を付けて python -m sigstore verify identity を実行しています。インストールされている sigstore のバージョンがこのフラグを拒否するかを確認し、次に提案されているコマンド pypi-attestations verify pypi が読み込む /tmp/provenance.json がどこで取得されているかを調べてください。smoke ステップがホイールの PEP 740 アテステーションを検証し、同じコマンドが docs/install/README.md と docs/install/pypi.md で修正されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

ci needs triage

The release smoke job can't verify a PyPI attestation as written. .github/workflows/release-smoke.yml:225-229 runs:

python -m sigstore verify identity --bundle /tmp/attestation.sigstore.json --cert-identity-regexp ...

Two problems:

  • sigstore 3.x, which the job installs, has no --cert-identity-regexp (that's a cosign flag), so the command fails at argument parsing.
  • What /integrity/.../provenance returns is a PEP 740 attestation, not a Sigstore bundle.

Every pypi_smoke leg will fail on the first release published with Trusted Publishing (#519).

Working equivalent:

pypi-attestations verify pypi --repository https://github.com/${GITHUB_REPOSITORY} --provenance-file /tmp/provenance.json "$wheel"

docs/install/README.md:45-49 and docs/install/pypi.md:74-78 show the same broken command.

This blocks 0.2.0, unless #519 takes the fix.

Drafted with Claude Code; reviewed and posted by me.

主要言語
Python
スター
22
フォーク
27
平均マージ
1日 23時間
マージ済み PR(30日)
48

環境構築

はじめの一歩

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

darnitdevorg/darnit のほかの issue

darnitdevorg/darnit の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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