requirements: Upgrade Django from 5.0.10 to 5.1.6.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-02-14 14:54:44 -08:00
committed by Tim Abbott
parent 22efac5a77
commit dd99ed019a
8 changed files with 12 additions and 12 deletions

View File

@@ -366,7 +366,7 @@ class Migration(migrations.Migration):
migrations.AddConstraint(
model_name="customer",
constraint=models.CheckConstraint(
check=models.Q(
condition=models.Q(
("realm__isnull", False),
("remote_server__isnull", False),
("remote_realm__isnull", False),

View File

@@ -15,7 +15,7 @@ class Migration(migrations.Migration):
migrations.AddConstraint(
model_name="customer",
constraint=models.CheckConstraint(
check=models.Q(
condition=models.Q(
("realm__isnull", False), ("remote_server__isnull", False), _connector="XOR"
),
name="cloud_xor_self_hosted",

View File

@@ -25,7 +25,7 @@ class Migration(migrations.Migration):
migrations.AddConstraint(
model_name="customer",
constraint=models.CheckConstraint(
check=models.Q(
condition=models.Q(
("realm__isnull", False),
("remote_server__isnull", False),
("remote_realm__isnull", False),

View File

@@ -53,7 +53,7 @@ class Customer(models.Model):
# Enforce that at least one of these is set.
constraints = [
models.CheckConstraint(
check=Q(realm__isnull=False)
condition=Q(realm__isnull=False)
| Q(remote_server__isnull=False)
| Q(remote_realm__isnull=False),
name="has_associated_model_object",

View File

@@ -6,7 +6,7 @@
-r pip.in
# Django itself
Django[argon2]==5.0.*
Django[argon2]==5.1.*
https://github.com/andersk/asgiref/archive/8a2717c14bce1b8dd37371c675ee3728e66c3fe3.zip#egg=asgiref==3.8.1+git # https://github.com/django/asgiref/pull/494
# needed for NotRequired, ParamSpec

View File

@@ -639,9 +639,9 @@ distro==1.9.0 \
# via
# openai
# zulip
django[argon2]==5.0.10 \
--hash=sha256:0f6cbc56cc298b0451d20a5120c6a8731e9073330fb5d84295c23c151a1eb300 \
--hash=sha256:c8fab2c553750933c8e7f5f95e5507e138e6acf6c2b4581cb691e70fe3ed747b
django[argon2]==5.1.6 \
--hash=sha256:1e39eafdd1b185e761d9fab7a9f0b9fa00af1b37b25ad980a8aa0dac13535690 \
--hash=sha256:8d203400bc2952fbfb287c2bbda630297d654920c72a73cc82a9ad7926feaad5
# via
# -r requirements/common.in
# django-auth-ldap

View File

@@ -467,9 +467,9 @@ distro==1.9.0 \
# via
# openai
# zulip
django[argon2]==5.0.10 \
--hash=sha256:0f6cbc56cc298b0451d20a5120c6a8731e9073330fb5d84295c23c151a1eb300 \
--hash=sha256:c8fab2c553750933c8e7f5f95e5507e138e6acf6c2b4581cb691e70fe3ed747b
django[argon2]==5.1.6 \
--hash=sha256:1e39eafdd1b185e761d9fab7a9f0b9fa00af1b37b25ad980a8aa0dac13535690 \
--hash=sha256:8d203400bc2952fbfb287c2bbda630297d654920c72a73cc82a9ad7926feaad5
# via
# -r requirements/common.in
# django-auth-ldap

View File

@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 353 # Last bumped for Zoom server to server video chat opti
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = (312, 0) # bumped 2024-02-14 to upgrade asgiref
PROVISION_VERSION = (313, 0) # bumped 2024-02-14 to upgrade Django