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

Abierto
#6,425 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, python
Área
ci-cd, tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
214
Forks
327
Merge medio
17 h 5 min
PR fusionados (30 d)
25

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de learningequality/studio

Todos los issues de learningequality/studio

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.