Skip to content

Commit cd769fd

Browse files
committed
Update pymongo and mongoengine to display deprecation warnings.
1 parent afedd35 commit cd769fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fixed-requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ lockfile==0.12.2
2727
# Fix MarkupSafe to < 2.1.0 as 2.1.0 removes soft_unicode
2828
# >=0.23 was from jinja2
2929
MarkupSafe<2.1.0,>=0.23
30-
mongoengine==0.23.0
30+
# mongoengine 0.24.0 has breaking changes to support pymongo 4.0
31+
mongoengine>=0.21.0,<0.24.0
3132
# required by orquesta (networkx<2.6 for py3.6, networkx<3 for py3.8)
3233
networkx<3
3334
# networkx requires decorator>=4.3,<5 which should resolve to version 4.4.2
@@ -43,7 +44,8 @@ paramiko==2.11.0
4344
passlib==1.7.4
4445
prompt-toolkit==1.0.15
4546
pyinotify==0.9.6 ; platform_system=="Linux"
46-
pymongo==3.11.3
47+
# pymongo 3.13 has backports of APIs from pymongo 4 to help w/ migration
48+
pymongo>=3.11.0,<3.13.0
4749
pyparsing<3
4850
zstandard==0.15.2
4951
# pyOpenSSL 23.1.0 supports cryptography up to 40.0.x

0 commit comments

Comments
 (0)