Description of problem: Executing smoke.py throws exception: Traceback (most recent call last): File "./smoke.py", line 50, in <module> from pymongo import Connection ImportError: cannot import name Connection Version-Release number of selected component (if applicable): rh-mongodb26-mongodb-test-2.6.9-1.el7.x86_64 How reproducible: Always Actual results: Exception.
Created attachment 1150968 [details] Enables to use smoke.py with new pymongo
Connection class was removed in pymongo 3.0 (https://api.mongodb.org/python/current/changelog.html#mongoclient-changes). This failure is already fixed in MongoDB 2.6.11 minor release (2.6.9 currently in RHSCL). Patch for smoke.py which fixes this bug is attached.
So, there are two things that can be done before this is fixed in mongodb itself (which might or might not happen, because it is not a big issue for customer), in order to run the test suite -- either using older package for running test-suite or patching the source of the test-suite.
Moving to 2.3.0, because this bug is not that important for end users and we don't update mongodb package in RHSCL 2.2 (just the java driver).
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release. This software collection is nearing the retirement date (April 2018) after which customers are encouraged to upgrade to a later release. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended. New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection. Customers are encouraged to upgrade to a later release. Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/