Skip to content

Update motor requirement from <2.4.0,>=2.1.0 to >=2.1.0,<3.1.0 #2

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

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 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.1.0...3.0.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 29, 2022

The following labels could not be found: dependencies.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 25, 2022

Superseded by #36.

@dependabot dependabot bot closed this Oct 25, 2022
@dependabot dependabot bot deleted the dependabot/pip/motor-gte-2.1.0-and-lt-3.1.0 branch October 25, 2022 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants