Checkum mismatch in `write-manifest shiny` for requirements.txt
まだ誰も着手していません。
評価
調査の方向性
pyproject.tomlを使用してWindows上でrsconnect write-manifest shinyコマンドを再現し、生成されたrequirements.txtをmanifest.json内のそのチェックサムと比較します。Windowsの出力をLinuxのGitHub Actionsの結果と比較し、デプロイが手動編集なしで成功するように、マニフェストのチェックサムがファイルの内容と一致することを確認します。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 37
- フォーク
- 28
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 7
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/rsconnect-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
posit-dev/rsconnect-python#786 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
posit-dev/rsconnect-python#543 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
posit-dev/rsconnect-python#513 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
posit-dev/rsconnect-python#178 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
posit-dev/rsconnect-python#854 ·
posit-dev/rsconnect-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
OpenHands/extensions#626 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
CSCfi/sd-search-api#39 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
StevenBlack/hosts#3255 ·