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

Aperta
#2,175 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
28/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)

Lingua principale
C
Stelle
3
Fork
7
Merge medio
6h 32m
PR unite (30g)
285

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di InauguralSystems/EigenScript

Tutte le issue di InauguralSystems/EigenScript

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.