Evaluate Python dependency source precedence

Đang mở
#975 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@tdstein đang làm issue này rồi.

Từ ngày 13/11/2026.

  • #979 của @tdstein — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
38
Fork
28
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
59

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của posit-dev/rsconnect-python

Tất cả issue của posit-dev/rsconnect-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.