-
-
Notifications
You must be signed in to change notification settings - Fork 746
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
Add Support for MongoDB 5, 6, 7 PYMONGO 4.6.1 Drop Python 3.6 #6079
base: master
Are you sure you want to change the base?
Add Support for MongoDB 5, 6, 7 PYMONGO 4.6.1 Drop Python 3.6 #6079
Conversation
Keyczar is deprecated. See: https://github.com/google/keyczar Critical Vunability: https://www.cve.org/CVERecord?id=CVE-2013-7459
Merge branch 'feature/mongo6' of https://github.com/philipphomberger/st2-python-keyczar into feature/mongo6
@armab Any Idea what I need to do to fix that ? I have changed the circleci image to 3.8 in my feature branche. https://app.circleci.com/pipelines/github/StackStorm/st2/4308/workflows/1222bb7c-0735-48ee-a44a-80c795f3c6ad/jobs/16112 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good effort!
Please split changes into a two dedicated PRs.
One is about removing Python3.6 and another one about MongoDB (+pymongo) changes.
That'll help keeping things organized, good for history, testing and separates concerns.
According to the migration documentation |
okey. so id would be better to add this tlsAllowInvalidHostnames to replace the old ssl_match_hostname right ? |
I think the work for adding support for mongodb 5+ will require working through the official The document recommends using pymongo 3.12 and turn on deprecation warnings to easily spot of the deprecated code. There's also the fact that it should not be tested against python 3.6, but rather python3.8, which is to be our lowest supported version for the 3.9.0 release. We have the choice of keeping |
Thanks for the explanation. I thought it was too easy to just pull up the version. |
I haven't read the PR, so this is a drive by comment after our TSC meeting. Our codebase currently supports:
So, to update mongoengine/pymongo we need to migrate our code base based on: |
Philipp Homberger seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This is a breaking Change because it drop Python 3.6. But I think that is the plan for Update 3.9.
I have tested it on my dev servers with 3 Different Mongo DB Setups: