Skip to content

Commit

Permalink
Update pymongo and mongoengine to display deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
nzlosh committed Feb 28, 2024
1 parent afedd35 commit 21e34fb
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Changed
~~~~~~~
* Bumped `jsonschema` 2.6.0 -> 3.2.0 now that python3.6 is not supported. #6118

* Upgrade `pymongo` and `mongoengine` for MongoDB v5/6/7 support. #6157

Added
~~~~~
* Continue introducing `pants <https://www.pantsbuild.org/docs>`_ to improve DX (Developer Experience)
Expand Down
6 changes: 4 additions & 2 deletions fixed-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ lockfile==0.12.2
# Fix MarkupSafe to < 2.1.0 as 2.1.0 removes soft_unicode
# >=0.23 was from jinja2
MarkupSafe<2.1.0,>=0.23
mongoengine==0.23.0
# mongoengine 0.24.0 has breaking changes to support pymongo 4.0
mongoengine>=0.21.0,<0.24.0
# required by orquesta (networkx<2.6 for py3.6, networkx<3 for py3.8)
networkx<3
# networkx requires decorator>=4.3,<5 which should resolve to version 4.4.2
Expand All @@ -43,7 +44,8 @@ paramiko==2.11.0
passlib==1.7.4
prompt-toolkit==1.0.15
pyinotify==0.9.6 ; platform_system=="Linux"
pymongo==3.11.3
# pymongo 3.13 has backports of APIs from pymongo 4 to help w/ migration
pymongo>=3.11.0,<3.13.0
pyparsing<3
zstandard==0.15.2
# pyOpenSSL 23.1.0 supports cryptography up to 40.0.x
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ kombu==5.0.2
lockfile==0.12.2
logshipper@ git+https://github.com/StackStorm/logshipper.git@stackstorm_patched ; platform_system=="Linux"
mock==4.0.3
mongoengine==0.23.0
mongoengine>=0.21.0,<0.24.0
networkx<3
nose
nose-parallel==0.4.0
Expand All @@ -47,7 +47,7 @@ prompt-toolkit==1.0.15
psutil==5.8.0
pyOpenSSL==23.1.0
pyinotify==0.9.6 ; platform_system=="Linux"
pymongo==3.11.3
pymongo>=3.11.0,<3.13.0
pyparsing<3
pyrabbit
pysocks
Expand Down
4 changes: 2 additions & 2 deletions st2api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ eventlet==0.33.3
gunicorn==21.2.0
jsonschema==3.2.0
kombu==5.0.2
mongoengine==0.23.0
mongoengine>=0.21.0,<0.24.0
oslo.config>=1.12.1,<1.13
oslo.utils<5.0,>=4.0.0
pymongo==3.11.3
pymongo>=3.11.0,<3.13.0
pyparsing<3
simplejson
six==1.13.0
2 changes: 1 addition & 1 deletion st2auth/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ eventlet==0.33.3
gunicorn==21.2.0
oslo.config>=1.12.1,<1.13
passlib==1.7.4
pymongo==3.11.3
pymongo>=3.11.0,<3.13.0
six==1.13.0
st2-auth-backend-flat-file@ git+https://github.com/StackStorm/st2-auth-backend-flat-file.git@master
st2-auth-ldap@ git+https://github.com/StackStorm/st2-auth-ldap.git@master
Expand Down
4 changes: 2 additions & 2 deletions st2common/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jsonpath-rw==1.4.0
jsonschema==3.2.0
kombu==5.0.2
lockfile==0.12.2
mongoengine==0.23.0
mongoengine>=0.21.0,<0.24.0
networkx<3
orjson==3.5.2
orquesta@ git+https://github.com/StackStorm/orquesta.git@v1.6.0
oslo.config>=1.12.1,<1.13
paramiko==2.11.0
pyOpenSSL==23.1.0
pymongo==3.11.3
pymongo>=3.11.0,<3.13.0
python-dateutil==2.8.1
python-statsd==2.1.0
pyyaml==5.4.1
Expand Down
4 changes: 2 additions & 2 deletions st2stream/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ eventlet==0.33.3
gunicorn==21.2.0
jsonschema==3.2.0
kombu==5.0.2
mongoengine==0.23.0
mongoengine>=0.21.0,<0.24.0
oslo.config>=1.12.1,<1.13
oslo.utils<5.0,>=4.0.0
pymongo==3.11.3
pymongo>=3.11.0,<3.13.0
pyparsing<3
six==1.13.0

0 comments on commit 21e34fb

Please sign in to comment.