Skip to content

chore(deps): update beanie requirement from <2.0.0,>=1.30.0 to >=1.30.0,<3.0.0 in the python-dependencies group across 1 directory#2

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python-dependencies-b003197336
Open

chore(deps): update beanie requirement from <2.0.0,>=1.30.0 to >=1.30.0,<3.0.0 in the python-dependencies group across 1 directory#2
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/python-dependencies-b003197336

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Apr 1, 2026

Updates the requirements on beanie to permit the latest version.
Updates beanie to 2.0.0

Release notes

Sourced from beanie's releases.

2.0.0

Breaking

This release moves away from Motor in favor of the PyMongo Async API. As a consequence of this, some Beanie internal fields and method names have been renamed to remove references to Motor. If you have used the Motor API in your project, please check the official Motor to PyMongo Async migration guide to see what has changed and how to update your code. Lastly, please check the updated Beanie documentation as well.

Beanie API changes

Document

Document.get_motor_collection()Document.get_pymongo_collection() Document.get_settings().motor_dbDocument.get_settings().pymongo_db Document.get_settings().motor_collectionDocument.get_settings().pymongo_collection

Union Document

UnionDocument.get_motor_collection()UnionDocument.get_pymongo_collection() UnionDocument.get_settings().motor_dbUnionDocument.get_settings().pymongo_db UnionDocument.get_settings().motor_collectionUnionDocument.get_settings().pymongo_collection

Views

View.aggregate(...).motor_cursorView.aggregate(...).get_cursor() View.get_settings().motor_dbView.get_settings().pymongo_db View.get_settings().motor_collectionView.get_settings().pymongo_collection

Queries

DocumentModel.aggregate(...).motor_cursorDocumentModel.aggregate(...).get_cursor() DocumentModel.find(...).aggregate(...).motor_cursorDocumentModel.find(...).aggregate(...).get_cursor()

Fields

IndexModelField.from_motor_index_information()IndexModelField.from_pymongo_index_information()

Initializer

multiprocessing_mode attribute was removed from the Initializer class and as a parameter to init_beanie().

What's Changed

New Contributors

Full Changelog: BeanieODM/beanie@1.30.0...2.0.0

Changelog

Sourced from beanie's changelog.

2.0.0 - 2025-07-09

Transform asyncdocmethod[doctype, p, r] into any to fix "incorrect call arguments" warning in pycharm

Fix typos in migrations docs

Motor -> async pymongo

[1.30.0] - 2025-06-10

Docs: update backlink usage of original_field for pydantic v2

Fix: first_or_none no longer mutates findmany object (#1116)

Migration finder skips modules starting with underscore

Docs: update incorrect event-based actions docs

Fix: deprecate bucket_rounding_second in favor of bucket_rounding_seconds in timeseriesconfig

Switch to precommit ci

Drop py3.8 support

Update toml dependency to use tomli instead of toml

Fix failing tests in ci

Fix find type hint for filter args

Fixed attributeerror in merge_model when updating document

Fix bulkwriter.init bug when it has object_class param input

... (truncated)

Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 1, 2026
Updates the requirements on [beanie](https://github.com/BeanieODM/beanie) to permit the latest version.

Updates `beanie` to 2.0.0
- [Release notes](https://github.com/BeanieODM/beanie/releases)
- [Changelog](https://github.com/BeanieODM/beanie/blob/main/docs/changelog.md)
- [Commits](BeanieODM/beanie@1.30.0...2.0.0)

---
updated-dependencies:
- dependency-name: beanie
  dependency-version: 2.0.0
  dependency-type: direct:production
  dependency-group: python-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot changed the title chore(deps): update beanie requirement from <2.0.0,>=1.30.0 to >=1.30.0,<3.0.0 in the python-dependencies group chore(deps): update beanie requirement from <2.0.0,>=1.30.0 to >=1.30.0,<3.0.0 in the python-dependencies group across 1 directory Apr 8, 2026
@dependabot dependabot bot force-pushed the dependabot/pip/python-dependencies-b003197336 branch from 3103545 to aea13e6 Compare April 8, 2026 11:38
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 python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants