[Python-modules-team] Bug#961167: python-django-imagekit: FTBFS with Django 3.x
Chris Lamb
lamby at debian.org
Wed May 20 21:53:24 BST 2020
Source: python-django-imagekit
Version: 4.0.2-3
Severity: normal
User: python-modules-team at lists.alioth.debian.org
Usertags: django-3.x
Dear maintainer,
The version of Django experimental is currently 3.0.6-1. I have built
the 153 reverse-dependencies in unstable against this version and 114
of these build & pass their testsuite successfully. Unfortunately,
python-django-imagekit fails to build. Please see:
http://bugs.debian.org/960890
... for more information. Please use this bug report for queries
or questions regarding Django 3.x that are not specific to this
particular package in order to reduce duplicated work across all of
the bugs.
[…]
File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1390, in execute_sql
for sql, params in self.as_sql():
File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1333, in as_sql
value_rows = [
File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1334, in <listcomp>
[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1334, in <listcomp>
[self.prepare_value(field, self.pre_save_val(field, obj)) for field in fields]
File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 1285, in pre_save_val
return field.pre_save(obj, add=True)
File "/usr/lib/python3/dist-packages/django/db/models/fields/files.py", line 288, in pre_save
file.save(file.name, file.file, save=False)
File "/usr/lib/python3/dist-packages/django/db/models/fields/files.py", line 87, in save
self.name = self.storage.save(name, content, max_length=self.field.max_length)
File "/usr/lib/python3/dist-packages/django/core/files/storage.py", line 51, in save
name = self.get_available_name(name, max_length=max_length)
File "/usr/lib/python3/dist-packages/django/core/files/storage.py", line 93, in get_available_name
raise SuspiciousFileOperation(
django.core.exceptions.SuspiciousFileOperation: Storage can not find an available filename for "/home/lamby/temp/cdt.20200517002106.mF5dDFrQ5J.ags.lamby-debian-experimental.python3-django-imagekit/python-django-imagekit-4.0.2/tests/media/reference_ejJn4Ty.png". Please make sure that the corresponding file field allows sufficient "max_length".
----------------------------------------------------------------------
Ran 37 tests in 0.232s
FAILED (errors=2)
Destroying test database for alias 'default'...
nosetests tests -s --cover-tests --cover-html --cover-package=imagekit --cover-html-dir=/home/lamby/temp/cdt.20200517002106.mF5dDFrQ5J.ags.lamby-debian-experimental.python3-django-imagekit/python-django-imagekit-4.0.2/tests/cover --verbosity=1
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=2: python3.8 setup.py test
dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-django-imagekit.4.0.2-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3520 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200520/d10ec40c/attachment-0001.obj>
More information about the Python-modules-team
mailing list