Skip to content

Find replacement for mongomock #51972

@eladkal

Description

@eladkal

Body

The mongomock library is not maintained any more.
mongomock/mongomock#914 it's been several months since the callout for maintainers but no progress so I think we should start thinking about alternative.

We already had to limit pymongo due to incompatibilities which is not good.

# mongomock does not work with pymongo 4.11.
# See https://github.com/apache/airflow/issues/46215 and this one can be removed after
# https://github.com/mongomock/mongomock/issues/912 is closed by mongomock.
"pymongo>=4.0.0,<4.11.0",

# Additional devel dependencies (do not remove this line and add extra development dependencies)
"mongomock>=4.0.0",

The Task:
Find alternatives to mongomock, if no good alternative found suggest ideas how we can mitigate.
We should remove mongomock from our code base.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions