Lockfile corpus: catch marker and graph misreads in the weekly live run

Aperta
#264 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
data, testing

Direzione di ricerca

Read scripts/check_real_lockfiles.py and the existing cases in tests/test_real_lockfiles.py first. Compare the live lockfile checks with the pinned copy checks, then add regression tests for the listed renamed fields and missing graphs. Done means each blind spot in the issue is detected by a test and the live checks flag the corresponding drop or missing data.

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

Descrizione

help wanted

scripts/check_real_lockfiles.py (#256) catches every misread of the pinned copies, but the weekly live run against each project's default branch has blind spots, because it counts raw keys under the names it already knows:

  • a marker key renamed to anything but marker/markers passes, while n/a cells drop to 0;
  • a uv.lock root that isn't found (editable = "./") gives no dependency graph and passes;
  • Poetry 1.x [package.dependencies] renamed passes (raw and read are both 0);
  • uv sdist renamed, and uv requires-python renamed, both pass.

What to do

  • Compare the live file with its pinned copy: the share of packages with markers, the share of n/a cells, the number of dependency edges and of sdists. Flag a large drop the way WHEEL_DROP does.
  • For uv.lock and Poetry 1.x, flag a lock with several packages and no dependency graph.
  • Compare the raw top-level requires-python with what was read.
  • Tests in tests/test_real_lockfiles.py for each rename above.
Lingua principale
Python
Stelle
0
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 patrickballard/wheelgap

Tutte le issue di patrickballard/wheelgap

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.