Source: django-countries
Version: 7.3.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e; \
> for python in python3.9 python3.10; do \
>   PYTHONPATH="." DJANGO_SETTINGS_MODULE=django_countries.tests.settings 
> $python /usr/bin/django-admin test django_countries.tests;\
> done
> Creating test database for alias 'default'...
> Found 161 test(s).
> System check identified no issues (0 silenced).
> E..........................................................................................................................
> The following flags don't have a matching country code:
>   XK
> .....................................s
> ======================================================================
> ERROR: django_countries.tests.test_drf (unittest.loader._FailedTest)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: django_countries.tests.test_drf
> Traceback (most recent call last):
>   File "/usr/lib/python3.9/unittest/loader.py", line 436, in _find_test_path
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python3.9/unittest/loader.py", line 377, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/django_countries/tests/test_drf.py", line 7, in 
> <module>
>     from django_countries.serializers import CountryFieldMixin
>   File "/<<PKGBUILDDIR>>/django_countries/serializers.py", line 1, in <module>
>     from . import fields, serializer_fields
>   File "/<<PKGBUILDDIR>>/django_countries/serializer_fields.py", line 1, in 
> <module>
>     from rest_framework import serializers
>   File "/usr/lib/python3/dist-packages/rest_framework/serializers.py", line 
> 29, in <module>
>     from rest_framework.fields import get_error_detail, set_value
>   File "/usr/lib/python3/dist-packages/rest_framework/fields.py", line 32, in 
> <module>
>     from pytz.exceptions import InvalidTimeError
> ModuleNotFoundError: No module named 'pytz'
> 
> 
> ----------------------------------------------------------------------
> Ran 161 tests in 0.586s
> 
> FAILED (errors=1, skipped=1)
> Destroying test database for alias 'default'...
> make[1]: *** [debian/rules:14: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/django-countries_7.3.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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 marking 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