fincubator / tellerbot

Telegram Bot for over-the-counter trading
https://t.me/TellerBot
GNU Affero General Public License v3.0
23 stars 10 forks source link

Bump pymongo from 3.12.0 to 4.0 #187

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pymongo from 3.12.0 to 4.0.

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)
dependabot[bot] commented 2 years ago

Superseded by #188.