Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Inconsistent Python package structure when linking to license file

Đang mở
#1,899 1 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
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
build-system

Hướng nghiên cứu

No repository file or test is named; begin with the packaging or license-linking entry point and the discussion in pull request 1898. Reproduce the MarkupSafe 3.0.2 installation on macOS and Raspberry Pi, compare the two dist-info license paths, and consider the issue done when both layouts are handled or the online-license workaround is implemented.

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

Mô tả

bug

As discovered here, it seems like Python package's can have different structures depending on how they were packaged/built.

For example, on my macOS development machine, installing MarkupSafe==3.0.2, results in the the license file to be located at:

venv/lib/python3.9/site-packages/MarkupSafe-3.0.2.dist-info/LICENSE.txt

However, on a Raspberry Pi device, installing MarkupSafe==3.0.2, results in the the license file to be located at:

venv/lib/python3.9/site-packages/markupsafe-3.0.2.dist-info/licenses/LICENSE.txt

I suspect these differences stem from how the package is built for multiple different architectures.

As a temporary workaround, we can try link to the package's online license file.

Ngôn ngữ chính
Python
Star
3.5k
Fork
291
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 tiny-pilot/tinypilot

Tất cả issue của tiny-pilot/tinypilot

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.