GoogleContainerTools / GoogleContainerTools/container-debug-support

Python tests are non-hermetic

Đang mở
#116 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
kind/bug lang/python meta/testing
Ngôn ngữ chính
Go
Star
104
Fork
32
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The python launcher uses `exec.LookPath` to find `python` in the `PATH`. As a result, tests fail on vanilla'ish macOS 12.3 where Python 2.7 was removed and Python 3 is only available as `python3`.

Since the tests don't actually launch Python, we should have the lookup be pluggable.

Workaround: create a `python` in the PATH before running the tests.

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.