posit-dev / posit-dev/rsconnect-python

Docs: how does rsconnect choose a Python version

オープン
#592 コメント 0 件 リアクション 4 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
37
フォーク
28
平均マージ
1日 3時間
マージ済み PR(30日)
7

説明

The documentation for rsconnect-python has information on how Connect selects a Python version, but not on how rsconnect selects a version when deploying.

I have a vague feeling that the version of Python is decided by the environment from which the command is run - i.e., the first version of Python found on the PATH when using rsconnect deploy...

The section titled Creating a Manifest for Future Deployment alludes to this, but it is no where made explicit:

It will contain the package dependencies from the current Python environment, or from an alternative Python executable specified in the --python option.

https://docs.posit.co/rsconnect-python/#creating-a-manifest-for-future-deployment

I think we (Support, end users) would benefit from making this information explicit.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

「将来のデプロイ用のマニフェストを作成する」セクションと、--python オプションを含む rsconnect deploy... の背後にある動作を確認してください。デプロイ環境がどのように Python を選択するかを確認し、その選択を明示的に文書化してください。また、それがマニフェストのガイダンスとどのように関係するかを明確にしてください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
documentation
issue の種類
ドキュメント
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。