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

Update motor requirement from <3.0.0,>=2.5.1 to >=2.5.1,<4.0.0 #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 29, 2022

Updates the requirements on motor to permit the latest version.

Release notes

Sourced from motor's releases.

Motor 3.0.0

Release notes: https://www.mongodb.com/community/forums/t/mongodb-motor-3-0-0-released/160708

Changelog

Sourced from motor's changelog.

Changelog

.. currentmodule:: motor.motor_tornado

Motor 3.0

Motor 3.0 adds support for PyMongo 4.0+. It inherits a number of improvemnts and breaking API changes from PyMongo 4.0+. See :doc:migrate-to-motor-3 for more information.

Breaking Changes

- Requires PyMongo 4.0+.
- Removed support for Python 3.5 and 3.6. Python 3.7+ is now required.
- Removed the ``socketKeepAlive`` keyword argument to
  :class:`~motor.motor_tornado.MotorClient`.
- Removed :meth:`motor.motor_tornado.MotorClient.fsync`,
  :meth:`motor.motor_tornado.MotorClient.unlock`, and
  :attr:`motor.motor_tornado.MotorClient.is_locked`.
- Removed :attr:`motor.motor_tornado.MotorClient.max_bson_size`.
- Removed :attr:`motor.motor_tornado.MotorClient.max_message_size`.
- Removed :attr:`motor.motor_tornado.MotorClient.max_write_batch_size`.
- Removed :attr:`motor.motor_tornado.MotorClient.event_listeners`.
- Removed :attr:`motor.motor_tornado.MotorClient.max_pool_size`.
- Removed :attr:`motor.motor_tornado.MotorClient.max_idle_time_ms`.
- Removed :attr:`motor.motor_tornado.MotorClient.local_threshold_ms`.
- Removed :attr:`motor.motor_tornado.MotorClient.server_selection_timeout`.
- Removed :attr:`motor.motor_tornado.MotorClient.retry_writes`.
- Removed :attr:`motor.motor_tornado.MotorClient.retry_reads`.
- Removed support for database profiler helpers
  :meth:`~motor.motor_tornado.MotorDatabase.profiling_level`,
  :meth:`~motor.motor_tornado.MotorDatabase.set_profiling_level`,
  and :meth:`~motor.motor_tornado.MotorDatabase.profiling_info`. Instead, users
  should run the profile command with the
  :meth:`~motor.motor_tornado.MotorDatabase.command` helper directly.
- Removed :attr:`pymongo.OFF`, :attr:`pymongo.SLOW_ONLY`, and
  :attr:`pymongo.ALL`.
- Removed :meth:`motor.motor_tornado.MotorCollection.map_reduce` and
  :meth:`motor.motor_tornado.MotorCollection.inline_map_reduce`.
- Removed the ``useCursor`` option for
  :meth:`~motor.motor_tornado.MotorCollection.aggregate`.
- Removed :mod:`pymongo.son_manipulator`,
  :meth:`motor.motor_tornado.MotorDatabase.add_son_manipulator`,
  :attr:`motor.motor_tornado.MotorDatabase.outgoing_copying_manipulators`,
  :attr:`motor.motor_tornado.MotorDatabase.outgoing_manipulators`,
  :attr:`motor.motor_tornado.MotorDatabase.incoming_copying_manipulators`, and
  :attr:`motor.motor_tornado.MotorDatabase.incoming_manipulators`.
- Removed the ``manipulate`` and ``modifiers`` parameters from
</tr></table> 

... (truncated)

Commits
  • 6a43c05 BUMP 3.0.0
  • 69e1bae MOTOR-952 Bump PyMongo minimum to 4.1 (#169)
  • 92b4d51 MOTOR-698 Motor 2 to 3 migration guide (#166)
  • 19537bb MOTOR-938 Docs for watch() incorrectly call ChangeStream.close() (#163)
  • 2f75a40 MOTOR-946 Deprecated APIs will not be Removed in Motor 3.0 (#168)
  • c564a02 MOTOR-608 Update outdated API docs (#165)
  • eb3ed14 MOTOR-842 Support 'let' option for multiple CRUD commands (#164)
  • 7822d93 MOTOR-936 Mention method delete_one in asyncio tutorial in documentation (#162)
  • ca0b27b MOTOR-941 Bump pymongo requirement to 4 (#161)
  • 0b0a360 MOTOR-843 Add support for the comment field to all helpers (#160)
  • Additional commits viewable in compare view

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)

Updates the requirements on [motor](https://github.com/mongodb/motor) to permit the latest version.
- [Release notes](https://github.com/mongodb/motor/releases)
- [Changelog](https://github.com/mongodb/motor/blob/master/doc/changelog.rst)
- [Commits](mongodb/motor@2.5.1...3.0.0)

---
updated-dependencies:
- dependency-name: motor
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 29, 2022
@dependabot dependabot bot requested a review from frankie567 April 29, 2022 04:58
@codecov
Copy link

codecov bot commented Apr 29, 2022

Codecov Report

Merging #1 (17a0557) into main (7837282) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #1   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           77        77           
=========================================
  Hits            77        77           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7837282...17a0557. Read the comment docs.

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.

None yet

0 participants