Evaluate Python dependency source precedence

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

メンテナーはふだん 1 日以内に返信

@tdstein がすでに取り組んでいます。

2026年11月13日 から。

  • #979 @tdstein による — オープン

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
cli

調査の方向性

Start by tracing how the CLI chooses dependency sources for deploy <framework> and deploy pyproject, including how -r uv.lock overrides automatic selection. Compare that behavior with the precedence table in the issue and review the related issues for context. Done means both commands choose sources consistently for the listed file combinations while preserving explicit overrides.

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

説明

enhancement ready-for-agent

I’d prefer a lockfile or pyproject.toml over requirements.txt, which can be a stale export. Currently, the command determines the default source.

✓ = present; — = absent. No source overrides. deploy pyproject also requires valid [tool.rsconnect] configuration.

requirements.txt pyproject.toml uv.lock deploy <framework> deploy pyproject
— — — Error Error
✓ — — Requirements Error
— ✓ — Error Pyproject
— — ✓ Error Error
✓ ✓ — Requirements Pyproject
✓ — ✓ Requirements Error
— ✓ ✓ Error Pyproject
✓ ✓ ✓ Requirements Pyproject

-r uv.lock explicitly selects the lockfile. Could we use consistent automatic selection across commands, while keeping explicit overrides?

Related issues
主要言語
Python
スター
38
フォーク
28
平均マージ
1日 4時間
マージ済み PR(30日)
59

環境構築

はじめの一歩

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

posit-dev/rsconnect-python のほかの issue

posit-dev/rsconnect-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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