Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

build(pip): (deps): bump pymongo from 3.12.1 to 4.0 #201

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 29, 2021

Bumps pymongo from 3.12.1 to 4.0.

Release notes

Sourced from pymongo's releases.

PyMongo 3.12.0 - MongoDB 5.0 Support

Release notes: https://developer.mongodb.com/community/forums/t/pymongo-3-12-0-released/115111/

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.0

.. warning:: PyMongo 4.0 drops support for Python 2.7, 3.4, and 3.5.

.. warning:: PyMongo 4.0 drops support for MongoDB 2.6, 3.0, 3.2, and 3.4.

PyMongo 4.0 brings a number of improvements as well as some backward breaking changes. For example, all APIs deprecated in PyMongo 3.X have been removed. Be sure to read the changes listed below and the :doc:migrate-to-pymongo4 before upgrading from PyMongo 3.x.

Breaking Changes in 4.0 .......................

  • Removed support for Python 2.7, 3.4, and 3.5. Python 3.6+ is now required.
  • The default uuid_representation for :class:~bson.codec_options.CodecOptions, :class:~bson.json_util.JSONOptions, and :class:~pymongo.mongo_client.MongoClient has been changed from :data:bson.binary.UuidRepresentation.PYTHON_LEGACY to :data:bson.binary.UuidRepresentation.UNSPECIFIED. Attempting to encode a :class:uuid.UUID instance to BSON or JSON now produces an error by default. See :ref:handling-uuid-data-example for details.
  • Removed the waitQueueMultiple keyword argument to :class:~pymongo.mongo_client.MongoClient and removed :exc:pymongo.errors.ExceededMaxWaiters.
  • Removed the socketKeepAlive keyword argument to :class:~pymongo.mongo_client.MongoClient.
  • Removed :meth:pymongo.mongo_client.MongoClient.fsync, :meth:pymongo.mongo_client.MongoClient.unlock, and :attr:pymongo.mongo_client.MongoClient.is_locked.
  • Removed :meth:pymongo.mongo_client.MongoClient.database_names.
  • Removed :attr:pymongo.mongo_client.MongoClient.max_bson_size.
  • Removed :attr:pymongo.mongo_client.MongoClient.max_message_size.
  • Removed :attr:pymongo.mongo_client.MongoClient.max_write_batch_size.
  • Removed :attr:pymongo.mongo_client.MongoClient.event_listeners.
  • Removed :attr:pymongo.mongo_client.MongoClient.max_pool_size.
  • Removed :attr:pymongo.mongo_client.MongoClient.max_idle_time_ms.
  • Removed :attr:pymongo.mongo_client.MongoClient.local_threshold_ms.
  • Removed :attr:pymongo.mongo_client.MongoClient.server_selection_timeout.
  • Removed :attr:pymongo.mongo_client.MongoClient.retry_writes.
  • Removed :attr:pymongo.mongo_client.MongoClient.retry_reads.
  • Removed :meth:pymongo.database.Database.eval, :data:pymongo.database.Database.system_js and :class:pymongo.database.SystemJS.
  • Removed :meth:pymongo.database.Database.collection_names.
  • Removed :meth:pymongo.database.Database.current_op.
  • Removed :meth:pymongo.database.Database.authenticate and :meth:pymongo.database.Database.logout.
  • Removed :meth:pymongo.database.Database.error,

... (truncated)

Commits
  • 2c28149 BUMP 4.0
  • 7de879a PYTHON-3018 Add docs for removed methods from Collection (#801)
  • 37b5195 PYTHON-2434 Automatically combine release wheels + sdist into one archive (#803)
  • 64a4f6e PYTHON-3024 Update estimatedDocumentCount test for Atlas Data Lake (#802)
  • 2af521e PYTHON-2984 Fix retry behavior for bulk write writeConcernError (#800)
  • cddae7a PYTHON-2919 Remove MongoDB 2.6-3.4 from performance testing (#798)
  • 7965906 PYTHON-3021 Send primaryPreferred when connected to standalone servers (#799)
  • 5b8b09a PYTHON-3020 Properly mark server unknown after "not master" errors without a ...
  • 9cf88cf PYTHON-2773 Mockupdb test failures (#796)
  • 12a6af7 PYTHON-2981 Stop using MongoClient.address for hashing and equality (#795)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 3.12.1 to 4.0.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@3.12.1...4.0)

---
updated-dependencies:
- dependency-name: pymongo
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from ryanfaircloth as a code owner November 29, 2021 23:07
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 29, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Nov 29, 2021

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 8, 2021

Superseded by #204.

@dependabot dependabot bot closed this Dec 8, 2021
@dependabot dependabot bot deleted the dependabot/pip/main/pymongo-4.0 branch December 8, 2021 00:40
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants