Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Minor - P4 Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Labels:
      None
    • Backward Breaking:
      Rarely
    • # Replies:
      5
    • Last comment by Customer:
      false

      Description

      Deprecated Methods to remove:

      • bson._to_dicts
      • bson.BSON.from_dict
      • bson.BSON.to_dict
      • pymongo.connection.from_uri
      • pymongo.connection.paired

      Deprecated method parameters to remove:

      • pymongo.collection.__init__ - options
      • pymongo.collection.create_index - deprecated_unique
      • pymongo.collection.ensure_index - deprecated_unique
      • pymongo.collection.group - command
      • pymongo.collection.map_reduce - merge_output, reduce_output
      • pymongo.database.create_collection - options

        Activity

        Hide
        auto
        added a comment -

        Author:

        {u'login': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

        Message: Removed deprecated methods

        PYTHON-305
        Branch: master
        https://github.com/mongodb/mongo-python-driver/commit/c67674bfa4565c85771a6fd98c3c9bbe7914f365

        Show
        auto
        added a comment - Author: {u'login': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'} Message: Removed deprecated methods PYTHON-305 Branch: master https://github.com/mongodb/mongo-python-driver/commit/c67674bfa4565c85771a6fd98c3c9bbe7914f365
        Hide
        Bernie Hackett
        added a comment -

        Need to fix up test/test_paired.py since we removed Connection.paired. You can probably just get rid of the test_types method. The others can be changed to just use Connection(). You'll have to set up replica pairs using MongoDB-1.6. See the docs here:

        http://www.mongodb.org/display/DOCS/Replica+Pairs

        Show
        Bernie Hackett
        added a comment - Need to fix up test/test_paired.py since we removed Connection.paired. You can probably just get rid of the test_types method. The others can be changed to just use Connection(). You'll have to set up replica pairs using MongoDB-1.6. See the docs here: http://www.mongodb.org/display/DOCS/Replica+Pairs
        Hide
        Ross Lawley
        added a comment -

        Updated test_paired.py - as expected after fixing the connection formatting it worked fine with replica pairs.

        https://github.com/mongodb/mongo-python-driver/pull/93

        Show
        Ross Lawley
        added a comment - Updated test_paired.py - as expected after fixing the connection formatting it worked fine with replica pairs. https://github.com/mongodb/mongo-python-driver/pull/93
        Hide
        auto
        added a comment -

        Author:

        {u'login': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

        Message: PYTHON-305 updated replica pair test.

        Connection syntax has changed.
        Removed old auto reconnect test in tools as lots of
        testcases for auto reconnect.
        Branch: master
        https://github.com/mongodb/mongo-python-driver/commit/341c391efbe46c09c0d277922fe53d9b0937a6f9

        Show
        auto
        added a comment - Author: {u'login': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'} Message: PYTHON-305 updated replica pair test. Connection syntax has changed. Removed old auto reconnect test in tools as lots of testcases for auto reconnect. Branch: master https://github.com/mongodb/mongo-python-driver/commit/341c391efbe46c09c0d277922fe53d9b0937a6f9
        Hide
        auto
        added a comment -

        Author:

        {u'login': u'behackett', u'name': u'Bernie Hackett', u'email': u'bernie@10gen.com'}

        Message: Merge pull request #93 from rozza/305-paired

        PYTHON-305 updated replica pair test.
        Branch: master
        https://github.com/mongodb/mongo-python-driver/commit/4670b66f677078e399648da65a151b18ea183b51

        Show
        auto
        added a comment - Author: {u'login': u'behackett', u'name': u'Bernie Hackett', u'email': u'bernie@10gen.com'} Message: Merge pull request #93 from rozza/305-paired PYTHON-305 updated replica pair test. Branch: master https://github.com/mongodb/mongo-python-driver/commit/4670b66f677078e399648da65a151b18ea183b51

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since reply:
              2 years, 10 weeks ago
              Date of 1st Reply: