The images that run user code are not reproducible: Python packages are installed from version ranges with no lockfile

Aperta
#238 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
69/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, python

Direzione di ricerca

Start with services/process-runtime/Dockerfile and Dockerfile.stactools to identify the Python installs, then inspect the Python audit job to see how dependencies are checked. Generate and use a hashed lockfile for each image and include both in the audit. Done means two builds of the same commit install identical package versions.

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

Descrizione

enhancement queue: container images (C)

Found in the 2026-11-29 whole-repo review. Reported by a reviewer from the Dockerfiles.

Problem

services/process-runtime/Dockerfile (~lines 37-41) and Dockerfile.stactools install with pip install from pinned top-level versions or ranges (e.g. "rasterio>=1.5,<2"), with no lockfile or hashes. Everything they depend on floats. Rebuilding the same commit can produce different contents, and these images are not covered by the Python audit.

Suggested fix

Generate a hashed lockfile for each image, install with hash checking, and add both to the audit job.

Acceptance criteria

  • Two builds of the same commit install identical package versions
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

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 TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.