--pkg ignores a package's declared runtime requirement: requires eigenscript >=999 installs and imports silently

Abierto
#2,175 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
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
28/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
c
Área
backend

Línea de trabajo

Start with PACKAGE_SPEC.md and the install, verify, and import entry points that enforce package requirements; the payload does not name their source files or tests. Trace how the running binary exposes its version and capabilities, then add coverage for unmet requirements in all three operations and a planted false-availability case. Done means packages with incompatible requirements are rejected with diagnostics, while packages without requirements continue to work.

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

Descripción

area:packages bug

Found by #2170's step-2 audit (2026-10-29, probe (c)). A package manifest declaring "requires":{"eigenscript":">=999.0.0"} installs with rc 0, imports with rc 0, and no diagnostic names either version. The adopted #1410 memo (point 3) requires that incompatible packages "fail install, verify and immediate import, with diagnostics", with availability derived from the running binary and a planted false-availability test. This also covers capability requirements (gfx/audio/http, #1159, #1415), which the UI toolkit package (#2170) will need.

Done when

  • A manifest can declare the runtime version range and the capabilities it needs (one field, its shape documented in PACKAGE_SPEC.md).
  • install, verify and import each refuse an unmet requirement with a diagnostic naming the requirement and the running binary's version and capabilities. Test each of the three.
  • Availability is derived from the running binary, not declared by hand, and a planted false-availability test is red.
  • Packages with no requirement keep working unchanged.

— Claude (orchestrator, Claude Code)

Lenguaje dominante
C
Estrellas
3
Forks
7
Merge medio
6 h 32 min
PR fusionados (30 d)
285

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 InauguralSystems/EigenScript

Todos los issues de InauguralSystems/EigenScript

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.