jscheffl opened a new issue, #46215:
URL: https://github.com/apache/airflow/issues/46215

   ### Apache Airflow Provider(s)
   
   mongo
   
   ### Versions of Apache Airflow Providers
   
   Failed CI run:
   https://github.com/apache/airflow/actions/runs/13018061271/job/36312691670
   
   Errors when using pymongo 4.11:
   FAILED 
providers/mongo/tests/provider_tests/mongo/hooks/test_mongo.py::TestMongoHook::test_replace_many
 - TypeError: BulkOperationBuilder.add_replace() got an unexpected keyword 
argument 'sort'
   FAILED 
providers/mongo/tests/provider_tests/mongo/hooks/test_mongo.py::TestMongoHook::test_replace_many_with_upsert
 - TypeError: BulkOperationBuilder.add_replace() got an unexpected keyword 
argument 'sort'
   
   PR as workaround coming
   
   ### Apache Airflow version
   
   main
   
   ### Operating System
   
   any
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   _No response_
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   breeze testing providers-tests --test-type "Providers[mongo]" --python 3.12 
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to