ftbfs against python3-django 3:4.2.4-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
senlin-dashboard (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
senlin-dashboard is failing to build after a minor Debian update. The update performs a more aggressive cleanup, to address a prior ftbfs in Debian; however it isn't clear that is the cause of this failure.
Of note, Debian builds against the older 3.2.20 version of python3-django, whereas we build against the newer 4.2.4. It is not obvious if that is the cause of the failure either, but seems more plausible.
Debian:
Get:172 https:/
https:/
Ubuntu:
Get:151 http://
https:/
=======
ERROR: test_index_
-------
Traceback (most recent call last):
File "/usr/lib/
retval = function(inst, *args, **kwargs)
File "/<<PKGBUILDDIR
self.
File "/usr/lib/
temp_req = self.client.
File "/usr/lib/
response = self.handler(
File "/usr/lib/
request = WSGIRequest(
File "/usr/lib/
self._stream = LimitedStream(
File "/usr/lib/
self._read = stream.read
AttributeError: 'NoneType' object has no attribute 'read'
summary: |
- ftbfs gainst python3-django 3:4.2.4-1 + ftbfs against python3-django 3:4.2.4-1 |
As a note, masakari-dashboard appears to be a similar situation. Different error messages, but also started failing after a seemingly minor cleanup change, and Debian doesn't build the package against the newer Django.
https:/ /launchpadlibra rian.net/ 685577052/ buildlog_ ubuntu- mantic- amd64.masakari- dashboard_ 8.0.0-4_ BUILDING. txt.gz
py3versions: no X-Python3-Version in control file, using supported versions /<<PKGBUILDDIR> >/debian/ tmp/usr/ lib/python3/ dist-packages \ >/manage. py test masakaridashboa rd.test -v 2 --settings= masakaridashboa rd.test. settings --exclude-tag integration ; \ >>/manage. py", line 25, in <module> from_command_ line(sys. argv) python3/ dist-packages/ django/ core/management /__init_ _.py", line 442, in execute_ from_command_ line execute( ) _bootstrap> ", line 241, in _call_with_ frames_ removed >>/masakaridash board/dashboard .py", line 18, in <module> utils.translati on import ugettext_lazy as _ utils.translati on' (/usr/lib/ python3/ dist-packages/ django/ utils/translati on/__init_ _.py) dh_auto_ test] Error 1
for i in 3.11 ; do \
PYTHONPATH=
python$i /<<PKGBUILDDIR>
done
Excluding test tag(s): integration.
Found 0 test(s).
Skipping setup of unused database(s): default.
Traceback (most recent call last):
File "/<<PKGBUILDDIR
execute_
File "/usr/lib/
utility.
[...]
File "<frozen importlib.
File "/<<PKGBUILDDIR
from django.
ImportError: cannot import name 'ugettext_lazy' from 'django.
make[1]: *** [debian/rules:45: override_