Repository navigation
Closed
Labels
Description
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.
airflow/providers/mongo/pyproject.toml
Lines 62 to 65 in b808dd8
| # 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", |
airflow/providers/mongo/pyproject.toml
Lines 73 to 74 in b808dd8
| # 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
Projects
- StatusShow more project fieldsDone
Activity
gopidesupavan commentedon Jun 30, 2025
I had a look at the possible various options.
will check further.. and update