Skip to content
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

Bump pymongo from 3.12.1 to 4.0.1 #905

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 8, 2021

Bumps pymongo from 3.12.1 to 4.0.1.

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.1

Issues Resolved ...............

Version 4.0.1 fixes a number of bugs:

  • Fixed a bug that prevented :meth:bson.json_util.loads from decoding a document with a non-string "$regex" field (PYTHON-3028_).
  • Fixed a bug where a client may select a hidden/ghost or not yet initialized replica set member leading to unexpected "connection pool paused" errors (PYTHON-3027_).

See the PyMongo 4.0.1 release notes in JIRA_ for the list of resolved issues in this release.

.. _PYTHON-3027: https://jira.mongodb.org/browse/PYTHON-3027 .. _PYTHON-3028: https://jira.mongodb.org/browse/PYTHON-3028 .. _PyMongo 4.0.1 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=32504

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,

... (truncated)

Commits
  • eb9e036 BUMP 4.0.1 (#811)
  • f0d1563 PYTHON-3028 $regex as a field name does not allow for non-string values (#807)
  • fd9a8bf PYTHON-3033 Fix typo in uuid docs (#808)
  • d715f58 PYTHON-3027 Fix server selection when topology type is Unknown (#806)
  • e3d1d6f BUMP 4.0.1.dev0
  • 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)
  • 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 dependabot bot added the dependencies Pull requests that update a dependency file label Dec 8, 2021
@joshmoore
Copy link
Member

Copying my comment from #893 (comment)


As we did with Azure (#781 --> #762), would any zarr/mongodb users be up for being added to a team to keep an eye on this dependency?

E           pymongo.errors.ConfigurationError: Server at 127.0.0.1:27017 reports wire version 5, but this version of PyMongo requires at least 6 (MongoDB 3.6).

@dependabot dependabot bot force-pushed the dependabot/pip/pymongo-4.0.1 branch from bce5f0c to b5a3e94 Compare December 10, 2021 06:46
@jakirkham
Copy link
Member

jakirkham commented Dec 10, 2021

As we did with Azure (#781 --> #762), would any zarr/mongodb users be up for being added to a team to keep an eye on this dependency?

@jhamman ?

@dependabot dependabot bot force-pushed the dependabot/pip/pymongo-4.0.1 branch 2 times, most recently from bff8b47 to ec2c185 Compare December 21, 2021 10:31
@dependabot dependabot bot force-pushed the dependabot/pip/pymongo-4.0.1 branch from ec2c185 to 40226a4 Compare December 21, 2021 11:48
@dependabot dependabot bot force-pushed the dependabot/pip/pymongo-4.0.1 branch 2 times, most recently from 18e0bb7 to 860b300 Compare January 6, 2022 07:30
Bumps [pymongo](https://github.com/mongodb/mongo-python-driver) from 3.12.1 to 4.0.1.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/4.0.1/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@3.12.1...4.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pymongo-4.0.1 branch from 860b300 to c908d61 Compare January 13, 2022 07:15
@jakirkham
Copy link
Member

Friendly nudge @jhamman :)

@jhamman jhamman mentioned this pull request Jan 15, 2022
6 tasks
@jhamman
Copy link
Member

jhamman commented Jan 15, 2022

@jakirkham - see #939 for what I hope is a very trivial fix here.

would any zarr/mongodb users be up for being added to a team to keep an eye on this dependency?

I would be happy to be listed in this group but to be honest, I haven't been using mongodb of late so I'm hardly a user.

@jakirkham
Copy link
Member

Thanks Joe! 😄

No kidding. That is pretty simple.

Ah ok. No worries then.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 15, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/pymongo-4.0.1 branch January 15, 2022 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants