Package: src:djangorestframework
Version: 3.18.1+ds1-1
Severity: serious
Tags: ftbfs forky sid

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/202610/

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:djangorestframework, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
tests/test_templates.py ..                                               [ 98%]
tests/test_testing.py .                                                  [ 99%]
tests/test_versioning.py ................                                [100%]

=================================== FAILURES ===================================
________________ TestFileUploadParser.test_get_encoded_filename ________________
tests/test_parsers.py:113: in test_get_encoded_filename
    assert filename == 'ÀĥƦ.txt'
E   AssertionError: assert '�\\u0125\\u01a6.txt' == 'ÀĥƦ.txt'
E     
E     - ÀĥƦ.txt
E     + �\u0125\u01a6.txt
=============================== warnings summary ===============================
rest_framework/fields.py:1013
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_djangorestframework/build/rest_framework/fields.py:1013:
 UserWarning: max_value should be an integer or Decimal instance.
    warnings.warn("max_value should be an integer or Decimal instance.")

rest_framework/fields.py:1015
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_djangorestframework/build/rest_framework/fields.py:1015:
 UserWarning: min_value should be an integer or Decimal instance.
    warnings.warn("min_value should be an integer or Decimal instance.")

tests/test_authtoken.py::AuthTokenTests::test_authtoken_can_be_imported_when_not_included_in_installed_apps
  /usr/lib/python3/dist-packages/django/db/models/base.py:368: RuntimeWarning: 
Model 'authtoken.token' was already registered. Reloading models is not advised 
as it can lead to inconsistencies, most notably with related models.
    new_class._meta.apps.register_model(new_class._meta.app_label, new_class)

tests/test_authtoken.py::AuthTokenTests::test_authtoken_can_be_imported_when_not_included_in_installed_apps
  /usr/lib/python3/dist-packages/django/db/models/base.py:368: RuntimeWarning: 
Model 'authtoken.tokenproxy' was already registered. Reloading models is not 
advised as it can lead to inconsistencies, most notably with related models.
    new_class._meta.apps.register_model(new_class._meta.app_label, new_class)

tests/test_model_serializer.py::TestGenericIPAddressFieldValidation::test_ip_address_validation_with_custom_validator
  /usr/lib/python3/dist-packages/django/db/models/base.py:368: RuntimeWarning: 
Model 'tests.ipaddressfieldmodel' was already registered. Reloading models is 
not advised as it can lead to inconsistencies, most notably with related models.
    new_class._meta.apps.register_model(new_class._meta.app_label, new_class)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [1] tests/test_filters.py:250: Requires PostgreSQL database backend
SKIPPED [7] tests/test_filters.py: Requires PostgreSQL database backend
SKIPPED [1] tests/test_model_serializer.py:559: has models.JSONField
FAILED tests/test_parsers.py::TestFileUploadParser::test_get_encoded_filename
============ 1 failed, 1602 passed, 9 skipped, 5 warnings in 4.36s =============
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_djangorestframework/build; python3.14 
-m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14 
--parallel=1 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to