lincc-frameworks / lincc-frameworks/python-project-template

Bundle dependency requirements with release

未關閉
#469 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

enhancement
主要語言
Jinja
星號
85
分支
16
平均合併
6 小時 18 分鐘
30 天內合併 PR
1

描述

We might want to include in the source distribution a locked file of requirements (e.g. `requirements.txt` file with all the transitive dependencies that were proven to function at the time of publishing). This file is not intended for use by the common user but it is useful, e.g., when we rely on deployments on Kubernetes clusters (especially because when pods die&restart they tend to update dependencies automatically, which can cause mismatches in dependency versions).

This change was introduced for [`hipscat-import`](https://github.com/astronomy-commons/hipscat-import/pull/381) and could be bubbled up to the PPT.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

檢查 hipscat-import 的 pull request 381 中的依賴鎖定變更,然後檢查此 template 如何建置其原始碼發行套件。新增一個 requirements 檔案,將已驗證的傳遞相依性包含到已發布的原始碼發行套件中,並驗證它可用於 Kubernetes 重新啟動等部署情境。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
build-system, release
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。