Your message dated Sun, 31 Jul 2022 15:22:07 +0000
with message-id <e1oialb-001cam...@fasolo.debian.org>
and subject line Bug#1013466: fixed in python-django-rest-framework-guardian
0.3.0-4
has caused the Debian Bug report #1013466,
regarding python-django-rest-framework-guardian: FTBFS: ImportError: cannot
import name 'ugettext_lazy' from 'django.utils.translation'
(/usr/lib/python3/dist-packages/django/utils/translation/__init__.py)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1013466: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1013466
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django-rest-framework-guardian
Version: 0.3.0-3
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>>'
> dh_auto_test -- --system=custom --test-args="cd {build_dir}; {interpreter}
> manage.py test"
> I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/manage.py
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build;
> python3.9 manage.py test
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build/manage.py",
> line 16, in <module>
> execute_from_command_line(sys.argv)
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 446, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 420, in execute
> django.setup()
> File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
> apps.populate(settings.INSTALLED_APPS)
> File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 116, in
> populate
> app_config.import_models()
> File "/usr/lib/python3/dist-packages/django/apps/config.py", line 304, in
> import_models
> self.models_module = import_module(models_module_name)
> File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
> File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 850, in exec_module
> File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build/tests/models.py",
> line 2, in <module>
> from django.utils.translation import ugettext_lazy as _
> ImportError: cannot import name 'ugettext_lazy' from
> 'django.utils.translation'
> (/usr/lib/python3/dist-packages/django/utils/translation/__init__.py)
> E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_django-restframework-guardian/build;
> python3.9 manage.py test
> I: pybuild pybuild:300: cp -r /<<PKGBUILDDIR>>/tests
> /<<PKGBUILDDIR>>/manage.py
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build
> I: pybuild base:239: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build;
> python3.10 manage.py test
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build/manage.py",
> line 16, in <module>
> execute_from_command_line(sys.argv)
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 446, in execute_from_command_line
> utility.execute()
> File "/usr/lib/python3/dist-packages/django/core/management/__init__.py",
> line 420, in execute
> django.setup()
> File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
> apps.populate(settings.INSTALLED_APPS)
> File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 116, in
> populate
> app_config.import_models()
> File "/usr/lib/python3/dist-packages/django/apps/config.py", line 304, in
> import_models
> self.models_module = import_module(models_module_name)
> File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 883, in exec_module
> File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build/tests/models.py",
> line 2, in <module>
> from django.utils.translation import ugettext_lazy as _
> ImportError: cannot import name 'ugettext_lazy' from
> 'django.utils.translation'
> (/usr/lib/python3/dist-packages/django/utils/translation/__init__.py)
> E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_django-restframework-guardian/build;
> python3.10 manage.py test
> dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.10"
> --system=custom "--test-args=cd {build_dir}; {interpreter} manage.py test"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2022/06/24/python-django-rest-framework-guardian_0.3.0-3_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.
--- End Message ---
--- Begin Message ---
Source: python-django-rest-framework-guardian
Source-Version: 0.3.0-4
Done: Michael Fladischer <fl...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-django-rest-framework-guardian, which is due to be installed in the
Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1013...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Fladischer <fl...@debian.org> (supplier of updated
python-django-rest-framework-guardian package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 31 Jul 2022 13:27:48 +0000
Source: python-django-rest-framework-guardian
Architecture: source
Version: 0.3.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael Fladischer <fl...@debian.org>
Closes: 1013466
Changes:
python-django-rest-framework-guardian (0.3.0-4) unstable; urgency=medium
.
* Use github tags instead of releases for d/watch.
* Add patch for Django 4 compatibility (Closes: #1013466).
* Update year in d/copyright.
* Depend on python3-all for autopkgtests.
Checksums-Sha1:
fcbd0fa1451f231e69acec8a82375408e0aabd4d 2096
python-django-rest-framework-guardian_0.3.0-4.dsc
a9aadc1679e4f1eba107755b9d0e1650e2bbbb64 3368
python-django-rest-framework-guardian_0.3.0-4.debian.tar.xz
f02577922723109d0ff1537a36f4b75bab9e221f 6992
python-django-rest-framework-guardian_0.3.0-4_arm64.buildinfo
Checksums-Sha256:
a576eda5f5a32455bfb09a5cda29290054f1948dd9b232a1ed8d189bcf1067af 2096
python-django-rest-framework-guardian_0.3.0-4.dsc
a3923ccdc6fdfcea5e245fc6a73083b60796a986e3c73715dde81e701e6d29a7 3368
python-django-rest-framework-guardian_0.3.0-4.debian.tar.xz
31e5bb212a3cef8f623a9f4c73f23bf87c6468db6ac714a79870c1b27121e7c2 6992
python-django-rest-framework-guardian_0.3.0-4_arm64.buildinfo
Files:
872035a665db44865980ecdad1381911 2096 python optional
python-django-rest-framework-guardian_0.3.0-4.dsc
7dfaff5565849211df81c9dd24421c01 3368 python optional
python-django-rest-framework-guardian_0.3.0-4.debian.tar.xz
5b4867b991bdba3b2d55e565a3f8169f 6992 python optional
python-django-rest-framework-guardian_0.3.0-4_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmLmhMMACgkQ/9PIi5l9
0Wp1QggAqktNw8EBN0ltCa8sjxqkcxc0pX+j9gewqzQnEb7KTHAwTl3gL9Ii9sDd
JaOwsNsgS3mIapuHy89caO3XV8TH9P47LlvD7M5ajsYRHZkSqQI/17G1oiQvDuVE
zvW48PRNh06o3/FRIN9BFeFkcGl8WGP/4LECoA2DlqLUkBrruGD7MvKXDljEzT73
+xa5ZHk/KjUgLVPi7u0VTnzia2kcLlV2H+o1n/wqcGx+s4sYtQuHKR/+bv4DMVEq
pI2YnALWo9NOySrOvKJrshjJv9quXoOFoZQZFqaUmHSe6RO2lBNrtFcnWCzkA2Tz
2mADCb/FJxi9zs3gTCpkClMtWykKRw==
=2Tfg
-----END PGP SIGNATURE-----
--- End Message ---