Changes in 4.9.1
PyMongo 4.9 brings a number of improvements including:
Added support for MongoDB 8.0 and Python 3.13.
A new asynchronous API with full asyncio support. This new asynchronous API is a work-in-progress that may change during the beta period before the full release.
Added support for In-Use Encryption range queries with MongoDB 8.0.
Note: The 4.9.0 release was missing documentation about the fact the async API is in beta state.
Issues Resolved
See the PyMongo 4.9 release notes in JIRA for the list of resolved issues in this release.
2 Likes
Jack_Woehr
(Jack Woehr)
2
Warning received while updating pymongo:
$ pip install -U pymongo
Requirement already satisfied: pymongo in ./mongodb_venv/lib/python3.10/site-packages (4.8.0)
Collecting pymongo
Downloading pymongo-4.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB)
Requirement already satisfied: dnspython<3.0.0,>=1.16.0 in ./mongodb_venv/lib/python3.10/site-packages (from pymongo) (2.2.1)
Downloading pymongo-4.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 2.5 MB/s eta 0:00:00
WARNING: Error parsing dependencies of bleach: Expected matching RIGHT_PARENTHESIS for LEFT_PARENTHESIS, after version specifier
tinycss2 (>=1.1.0<1.2) ; extra == 'css'
~~~~~~~~^
Installing collected packages: pymongo
Attempting uninstall: pymongo
Found existing installation: pymongo 4.8.0
Uninstalling pymongo-4.8.0:
Successfully uninstalled pymongo-4.8.0
Successfully installed pymongo-4.9.1
Hi @Jack_Woehr, that sounds like an interaction with something else installed in your environment. I created a fresh venv with python 3.10 and ran pip install pymongo && pip list and here is the output I got, which does not include bleach. You also installed from a wheel, which means none of the build backend dependencies would have been invoked.
Package Version
---------- -------
dnspython 2.6.1
pip 24.1.2
pymongo 4.9.1
setuptools 70.3.0
Jack_Woehr
(Jack Woehr)
4
You’re right @Steve_Silvester I had something tangled user env versus venv.
All good now!
system
(system)
Closed
6
This topic was automatically closed after 90 days. New replies are no longer allowed.