#1139527 pymongo: FTBFS: E pytest.PytestDeprecationWarning: Overriding the "event_loop_policy" fixture is deprecated and will be removed in a future version of pytest-asyncio. Use the "pytest_asyncio_loop_factories" hook to customize event loop creation.

Package:
src:pymongo
Source:
src:pymongo
Submitter:
Santiago Vila
Date:
2026-06-19 11:29:01 UTC
Severity:
normal
Tags:
#1139527#5
Date:
2026-06-09 10:30:11 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pymongo, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
ERROR test/test_typing.py::TestDocumentType::test_create_index - pytest.Pytes...
ERROR test/test_typing.py::TestDocumentType::test_default - pytest.PytestDepr...
ERROR test/test_typing.py::TestDocumentType::test_explicit_document_type - py...
ERROR test/test_typing.py::TestDocumentType::test_raw_bson_document_type - py...
ERROR test/test_typing.py::TestDocumentType::test_son_document_type - pytest....
ERROR test/test_typing.py::TestDocumentType::test_son_document_type_runtime
ERROR test/test_typing.py::TestDocumentType::test_typeddict_document_type - p...
ERROR test/test_typing.py::TestDocumentType::test_typeddict_document_type_insertion
ERROR test/test_typing.py::TestDocumentType::test_typeddict_empty_document_type
ERROR test/test_typing.py::TestDocumentType::test_typeddict_explicit_document_type
ERROR test/test_typing.py::TestDocumentType::test_typeddict_find_notrequired
ERROR test/test_typing.py::TestDocumentType::test_typeddict_not_required_document_type
ERROR test/test_typing.py::TestCommandDocumentType::test_default - pytest.Pyt...
ERROR test/test_typing.py::TestCommandDocumentType::test_explicit_document_type
ERROR test/test_typing.py::TestCommandDocumentType::test_raw_bson_document_type
ERROR test/test_typing.py::TestCommandDocumentType::test_son_document_type - ...
ERROR test/test_typing.py::TestCommandDocumentType::test_typeddict_document_type
ERROR test/test_typing.py::TestCodecOptionsDocumentType::test_default - pytes...
ERROR test/test_typing.py::TestCodecOptionsDocumentType::test_explicit_document_type
ERROR test/test_typing.py::TestCodecOptionsDocumentType::test_raw_bson_document_type
ERROR test/test_typing.py::TestCodecOptionsDocumentType::test_son_document_type
ERROR test/test_typing.py::TestCodecOptionsDocumentType::test_typeddict_document_type
ERROR test/test_typing.py::TestBSONFromVectorType::test_from_vector_binaryvector
ERROR test/test_typing.py::TestBSONFromVectorType::test_from_vector_list_float
ERROR test/test_typing.py::TestBSONFromVectorType::test_from_vector_list_int
ERROR test/test_typing_strict.py::test_generic_arguments - pytest.PytestDepre...
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocSessions::test_Dirty_explicit_session_is_discarded
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocSessions::test_Server_supports_explicit_sessions
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocSessions::test_Server_supports_implicit_sessions
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassEntityFindCursor::test_cursors_can_be_created,_iterated,_and_closed
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCrud::test_Aggregate_with_$listLocalSessions
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCrud::test_BulkWrite_with_mixed_ordered_operations
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCrud::test_InsertMany_continue-on-error_behavior_with_unordered_(duplicate_key_in_requests)
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCrud::test_ReplaceOne_prohibits_atomic_modifiers
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCrud::test_readConcern_majority_with_out_stage
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperationEmptyArray::test_Empty_operations_array
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsDocument::test_matchAsDocument_decodes_Extended_JSON
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsDocument::test_matchAsDocument_evaluates_special_operators
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsDocument::test_matchAsDocument_performs_flexible_numeric_comparisons
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocGridfs::test_Delete_when_length_is_10
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocGridfs::test_Download_when_an_intermediate_chunk_is_missing
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocGridfs::test_Download_when_files_entry_does_not_exist
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocGridfs::test_Download_when_there_are_three_chunks
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocGridfs::test_Upload_when_length_is_5
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassAssertNumberConnectionsCheckedOut::test_basic_assertion_succeeds
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedErrorErrorResponse::test_Unsupported_command
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedErrorErrorResponse::test_Unsupported_query_operator
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedErrorIsClientError::test_isClientError_considers_network_errors
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassEntityClientCmapEvents::test_events_are_captured_during_an_operation
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_getnonce_is_not_observed_by_default
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_getnonce_is_not_observed_with_observeSensitiveCommands=false
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_getnonce_is_observed_with_observeSensitiveCommands=true
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_hello_with_speculativeAuthenticate
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_hello_without_speculativeAuthenticate_is_always_observed
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_legacy_hello_with_speculativeAuthenticate
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassObserveSensitiveCommands::test_legacy_hello_without_speculativeAuthenticate_is_always_observed
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassIgnoreResultAndError::test_operation_errors_are_ignored_if_ignoreResultAndError_is_true
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedEventsForClientTopologyDescriptionChangedEvent::test_can_assert_on_values_of_newDescription_and_previousDescription_fields
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableReads::test_Aggregate_succeeds_after_InterruptedAtShutdown
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableReads::test_Find_fails_on_first_attempt
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableReads::test_Find_fails_on_second_attempt
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableReads::test_Find_succeeds_on_second_attempt
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableReads::test_ListDatabases_succeeds_on_second_attempt
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassCreateEntitiesOperation::test_createEntities_operation
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorTypeNumberAlias::test_type_number_alias_matches_decimal128
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorTypeNumberAlias::test_type_number_alias_matches_double
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorTypeNumberAlias::test_type_number_alias_matches_int32
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorTypeNumberAlias::test_type_number_alias_matches_int64
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassEntityCommandCursor::test_createCommandCursor's_cursor_can_be_closed_and_will_perform_a_killCursors_operation
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassEntityCommandCursor::test_createCommandCursor_creates_a_cursor_and_stores_it_as_an_entity_that_can_be_iterated_one_document_at_a_time
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassEntityCommandCursor::test_runCursorCommand_creates_and_exhausts_cursor_by_running_getMores
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsRoot::test_matchAsRoot_evaluates_special_operators
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsRoot::test_matchAsRoot_performs_flexible_numeric_comparisons
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsRoot::test_matchAsRoot_with_matchAsDocument
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorMatchAsRoot::test_matchAsRoot_with_nested_document
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedEventsForClientEventType::test_eventType_can_be_set_to_command_and_cmap
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedEventsForClientEventType::test_eventType_defaults_to_command_if_unset
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassCollectionDataCreateOptions::test_collection_is_created_with_the_correct_options
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedEventsForClientIgnoreExtraEvents::test_ignoreExtraEvents_can_be_set_to_false
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedEventsForClientIgnoreExtraEvents::test_ignoreExtraEvents_can_be_set_to_true
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassExpectedEventsForClientIgnoreExtraEvents::test_ignoreExtraEvents_defaults_to_false_if_unset
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactions::test_Client_side_error_in_command_starting_transaction
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactions::test_create_index_on_a_non-existing_collection
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactions::test_explicitly_create_collection_using_create_command
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCommandMonitoring::test_A_failed_find_event
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocCommandMonitoring::test_A_successful_find_event_with_a_getmore_and_the_server_kills_the_cursor_(<=_4_4)
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassOperatorLte::test_special_lte_matching_operator
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactionsMongosPinAuto::test_remain_pinned_after_non-transient_Interrupted_error_on_insertOne
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactionsMongosPinAuto::test_unpin_after_transient_error_within_a_transaction
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactionsConvenientApi::test_withTransaction_and_no_transaction_options_set
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactionsConvenientApi::test_withTransaction_explicit_transaction_options
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactionsConvenientApi::test_withTransaction_inherits_transaction_options_from_client
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocTransactionsConvenientApi::test_withTransaction_inherits_transaction_options_from_defaultTransactionOptions
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassEntityCursorIterateOnce::test_iterateOnce
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableWrites::test_FindOneAndUpdate_is_committed_on_first_attempt
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableWrites::test_FindOneAndUpdate_is_never_committed
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableWrites::test_FindOneAndUpdate_is_not_committed_on_first_attempt
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableWrites::test_InsertMany_succeeds_after_PrimarySteppedDown
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableWrites::test_InsertOne_fails_after_connection_failure_when_retryWrites_option_is_false
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocRetryableWrites::test_InsertOne_fails_after_multiple_retryable_writeConcernErrors
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocChangeStreams::test_Executing_a_watch_helper_on_a_MongoClient_results_in_notifications_for_changes_to_all_collections_in_all_databases_in_the_cluster
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocChangeStreams::test_Test_consecutive_resume
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidPassPocChangeStreams::test_saveResultAsEntity_is_optional_for_createChangeStream
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsDocument::test_matchAsDocument_does_not_permit_extra_fields
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsDocument::test_matchAsDocument_evaluates_special_operators
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsDocument::test_matchAsDocument_expects_JSON_object_but_given_array
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsDocument::test_matchAsDocument_expects_JSON_object_but_given_scalar
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsDocument::test_matchAsDocument_fails_to_decode_Extended_JSON
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsDocument::test_matchAsDocument_with_non-matching_filter
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailAssertNumberConnectionsCheckedOut::test_operation_fails_if_client_entity_does_not_exist
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailAssertNumberConnectionsCheckedOut::test_operation_fails_if_client_field_is_not_specified
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailAssertNumberConnectionsCheckedOut::test_operation_fails_if_connections_field_is_not_specified
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailAssertNumberConnectionsCheckedOut::test_operation_fails_if_number_of_connections_is_incorrect
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailIgnoreResultAndError::test_operation_errors_are_not_ignored_if_ignoreResultAndError_is_false
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntitySessionClientUndefined::test_foo
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityFindCursorMalformed::test_createFindCursor_fails_if_filter_is_not_specified
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityClientApiVersionUnsupported::test_foo
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperatorMatchAsRoot::test_matchAsRoot_with_nested_document_does_not_match
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityFindCursor::test_close_fails_if_it_references_a_nonexistent_entity
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityFindCursor::test_iterateUntilDocumentOrError_fails_if_it_references_a_nonexistent_entity
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityBucketDatabaseUndefined::test_foo
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityDatabaseClientUndefined::test_foo
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailReturnDocumentEnumInvalid::test_FindOneAndReplace_returnDocument_invalid_enum_value
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailReturnDocumentEnumInvalid::test_FindOneAndUpdate_returnDocument_invalid_enum_value
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperationFailure::test_Unsupported_command
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperationFailure::test_Unsupported_query_operator
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailIgnoreResultAndErrorMalformed::test_malformed_operation_fails_if_ignoreResultAndError_is_true
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailEntityCollectionDatabaseUndefined::test_foo
ERROR test/test_unified_format.py::TestUnifiedTestFormatValidFailOperationUnsupported::test_Unsupported_operation
ERROR test/test_unified_format.py::TestMatchEvaluatorUtil::test_type - pytest...
ERROR test/test_unified_format.py::TestMatchEvaluatorUtil::test_unsetOrMatches
ERROR test/test_uri_parser.py::TestURI::test_do_not_include_password_in_port_message
ERROR test/test_uri_parser.py::TestURI::test_handle_colon - pytest.PytestDepr...
ERROR test/test_uri_parser.py::TestURI::test_normalize_options - pytest.Pytes...
ERROR test/test_uri_parser.py::TestURI::test_parse_ssl_paths - pytest.PytestD...
ERROR test/test_uri_parser.py::TestURI::test_parse_uri - pytest.PytestDepreca...
ERROR test/test_uri_parser.py::TestURI::test_parse_uri_options_type - pytest....
ERROR test/test_uri_parser.py::TestURI::test_port_with_whitespace - pytest.Py...
ERROR test/test_uri_parser.py::TestURI::test_redact_AWS_SESSION_TOKEN - pytes...
ERROR test/test_uri_parser.py::TestURI::test_special_chars - pytest.PytestDep...
ERROR test/test_uri_parser.py::TestURI::test_split_hosts - pytest.PytestDepre...
ERROR test/test_uri_parser.py::TestURI::test_split_options - pytest.PytestDep...
ERROR test/test_uri_parser.py::TestURI::test_tlsinsecure_simple - pytest.Pyte...
ERROR test/test_uri_parser.py::TestURI::test_unquote_during_parsing - pytest....
ERROR test/test_uri_parser.py::TestURI::test_validate_userinfo - pytest.Pytes...
ERROR test/test_versioned_api.py::TestServerApi::test_server_api_defaults - p...
ERROR test/test_versioned_api.py::TestServerApi::test_server_api_explicit_false
ERROR test/test_versioned_api.py::TestServerApi::test_server_api_strict - pyt...
ERROR test/test_versioned_api.py::TestServerApi::test_server_api_validation
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_aggregate_on_collection_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_aggregate_on_database_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_bulkWrite_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_client_bulkWrite_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_countDocuments_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_deleteMany_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_deleteOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_distinct_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_estimatedDocumentCount_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_findOneAndDelete_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_findOneAndReplace_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_findOneAndUpdate_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_find_and_getMore_append_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_insertMany_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_insertOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_replaceOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_updateMany_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1::test_updateOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiTestCommandsStrictMode::test_Running_a_command_that_is_not_part_of_the_versioned_API_results_in_an_error
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_aggregate_on_collection_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_aggregate_on_database_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_bulkWrite_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_countDocuments_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_deleteMany_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_deleteOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_distinct_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_estimatedDocumentCount_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_findOneAndDelete_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_findOneAndReplace_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_findOneAndUpdate_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_find_and_getMore_append_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_insertMany_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_insertOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_replaceOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_updateMany_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiCrudApiVersion_1Strict::test_updateOne_appends_declared_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiTestCommandsDeprecationErrors::test_Running_a_command_that_is_deprecated_raises_a_deprecation_error
ERROR test/test_versioned_api_integration.py::TestVersionedApiRuncommandHelperNoApiVersionDeclared::test_runCommand_does_not_inspect_or_change_the_command_document
ERROR test/test_versioned_api_integration.py::TestVersionedApiRuncommandHelperNoApiVersionDeclared::test_runCommand_does_not_prevent_sending_invalid_API_version_declarations
ERROR test/test_versioned_api_integration.py::TestVersionedApiTransactionHandling::test_All_commands_in_a_transaction_declare_an_API_version
ERROR test/test_versioned_api_integration.py::TestVersionedApiTransactionHandling::test_abortTransaction_includes_an_API_version
ERROR test/test_versioned_api_integration.py::TestServerApiIntegration::test_command_options
ERROR test/test_versioned_api_integration.py::TestServerApiIntegration::test_command_options_txn
ERROR test/test_write_concern.py::TestWriteConcern::test_equality - pytest.Py...
ERROR test/test_write_concern.py::TestWriteConcern::test_equality_compatible_type
ERROR test/test_write_concern.py::TestWriteConcern::test_equality_incompatible_type
ERROR test/test_write_concern.py::TestWriteConcern::test_equality_to_none - p...
ERROR test/test_write_concern.py::TestWriteConcern::test_invalid - pytest.Pyt...
ERROR test/test_write_concern.py::TestWriteConcern::test_repr - pytest.Pytest...
=============== 1072 deselected, 7429 errors in 74.62s (0:01:14) ===============
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest --deselect test/asynchronous/test_client.py::AsyncClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver --deselect test/test_client.py::ClientUnitTest::test_connection_timeout_ms_propagates_to_DNS_resolver --deselect test/test_client.py::ClientUnitTest::test_detected_environment_warning --deselect test/test_srv_polling.py::TestSrvPolling --deselect test/asynchronous/test_srv_polling.py::TestSrvPolling --deselect test/test_uri_spec.py
	rm -fr -- /tmp/dh-xdg-rundir-g4Qhlgw5
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:19: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1139527#10
Date:
2026-06-16 16:49:19 UTC
From:
To:
Hello,

This error was already reported by upstream.
* Use asyncio.set_event_loop_policy instead of event_loop_policy
https://jira.mongodb.org/browse/PYTHON-5842

And fixed by upstream.
* PYTHON-5842 replace event_loop_policy #2821
https://github.com/mongodb/mongo-python-driver/pull/2821

#1139527#15
Date:
2026-06-18 13:19:51 UTC
From:
To:
Hello,

I was added merge request for this issue.
https://salsa.debian.org/python-team/packages/pymongo/-/merge_requests/1

#1139527#22
Date:
2026-06-18 16:56:24 UTC
From:
To:
Aryan: I'm considering to make a team upload to fix this, as the list
of packages that would be removed is very long. I'm going to assume
that the 4.17.0 release which you put in salsa is ready to be uploaded
(when this patch is included).

(If you prefer to prepare the upload yourself, please say so ASAP).

Thanks.

#1139527#25
Date:
2026-06-18 17:57:55 UTC
From:
To:
Hello,

Bug #1139527 in pymongo reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/pymongo/-/commit/64a221ced41454c993aaa497480fac2231d55906

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1139527

#1139527#32
Date:
2026-06-18 18:21:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pymongo, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1139527@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated pymongo package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 18 Jun 2026 19:50:00 +0200
Source: pymongo
Architecture: source
Version: 4.17.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1139527
Changes:
 pymongo (4.17.0-1) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Aryan Karamtoth ]
   * New upstream version 4.17.0.
   * Bump Standards-Version to 4.7.4.
 .
   [ YOKOTA Hiroshi ]
   * Replace event_loop_policy. Closes: #1139527.
Checksums-Sha1:
 4e0b0efd1a03388bab8d100355a24d17c2525f2d 2220 pymongo_4.17.0-1.dsc
 9962d6383084c1a2d231c87208bf422e8866a032 2596282 pymongo_4.17.0.orig.tar.gz
 3618b20a77ab5314c930b55f2ab4097f5f3afe74 8008 pymongo_4.17.0-1.debian.tar.xz
 3cbbaa4a1665a1c2d4fae59142adb0cafe9edacd 8238 pymongo_4.17.0-1_source.buildinfo
Checksums-Sha256:
 69a7669d307b33ee16209226984bd67dc6f4bfea16bd0e7ca4c6976b61cc3eed 2220 pymongo_4.17.0-1.dsc
 588f9d77e1ff573e87c0cdc7c45511a3adf6455e5460519035f65b6192f68ae4 2596282 pymongo_4.17.0.orig.tar.gz
 0566c8aababd31c50fb1935164a317871baafae405a634a11c76651a73d7104c 8008 pymongo_4.17.0-1.debian.tar.xz
 311fd58ea28d52b87d317d23ddde3e586d5aebc613ac675ded4552fa154d7378 8238 pymongo_4.17.0-1_source.buildinfo
Files:
 c20fb94a0614d9a3cb7210992f9d708e 2220 python optional pymongo_4.17.0-1.dsc
 9780ccafe8af2677d70eb4100f3e1f3e 2596282 python optional pymongo_4.17.0.orig.tar.gz
 5ba81b650ea0c1640c06df181e722876 8008 python optional pymongo_4.17.0-1.debian.tar.xz
 9f78fcd9253e0bec9c61712b2ba982a1 8238 python optional pymongo_4.17.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmo0MYEACgkQQc5/C58b
izIuVQf+PkcObShmUZNfBda2b8PpgMz+A/hN1rhDdesRvB4zlrfWBc3E1d/M2T0Z
hj+hBHRSZVfL1sukLHmKHU6NNHEhypB+MC7A6+PjR2haHAZKF+nsh81MqkB5BHwn
fK5mS9i3fKb4hdK1rJzbCPLcvxn1W/oO9R0RHW5rXqqmN1A5040QzQPRuawYp0tk
1bC+rtIXPsmvkGNpm47QgYogLu9MY7F2lc2s8aN+vxnzBLWWJGZlsovaLxapKHP2
SvDql0LMihR6Z79yonu+LlmwxeowEjRUpePr0XcXFbKjRBQ5FB/kVU9SD9Mc1NC3
BjvfUm32cVZ8br7z35ns6wGIpozPWQ==
=2cJB
-----END PGP SIGNATURE-----

#1139527#37
Date:
2026-06-19 02:28:21 UTC
From:
To:
Hi Santiago,

thanks for the heads up. I was asleep so couldn't respond.

I noticed that you made the upload already but there were some changes
suggested by Jeroen [1] a month ago but I didn't find time for it as I
was busy, was on my to-do list until I saw the RC bug but looks like
Yokota got to it first (thanks btw).

I can make a minor packaging update soon to address Jeroen's comments.

[1] https://lists.debian.org/debian-python/2026/05/msg00012.html

#1139527#42
Date:
2026-06-19 11:27:46 UTC
From:
To:
Yes, you can do that at any time. I suggest that you wait just a
little bit, until the current package reaches testing. The number of
packages declaring dependencies on pymongo in their autopkgtests is a
little bit scary (see https://qa.debian.org/excuses.php?package=pymongo).

Thanks.