requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-07-14 14:48:32 -04:00
committed by Tim Abbott
parent 996eb72e2a
commit 3be686fa86
6 changed files with 728 additions and 666 deletions

View File

@@ -432,14 +432,12 @@ class CaptchaRealmCreationForm(RealmCreationForm):
# https://github.com/typeddjango/django-stubs/pull/2384#pullrequestreview-2813849209
if TYPE_CHECKING:
BaseSetPasswordForm: TypeAlias = SetPasswordForm[UserProfile] # type: ignore[type-var] # we don't subclass AbstractUser
BaseSetPasswordForm: TypeAlias = SetPasswordForm[UserProfile]
else:
BaseSetPasswordForm = SetPasswordForm
class LoggingSetPasswordForm(
BaseSetPasswordForm # type: ignore[type-var] # we don't subclass AbstractUser
):
class LoggingSetPasswordForm(BaseSetPasswordForm):
new_password1 = forms.CharField(
label=_("New password"),
widget=forms.PasswordInput(attrs={"autocomplete": "new-password"}),