Checkum mismatch in `write-manifest shiny` for requirements.txt
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
Hướng nghiên cứu
Tái hiện lệnh rsconnect write-manifest shiny trên Windows bằng pyproject.toml, sau đó so sánh requirements.txt được tạo với checksum của nó trong manifest.json. Đối chiếu đầu ra trên Windows với kết quả Linux của GitHub Actions và xác minh rằng checksum của manifest khớp với nội dung tệp để quá trình triển khai thành công mà không cần chỉnh sửa thủ công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 37
- Fork
- 28
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 7
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của posit-dev/rsconnect-python
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
posit-dev/rsconnect-python#786 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
posit-dev/rsconnect-python#543 · 2 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
posit-dev/rsconnect-python#513 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
posit-dev/rsconnect-python#178 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
posit-dev/rsconnect-python#854 ·
Tất cả issue của posit-dev/rsconnect-python
Issue tương tự
-
link-check link-check:sphinx-theme
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
OpenHands/extensions#626 · 1 bình luận ·
-
Change observation tooltip text Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
CSCfi/sd-search-api#39 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100