'pip freeze' displays relenv version as "file:///D:/a/relenv/relenv" instead of real version (that is shown correctly in `pip list`), on Windows

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

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
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
build-system

Hướng nghiên cứu

Reproduce by running pip freeze and pip list in a relenv-built Python on Windows and compare the two outputs. The path D:/a/relenv/relenv looks like a CI checkout, so check how relenv records its own package metadata when installed from a local path. Done when pip freeze prints relenv==<version> on Windows, as pip list already does.

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

Mô tả

Running pip freeze using relenv python displays an absolute path to some relenv folder, as opposed to the real version, which is shown correctly via pip list:

pip freeze:
relenv @ file:///D:/a/relenv/relenv

pip list:
relenv 0.22.27

Relenv version: 0.22.7
Python version: 3.14.7 x64
OS: Windows 11 x64

Ngôn ngữ chính
Python
Star
39
Fork
23
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
7

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 saltstack/relenv

Tất cả issue của saltstack/relenv

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.