Checkum mismatch in `write-manifest shiny` for requirements.txt
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
Direzione di ricerca
Riproduci il comando rsconnect write-manifest shiny su Windows usando pyproject.toml, quindi confronta il requirements.txt generato con il relativo checksum in manifest.json. Metti a confronto l’output di Windows con il risultato Linux di GitHub Actions e verifica che il checksum del manifest corrisponda al contenuto del file, così che il deployment riesca senza modifiche manuali.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hey guys,
this is related to issue #429 but different as I don't manually change the requirements file. On my windows machine (win11 and latest version of rsconnect, 1.31.1), I run this command to create the requirements:
rsconnect write-manifest shiny --requirements-file "pyproject.toml" --overwrite --verbose .
This runs flawlessly but when I deploy to shinyapps.io (okay soon deprecated 😁), I get the error that the checksum of the requirements file does not match and indeed:
manifest.json:
...
"files": {
"requirements.txt": {
"checksum": "9575666e0dd133b66c6ffad2ee76d0a7"
},
...
and the manual calculation:
certutil -hashfile requirements.txt MD5
MD5-Hash von requirements.txt:
5091c1d66ce4ff619a9787030deea0f8
Manually replacing the MD5 checksum in manifest.json results in successful deployment. However, when I run this command before automated deployment with GitHub Actions on Linux, there is no issue. Let me know if you need further information, or if I'm just doing it wrong 🙄
Cheers,
Tobi
- Lingua principale
- Python
- Stelle
- 37
- Fork
- 28
- Merge medio
- 1g 3h
- PR unite (30g)
- 7
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di posit-dev/rsconnect-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
posit-dev/rsconnect-python#786 · 1 reazione ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
posit-dev/rsconnect-python#543 · 2 commenti ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
posit-dev/rsconnect-python#513 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
posit-dev/rsconnect-python#178 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
posit-dev/rsconnect-python#854 ·
Tutte le issue di posit-dev/rsconnect-python
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100