pypi/warehouse

Update all IP Addresses in tests to use RFC-5735 TEST-NET-* addresses.

開放

#13,186 建立於 2023年3月10日

 (3 則留言) (1 個反應) (0 位負責人)Python (1,201 個分叉)auto 404
good first issuetesting

倉庫指標

星標
 (4,097 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

nitpick: ‏super nitpicky, and not the first violation of this type in the codebase, but per RFC-5735 we ought to use addresses in TEST-NET-* ranges. Thankfully we have pytest-socket (#humbebrag) to prevent actual network calls, so it's not an issue, but I wanted to note it while it was fresh in my head. (Also see https://www.rfc-editor.org/rfc/rfc6890#section-2.2.2) Might be worth a full sweep cleanup as a separate PR.

Originally posted by @miketheman in https://github.com/pypi/warehouse/pull/13164#discussion_r1131763629

貢獻者指南