Linting job fails on ubuntu-26.04: pre-commit builds black 20.8b1 with Python 3.14

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

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

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

評価

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

調査の方向性

Read .github/workflows/pre-commit.yml and .pre-commit-config.yaml, then inspect the failing lint runs linked in the issue to confirm how the hook environment selects Python. Find a way for the All file linting job to pass on ubuntu-26.04 while keeping Black's formatting output unchanged; validate against the existing codebase.

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

説明

bug DEV: dev-ops

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

The All file linting job in .github/workflows/pre-commit.yml fails on every PR since ubuntu-latest moved to the ubuntu-26.04 image (20261111.196.1). pre-commit installs the black hook (rev: 20.8b1 in .pre-commit-config.yaml) into a Python 3.14 env; black 20.8b1 depends on typed-ast, which does not compile against Python 3.14.

Complexity: Low
Target branch: unstable

Context
ast27/Custom/../Include/../Include/asdl.h:12:15: error: cannot use keyword 'false' as enumeration constant
ERROR: Failed building wheel for typed-ast
Acceptance Criteria
  • All file linting passes on a PR with no lint violations on the ubuntu-26.04 runner image.
  • Hook output (formatting applied by black) is unchanged for the existing codebase.

AI usage

Claude Code diagnosed the failure from the CI logs while working on #6423 and drafted this issue.

主要言語
JavaScript
スター
214
フォーク
327
平均マージ
17時間 5分
マージ済み PR(30日)
25

環境構築

はじめの一歩

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

learningequality/studio のほかの issue

learningequality/studio の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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