Article View: linux.debian.bugs.rc
Article #290Bug#1150464: djangorestframework: FTBFS: ________________ TestFileUploadParser.test_get_encoded_filename ________________
From: Santiago Vila
Date: Fri, 09 Oct 2026 19:50
Date: Fri, 09 Oct 2026 19:50
75 lines
6086 bytes
6086 bytes
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
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NMoLo-4y1a-29@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1150464: djangorestframework: FTBFS: ________________ TestFileUploadParser.test_get_encoded_filename ________________ Date: Fri, 09 Oct 2026 21:50:02 +0200 Message-ID: <NMoLo-4y1a-29@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Oct 9 19:41:15 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.459 Reply-To: Santiago Vila <sanvila@debian.org>, 1150464@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1150464 X-Debian-Pr-Package: src:djangorestframework X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: djangorestframework X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834107 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 75 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 09 Oct 2026 19:40:40 +0000 X-Original-Message-ID: <E1xFGSO-000xwJ-3A@paradis.debian.org>