Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on beanie to permit the latest version.

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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 6, 2025
@dependabot dependabot bot force-pushed the dependabot/pip/beanie-gte-1.30-and-lt-3.0 branch 2 times, most recently from 12cc0ca to ba01f79 Compare November 6, 2025 22:59
Updates the requirements on [beanie](https://github.com/roman-right/beanie) to permit the latest version.
- [Release notes](https://github.com/roman-right/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
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/beanie-gte-1.30-and-lt-3.0 branch from ba01f79 to 70e201b Compare November 6, 2025 23:05
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 7, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

2 similar comments
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 7, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 9, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@tom4897 tom4897 requested a review from miragecentury November 9, 2025 15:16
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 9, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

1 similar comment
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 9, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 10, 2025

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/beanie-gte-1.30-and-lt-3.0 branch November 10, 2025 14:35
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.

2 participants