aboutcode-org / aboutcode-org/scancode-toolkit

Support Python 3.15

Đang mở
#5,113 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
python-support
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

I am opening this issue to track supporting and testing against Python 3.15 upstream. This week, we have started rebuilding our packages for Python 3.15 in Fedora. I will leave any issues we find during the process in this ticket. Thanks!

- [ ] https://github.com/beartype/beartype/issues/656 is needed by spdx-tools. This was fixed in beartype's main branch and downstream in Fedora, but beartype has not cut a new release with the fix yet.
- [ ] Some tests use `commoncode.system.py314` to address changes made in Python 3.14. But this variable checks for `python == 3.14`, not `python >= 3.14`, so some of the tests that broke after the Python 3.14 update started breaking again with 3.15. I fixed this with https://src.fedoraproject.org/rpms/python-commoncode/blob/8a7034a15391da262e23627d39c0b62cf585df4d/f/0001-Make-py314-constant-also-apply-to-py315.patch but not sure if upstream would prefer a different approach.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.