Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

requirements: Add aiosmtpd.

Alex Vandivere6bcde00e396
diff --git a/pyproject.toml b/pyproject.toml
index 5d1fabbd989..d2700e51a5b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -197,6 +197,9 @@ prod = [
# For captchas on unauth'd pages which can generate emails
"altcha",
+
+ # SMTP server for accepting incoming email
+ "aiosmtpd>=1.4.6",
]
docs = [
# Needed to build RTD docs
@@ -379,6 +382,7 @@ plugins = [
[[tool.mypy.overrides]]
module = [
"ahocorasick.*",
+ "aiosmtpd.*",
"bitfield.*",
"bmemcached.*",
"circuitbreaker.*",
diff --git a/uv.lock b/uv.lock
index 155b200c3db..8a88ad9610d 100644
--- a/uv.lock
+++ b/uv.lock
@@ -136,6 +136,19 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/ec/6a/bc7e17a3e87a2985d3e8f4da4cd0f481060eb78fb08596c42be62c90a4d9/aiosignal-1.3.2-py2.py3-none-any.whl", hash = "sha256:45cde58e409a301715980c2b01d0c28bdde3770d8290b5eb2173759d9acb31a5", size = 7597, upload-time = "2024-12-13T17:10:38.469Z" },
]
+[[package]]
+name = "aiosmtpd"
+version = "1.4.6"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "atpublic" },
+ { name = "attrs" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c4/ca/b2b7cc880403ef24be77383edaadfcf0098f5d7b9ddbf3e2c17ef0a6af0d/aiosmtpd-1.4.6.tar.gz", hash = "sha256:5a811826e1a5a06c25ebc3e6c4a704613eb9a1bcf6b78428fbe865f4f6c9a4b8", size = 152775 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/39/d401756df60a8344848477d54fdf4ce0f50531f6149f3b8eaae9c06ae3dc/aiosmtpd-1.4.6-py3-none-any.whl", hash = "sha256:72c99179ba5aa9ae0abbda6994668239b64a5ce054471955fe75f581d2592475", size = 154263 },
+]
+
[[package]]
name = "alabaster"
version = "1.0.0"
@@ -260,6 +273,15 @@ wheels = [
{ url = "https://files.pythonhosted.org/packages/fe/ba/e2081de779ca30d473f21f5b30e0e737c438205440784c7dfc81efc2b029/async_timeout-5.0.1-py3-none-any.whl", hash = "sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c", size = 6233, upload-time = "2024-11-06T16:41:37.9Z" },
]
+[[package]]
+name = "atpublic"
+version = "5.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fa/af/d5113daf3947044e43d74305cbd31502915c784e158c0c098db03ceeff17/atpublic-5.1.tar.gz", hash = "sha256:abc1f4b3dbdd841cc3539e4b5e4f3ad41d658359de704e30cb36da4d4e9d3022", size = 14670 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/35/c1/6408177d6078e159fd3a2a53206e8d1d51ba30ef75ad016b19dada6952b4/atpublic-5.1-py3-none-any.whl", hash = "sha256:135783dbd887fbddb6ef032d104da70c124f2b44b9e2d79df07b9da5334825e3", size = 5209 },
+]
+
[[package]]
name = "attrs"
version = "25.3.0"
@@ -5153,6 +5175,7 @@ dev = [
{ name = "aioapns" },
{ name = "aiohttp" },
{ name = "altcha" },
+ { name = "aiosmtpd" },
{ name = "annotated-types" },
{ name = "asgiref" },
{ name = "backoff" },
@@ -5285,6 +5308,7 @@ docs = [
prod = [
{ name = "aioapns" },
{ name = "altcha" },
+ { name = "aiosmtpd" },
{ name = "annotated-types" },
{ name = "asgiref" },
{ name = "backoff" },
@@ -5369,6 +5393,7 @@ dev = [
{ name = "aioapns" },
{ name = "aiohttp" },
{ name = "altcha" },
+ { name = "aiosmtpd", specifier = ">=1.4.6" },
{ name = "annotated-types" },
{ name = "asgiref", url = "https://github.com/andersk/asgiref/archive/8a2717c14bce1b8dd37371c675ee3728e66c3fe3.zip" },
{ name = "backoff" },
@@ -5502,6 +5527,7 @@ docs = [
prod = [
{ name = "aioapns" },
{ name = "altcha" },
+ { name = "aiosmtpd", specifier = ">=1.4.6" },
{ name = "annotated-types" },
{ name = "asgiref", url = "https://github.com/andersk/asgiref/archive/8a2717c14bce1b8dd37371c675ee3728e66c3fe3.zip" },
{ name = "backoff" },
diff --git a/version.py b/version.py
index ccee79a279b..86e498cea0a 100644
--- a/version.py
+++ b/version.py
@@ -49,4 +49,4 @@ API_FEATURE_LEVEL = 388
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
-PROVISION_VERSION = (326, 4) # bumped 2025-05-14 to upgrade stripe
+PROVISION_VERSION = (326, 5) # bumped 2025-05-15 for aiosmtpd