Consider how to maintain pixi.lock better for local dev

Aperta
#981 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Start by reading the discussion about pixi.lock, pixi update, and CI constraints, then inspect the repository’s Pixi configuration and the slimfast-live task mentioned in the issue. Decide how local dependencies should stay aligned with CI and how lockfile changes should be maintained; done means the discussion reaches a clear approach and local development no longer diverges from CI.

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

Descrizione

task

🧰 Task

I have run twice now into problems developing for the docs where I continually use pixi tasks (usually pixi run slimfast-live) to build.

However, it's been twice now that dependencies need updated such taht they are working either on CI or in a different but similar repo (in this case it was napari-sphinx-theme) but not locally. The solution has been pixi update to bring in newer versions of packages.

Perhaps we should be committing the lockfile to this repo, so that pulls from main give the most up to date lockfile. I do always think its a chore to have the diffs show up in PRs though, so I'm not sure if people are maintaining lockfiles via CI? Generally good stuff to think about.

On CI this isn't an issue currently because it uses constraints. So this causes divergence between CI and local as well.

Lingua principale
Makefile
Stelle
13
Fork
71
Merge medio
3g 8h
PR unite (30g)
31

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 napari/docs

Tutte le issue di napari/docs

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.