Skip to content

PYTHON-5377 - Update assets to align with GA release of Async PyMongo #2339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 14, 2025

Conversation

NoahStapp
Copy link
Contributor

No description provided.

@NoahStapp NoahStapp requested a review from ShaneHarvey May 9, 2025 19:34
doc/faq.rst Outdated
To use MongoDB with `asyncio <https://docs.python.org/3/library/asyncio.html>`_
or `Tornado <https://www.tornadoweb.org/>`_, see the
`Motor <https://github.com/mongodb/motor>`_ project.
PyMongo does not support T`ornado <https://www.tornadoweb.org/>`_.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

T`ornado -> Tornado.

But also, pymongo asyncio totally does support Tornado. Tornado is compatible with asyncio.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nice! I wasn't sure. We don't test against Tornado, but I'm fine with including that Async Pymongo still supports Tornado.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tornado is integrated with the standard library asyncio module and shares the same event loop (by default since Tornado 5.0). In general, libraries designed for use with asyncio can be mixed freely with Tornado.

https://www.tornadoweb.org/en/stable/

doc/tools.rst Outdated
@@ -162,7 +162,7 @@ Alternative Drivers
These are alternatives to PyMongo.

* `Motor <https://github.com/mongodb/motor>`_ is a full-featured, non-blocking
MongoDB driver for Python Tornado applications.
MongoDB driver for Python Tornado applications. Motor will be officially deprecated on May 14th, 2026.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you mention why by saying that motor's features has been merged into pymongo via the new AsyncMongoClient api.

@NoahStapp NoahStapp requested a review from ShaneHarvey May 13, 2025 20:42
@NoahStapp NoahStapp merged commit 92a5623 into mongodb:master May 14, 2025
68 of 70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants