@@ -94,6 +94,23 @@ class DatabaseFeatures(BaseDatabaseFeatures):
94
94
# of $setIsSubset must be arrays. Second argument is of type: null"
95
95
# https://jira.mongodb.org/browse/SERVER-99186
96
96
"model_fields_.test_arrayfield.QueryingTests.test_contained_by_subquery" ,
97
+ # Broken by https://github.com/django/django/commit/65ad4ade74dc9208b9d686a451cd6045df0c9c3a
98
+ "aggregation.tests.AggregateTestCase.test_even_more_aggregate" ,
99
+ "aggregation.tests.AggregateTestCase.test_grouped_annotation_in_group_by" ,
100
+ "aggregation.tests.AggregateTestCase.test_non_grouped_annotation_not_in_group_by" ,
101
+ "aggregation_regress.tests.AggregationTests.test_aggregate_fexpr" ,
102
+ "aggregation_regress.tests.AggregationTests.test_values_list_annotation_args_ordering" ,
103
+ "annotations.tests.NonAggregateAnnotationTestCase.test_annotation_subquery_and_aggregate_values_chaining" ,
104
+ "annotations.tests.NonAggregateAnnotationTestCase.test_values_fields_annotations_order" ,
105
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_multiple_models_with_values_and_datetime_annotations" ,
106
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_multiple_models_with_values_list_and_datetime_annotations" ,
107
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_multiple_models_with_values_list_and_annotations" ,
108
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_field_and_annotation_values" ,
109
+ "queries.test_qs_combinators.QuerySetSetOperationTests.test_union_with_two_annotated_values_list" ,
110
+ "queries.tests.Queries1Tests.test_union_values_subquery" ,
111
+ # pymongo.errors.WriteError: Performing an update on the path '_id'
112
+ # would modify the immutable field '_id'
113
+ "migrations.test_operations.OperationTests.test_composite_pk_operations" ,
97
114
}
98
115
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
99
116
_django_test_expected_failures_bitwise = {
@@ -205,9 +222,13 @@ def django_test_expected_failures(self):
205
222
"prefetch_related.tests.Ticket21410Tests" ,
206
223
"queryset_pickle.tests.PickleabilityTestCase.test_pickle_prefetch_related_with_m2m_and_objects_deletion" ,
207
224
"serializers.test_json.JsonSerializerTestCase.test_serialize_prefetch_related_m2m" ,
225
+ "serializers.test_json.JsonSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
208
226
"serializers.test_jsonl.JsonlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
227
+ "serializers.test_jsonl.JsonlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
209
228
"serializers.test_xml.XmlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
229
+ "serializers.test_xml.XmlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
210
230
"serializers.test_yaml.YamlSerializerTestCase.test_serialize_prefetch_related_m2m" ,
231
+ "serializers.test_yaml.YamlSerializerTestCase.test_serialize_prefetch_related_m2m_with_natural_keys" ,
211
232
},
212
233
"AutoField not supported." : {
213
234
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields" ,
@@ -605,6 +626,9 @@ def django_test_expected_failures(self):
605
626
"foreign_object.tests.MultiColumnFKTests" ,
606
627
"foreign_object.tests.TestExtraJoinFilterQ" ,
607
628
},
629
+ "Tuple lookups are not supported." : {
630
+ "foreign_object.test_tuple_lookups.TupleLookupsTests" ,
631
+ },
608
632
"Custom lookups are not supported." : {
609
633
"custom_lookups.tests.BilateralTransformTests" ,
610
634
"custom_lookups.tests.LookupTests.test_basic_lookup" ,
0 commit comments