From 8a183c9fa66053b1597eb024f3f4e362bb62e998 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 15 Jan 2025 09:40:25 +0300 Subject: [PATCH] Django@5.1.5 --- django-stubs/utils/ipv6.pyi | 4 +++- requirements.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/django-stubs/utils/ipv6.pyi b/django-stubs/utils/ipv6.pyi index 8ee5ecbb4..fd33de70f 100644 --- a/django-stubs/utils/ipv6.pyi +++ b/django-stubs/utils/ipv6.pyi @@ -1,4 +1,6 @@ from typing import Any -def clean_ipv6_address(ip_str: Any, unpack_ipv4: bool = False, error_message: str = ...) -> str: ... +MAX_IPV6_ADDRESS_LENGTH: int + +def clean_ipv6_address(ip_str: Any, unpack_ipv4: bool = False, error_message: str = ..., max_length: int = 39) -> str: ... def is_valid_ipv6_address(ip_str: str) -> bool: ... diff --git a/requirements.txt b/requirements.txt index 58745b1a6..c35f52fd5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ pytest-shard==0.1.2 # Django deps: psycopg2-binary Django==4.2.16; python_version < '3.10' -Django==5.1.4; python_version >= '3.10' +Django==5.1.5; python_version >= '3.10' -e ./ext -e .[redis,compatible-mypy,oracle]