Bump netaddr to version 1.3 (#12057)

This commit is contained in:
Ali Hamdan
2024-05-29 23:10:54 +02:00
committed by GitHub
parent 2e83e654b1
commit c82d29fc76
2 changed files with 5 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
version = "1.2.*"
version = "1.3.*"
upstream_repository = "https://github.com/drkjam/netaddr"

View File

@@ -92,10 +92,12 @@ class IPListMixin:
def __contains__(self, other: BaseIP | _IPAddressAddr) -> bool: ...
def __bool__(self) -> Literal[True]: ...
def parse_ip_network(module, addr: tuple[int, int] | str, flags: int = 0) -> tuple[int, int]: ...
def parse_ip_network(module, addr: tuple[int, int] | str, flags: int = 0, *, expand_partial: bool = False) -> tuple[int, int]: ...
class IPNetwork(BaseIP, IPListMixin):
def __init__(self, addr: _IPNetworkAddr, version: Literal[4, 6] | None = None, flags: int = 0) -> None: ...
def __init__(
self, addr: _IPNetworkAddr, version: Literal[4, 6] | None = None, flags: int = 0, *, expand_partial: bool = False
) -> None: ...
@property
def prefixlen(self) -> int: ...
@prefixlen.setter