ipython / ipython/traitlets

Fix License metadata in PyPi package

Đang mở
#870 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
653
Fork
217
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Mô tả

Hello,

the license metadata field for traitlets contains the full license text instead of only the license specifier in the resulting METADATA file within the dist-info part of the traitlets package.
This then causes the field on pypi.org to also try to print the full license text.

I have no clue what causes this, though. The pyproject.toml in the repository looks just fine. I've seen other projects that have the same problem with similar config (specifying the license file in the license field and the short name in the classifiers - pipenv for example) , but I've also seen projects that do this without problems, so I'm at a loss as to what causes this.

Maybe it's got to do with some custom packaging script of yours that I couldn't find.
I hope one of the maintainers might immediately know what the problem is now that it's known. (I think you barely check the Metadata on the pypi page or your built packages after releasing an update)

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

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

Hướng nghiên cứu

Start by inspecting pyproject.toml and any packaging scripts, then build the traitlets distribution and examine the METADATA file under its dist-info directory. Compare the generated license field with the intended short license specifier and verify that the resulting PyPI metadata no longer displays the full license text.

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

Đánh giá

Công nghệ
python
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

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.