Inconsistent Python package structure when linking to license file
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ả
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tiny-pilot/tinypilot
-
bug medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
tiny-pilot/tinypilot#1419 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1929 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1896 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1882 ·
-
Provide canonical dev setup Đang mởenhancement
tiny-pilot/tinypilot#1876 · 9 bình luận · 1 người được giao ·
Tất cả issue của tiny-pilot/tinypilot
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
hcocena Đang mởpolicies-accepted pre-review precheck-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Bioconductor/BiocContributions#214 · 5 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
TencentCloud/Octop#1169 · 1 bình luận ·
-
[开源推荐] 在老板拷问你之前,先让 AI 灵魂拷问你 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
521xueweihan/HelloGitHub#3778 ·
-
The version checker's trailing attribute region has no control for a less-than inside a quoted value Đang mởarea: dashboard area: tests bug perceived difficulty: 2 python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Nitjsefnie-Harness-Commons/daedalus#1105 · 1 bình luận ·