Source: djangorestframework
Version: 3.14.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):

> =========================== short test summary info 
> ============================
> SKIPPED [1] tests/test_model_serializer.py:446: condition: not postgres_fields
> SKIPPED [1] tests/test_model_serializer.py:431: condition: not postgres_fields
> SKIPPED [1] tests/test_model_serializer.py:466: has models.JSONField
> SKIPPED [1] tests/test_serializer_nested.py:325: psycopg2 is not installed
> SKIPPED [1] tests/test_serializer_nested.py:343: psycopg2 is not installed
> ERROR tests/test_fields.py::TestReadOnly::test_writable_fields - 
> pytest.Pytes...
> ERROR tests/test_fields.py::TestReadOnly::test_validate_read_only - 
> pytest.Py...
> ERROR tests/test_fields.py::TestReadOnly::test_serialize_read_only - 
> pytest.P...
> ERROR tests/test_fields.py::TestWriteOnly::test_validate_write_only - 
> pytest....
> ERROR tests/test_fields.py::TestWriteOnly::test_serialize_write_only - 
> pytest...
> ERROR tests/test_fields.py::TestInitial::test_initial - 
> pytest.PytestRemovedI...
> ERROR 
> tests/test_fields.py::TestInitialWithCallable::test_initial_should_accept_callable
> ERROR tests/test_fields.py::TestLabel::test_label - 
> pytest.PytestRemovedIn8Wa...
> ERROR tests/test_fields.py::TestInvalidErrorKey::test_invalid_error_key - 
> pyt...
> ERROR 
> tests/test_fields.py::TestCreateOnlyDefault::test_create_only_default_is_provided
> ERROR 
> tests/test_fields.py::TestCreateOnlyDefault::test_create_only_default_is_not_provided_on_update
> ERROR 
> tests/test_fields.py::TestCreateOnlyDefault::test_create_only_default_callable_sets_context
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_filtered_items_are_paginated
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_setting_page_size
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_setting_page_size_over_maximum
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_setting_page_size_to_zero
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_additional_query_params_are_preserved
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_empty_query_params_are_preserved
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_404_not_found_for_zero_page
> ERROR 
> tests/test_pagination.py::TestPaginationIntegration::test_404_not_found_for_invalid_page
> ERROR 
> tests/test_pagination.py::TestPaginationDisabledIntegration::test_unpaginated_list
> ERROR tests/test_pagination.py::TestPageNumberPagination::test_no_page_number
> ERROR tests/test_pagination.py::TestPageNumberPagination::test_second_page - 
> ...
> ERROR tests/test_pagination.py::TestPageNumberPagination::test_last_page - 
> py...
> ERROR tests/test_pagination.py::TestPageNumberPagination::test_invalid_page
> ERROR 
> tests/test_pagination.py::TestPageNumberPagination::test_get_paginated_response_schema
> ERROR 
> tests/test_pagination.py::TestPageNumberPaginationOverride::test_no_page_number
> ERROR 
> tests/test_pagination.py::TestPageNumberPaginationOverride::test_invalid_page
> ERROR tests/test_pagination.py::TestLimitOffset::test_no_offset - 
> pytest.Pyte...
> ERROR 
> tests/test_pagination.py::TestLimitOffset::test_pagination_not_applied_if_limit_or_default_limit_not_set
> ERROR tests/test_pagination.py::TestLimitOffset::test_single_offset - 
> pytest....
> ERROR tests/test_pagination.py::TestLimitOffset::test_first_offset - 
> pytest.P...
> ERROR tests/test_pagination.py::TestLimitOffset::test_middle_offset - 
> pytest....
> ERROR tests/test_pagination.py::TestLimitOffset::test_ending_offset - 
> pytest....
> ERROR tests/test_pagination.py::TestLimitOffset::test_erronous_offset - 
> pytes...
> ERROR tests/test_pagination.py::TestLimitOffset::test_invalid_offset - 
> pytest...
> ERROR tests/test_pagination.py::TestLimitOffset::test_invalid_limit - 
> pytest....
> ERROR tests/test_pagination.py::TestLimitOffset::test_zero_limit - 
> pytest.Pyt...
> ERROR tests/test_pagination.py::TestLimitOffset::test_max_limit - 
> pytest.Pyte...
> ERROR 
> tests/test_pagination.py::TestLimitOffset::test_get_paginated_response_schema
> ERROR tests/test_pagination.py::TestCursorPagination::test_invalid_cursor - 
> p...
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_use_with_ordering_filter
> ERROR tests/test_pagination.py::TestCursorPagination::test_cursor_pagination
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_cursor_pagination_current_page_empty_forward
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_cursor_pagination_current_page_empty_reverse
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_cursor_pagination_with_page_size
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_cursor_pagination_with_page_size_over_limit
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_cursor_pagination_with_page_size_zero
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_cursor_pagination_with_page_size_negative
> ERROR 
> tests/test_pagination.py::TestCursorPagination::test_get_paginated_response_schema
> ERROR tests/test_relations.py::TestHyperlink::test_can_be_pickled - 
> pytest.Py...
> ERROR tests/test_serializer.py::TestSerializer::test_valid_serializer - 
> pytes...
> ERROR tests/test_serializer.py::TestSerializer::test_invalid_serializer - 
> pyt...
> ERROR tests/test_serializer.py::TestSerializer::test_invalid_datatype - 
> pytes...
> ERROR tests/test_serializer.py::TestSerializer::test_partial_validation - 
> pyt...
> ERROR tests/test_serializer.py::TestSerializer::test_empty_serializer - 
> pytes...
> ERROR 
> tests/test_serializer.py::TestSerializer::test_missing_attribute_during_serialization
> ERROR 
> tests/test_serializer.py::TestSerializer::test_data_access_before_save_raises_error
> ERROR tests/test_serializer.py::TestSerializer::test_validate_none_data - 
> pyt...
> ERROR tests/test_serializer.py::TestSerializer::test_serialize_chainmap - 
> pyt...
> ERROR tests/test_serializer.py::TestSerializer::test_serialize_custom_mapping
> ERROR tests/test_serializer.py::TestSerializer::test_custom_to_internal_value
> ERROR tests/test_serializer.py::TestSerializer::test_iterable_validators - 
> py...
> ERROR 
> tests/test_serializer.py::TestSerializer::test_serializer_is_subscriptable
> ERROR 
> tests/test_serializer.py::TestBaseSerializer::test_abstract_methods_raise_proper_errors
> ERROR 
> tests/test_serializer.py::TestBaseSerializer::test_access_to_data_attribute_before_validation_raises_error
> ERROR 
> tests/test_serializer.py::TestBaseSerializer::test_access_to_errors_attribute_before_validation_raises_error
> ERROR 
> tests/test_serializer.py::TestBaseSerializer::test_access_to_validated_data_attribute_before_validation_raises_error
> ERROR tests/test_serializer.py::TestBaseSerializer::test_serialize_instance
> ERROR tests/test_serializer.py::TestBaseSerializer::test_serialize_list - 
> pyt...
> ERROR tests/test_serializer.py::TestBaseSerializer::test_validate_data - 
> pyte...
> ERROR tests/test_serializer.py::TestBaseSerializer::test_validate_list - 
> pyte...
> ERROR tests/test_serializer.py::TestStarredSource::test_nested_validate - 
> pyt...
> ERROR tests/test_serializer.py::TestStarredSource::test_nested_null_validate
> ERROR tests/test_serializer.py::TestStarredSource::test_nested_serialize - 
> py...
> ERROR tests/test_serializer.py::TestStarredSource::test_field_validate - 
> pyte...
> ERROR tests/test_serializer.py::TestStarredSource::test_field_null_validate
> ERROR tests/test_serializer.py::TestDefaultOutput::test_default_used_for_dict
> ERROR 
> tests/test_serializer.py::TestDefaultOutput::test_default_used_for_object
> ERROR 
> tests/test_serializer.py::TestDefaultOutput::test_default_not_used_when_in_dict
> ERROR 
> tests/test_serializer.py::TestDefaultOutput::test_default_not_used_when_in_object
> ERROR 
> tests/test_serializer.py::TestDefaultOutput::test_default_for_dotted_source
> ERROR 
> tests/test_serializer.py::TestDefaultOutput::test_default_for_multiple_dotted_source
> ERROR 
> tests/test_serializer.py::TestDefaultOutput::test_default_for_nested_serializer
> ERROR tests/test_serializer.py::TestDefaultOutput::test_default_for_allow_null
> ERROR 
> tests/test_serializer.py::TestDefaultInclusions::test_default_should_included_on_create
> ERROR 
> tests/test_serializer.py::TestDefaultInclusions::test_default_should_be_included_on_update
> ERROR 
> tests/test_serializer.py::TestDefaultInclusions::test_default_should_not_be_included_on_partial_update
> ERROR 
> tests/test_serializer.py::TestSerializerValidationWithCompiledRegexField::test_validation_success
> ERROR tests/test_serializer.py::Test4606Regression::test_4606_regression - 
> py...
> ERROR tests/test_serializer_lists.py::TestListSerializer::test_validate - 
> pyt...
> ERROR 
> tests/test_serializer_lists.py::TestListSerializer::test_validate_html_input
> ERROR 
> tests/test_serializer_lists.py::TestListSerializer::test_list_serializer_is_subscriptable
> ERROR 
> tests/test_serializer_lists.py::TestListSerializerContainingNestedSerializer::test_validate
> ERROR 
> tests/test_serializer_lists.py::TestListSerializerContainingNestedSerializer::test_create
> ERROR 
> tests/test_serializer_lists.py::TestListSerializerContainingNestedSerializer::test_serialize
> ERROR 
> tests/test_serializer_lists.py::TestListSerializerContainingNestedSerializer::test_validate_html_input
> ERROR tests/test_serializer_lists.py::TestNestedListSerializer::test_validate
> ERROR tests/test_serializer_lists.py::TestNestedListSerializer::test_create
> ERROR tests/test_serializer_lists.py::TestNestedListSerializer::test_serialize
> ERROR 
> tests/test_serializer_lists.py::TestNestedListSerializer::test_validate_html_input
> ERROR 
> tests/test_serializer_lists.py::TestNestedListOfListsSerializer::test_validate
> ERROR 
> tests/test_serializer_lists.py::TestNestedListOfListsSerializer::test_validate_html_input
> ERROR 
> tests/test_serializer_lists.py::TestEmptyListSerializer::test_nested_serializer_with_list_json
> ERROR 
> tests/test_serializer_lists.py::TestEmptyListSerializer::test_nested_serializer_with_list_multipart
> ERROR 
> tests/test_serializer_lists.py::TestMaxMinLengthListSerializer::test_min_max_length_two_items
> ERROR 
> tests/test_serializer_lists.py::TestMaxMinLengthListSerializer::test_min_max_length_four_items
> ERROR 
> tests/test_serializer_lists.py::TestMaxMinLengthListSerializer::test_min_max_length_six_items
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializer::test_nested_validate
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializer::test_nested_serialize_empty
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializer::test_nested_serialize_no_data
> ERROR 
> tests/test_serializer_nested.py::TestNotRequiredNestedSerializer::test_json_validate
> ERROR 
> tests/test_serializer_nested.py::TestNotRequiredNestedSerializer::test_multipart_validate
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_null_allowed_if_allow_null_is_set
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_null_is_not_allowed_if_allow_null_is_not_set
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_run_the_field_validation_even_if_the_field_is_null
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_empty_allowed_if_allow_empty_is_set
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithMany::test_empty_not_allowed_if_allow_empty_is_set_to_false
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithList::test_nested_serializer_with_list_json
> ERROR 
> tests/test_serializer_nested.py::TestNestedSerializerWithList::test_nested_serializer_with_list_multipart
> ERROR 
> tests/test_serializer_nested.py::TestNotRequiredNestedSerializerWithMany::test_json_validate
> ERROR 
> tests/test_serializer_nested.py::TestNotRequiredNestedSerializerWithMany::test_multipart_validate
> =========== 1298 passed, 5 skipped, 2 warnings, 122 errors in 44.21s 
> ===========
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_djangorestframework/build; python3.11 
> -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/djangorestframework_3.14.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to