Skip to content

Commit d505343

Browse files
authored
DOCSP-50785: Update Motor deprecation verbiage (#1011)
1 parent 1d0a7b4 commit d505343

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

snooty.toml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,3 @@ stable-api = "Stable API"
2020
node-driver-long = "MongoDB Node.js Driver"
2121
node-driver-short = "Node.js Driver"
2222
atlas = "MongoDB Atlas"
23-
24-
[[banners]]
25-
targets = ["motor.txt"]
26-
variant = "warning"
27-
value = """
28-
As of May 14th, 2025, Motor has been sunset in favor of the GA release of the PyMongo Async API in Pymongo. \
29-
No new features will be added to Motor. Motor will be deprecated on May 14th, 2026, \
30-
and no further bug fixes will be released after deprecation, with the exception of critical bug fixes, which will be released until May 14th, 2027. \
31-
We strongly recommend that Motor users migrate to PyMongo Async while Motor is still supported. \
32-
To learn how to migrate from Motor to the PyMongo Async API, see the \
33-
`Migrate to PyMongo Async guide <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/>`__.
34-
"""

source/motor.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,19 @@ Motor (Async Driver)
2222
:depth: 1
2323
:class: twocols
2424

25+
.. banner::
26+
:variant: warning
27+
28+
As of May 14, 2025, Motor is deprecated in favor of the GA release of the PyMongo Async
29+
API in the PyMongo library. We will not add new features to Motor, and we will
30+
provide only bug fixes until it reaches end of life on May 14, 2026. After that, we will
31+
fix only critical bugs until final support ends on May 14, 2027. We
32+
strongly recommend migrating to the PyMongo Async API while Motor is still supported.
33+
34+
For more information about migrating, see the `Migrate to PyMongo Async <https://www.mongodb.com/docs/languages/python/pymongo-driver/current/reference/migration/>`__
35+
guide in the PyMongo documentation.
36+
37+
2538
Introduction
2639
------------
2740

0 commit comments

Comments
 (0)