Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

write-manifest checksum does not match an existing requirements.txt that lists rsconnect

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start by tracing the write-manifest flow for an existing requirements.txt, then compare the text used for its checksum with the file bundled by deploy manifest. Check how filtering differs for user-provided files, pip freeze, and uv export. Done means the manifest checksum matches the bundled file and rsconnect deploy no longer silently alters user-provided requirements.

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

Descrizione

bug

When a requirements.txt file already exists, write-manifest removes every line that contains "rsconnect" before it calculates the checksum, but it does not rewrite the file. The manifest then has the checksum of the filtered text, and the file on disk still has the rsconnect lines. deploy manifest bundles the file from disk, so the checksum does not match. Found while working on #855.

rsconnect deploy is not affected, because it bundles the filtered text. But in that path we silently change a file that the user wrote.

We may want to stop filtering requirements files that the user provides, and keep the filter only for the output of pip freeze and uv export.

Lingua principale
Python
Stelle
38
Fork
28
Merge medio
10h 32m
PR unite (30g)
7

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 posit-dev/rsconnect-python

Tutte le issue di posit-dev/rsconnect-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.