Your message dated Sat, 30 Jul 2022 08:48:56 +0000
with message-id <[email protected]>
and subject line Bug#1015104: fixed in masakari-dashboard 6.0.0-2
has caused the Debian Bug report #1015104,
regarding masakari-dashboard: 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 [email protected]
immediately.)


-- 
1015104: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015104
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: masakari-dashboard
Version: 6.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220716 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>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> for i in 3.9 3.10 ; do \
>       PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages \
>               NOSE_WITH_OPENSTACK=1 \
>               NOSE_OPENSTACK_COLOR=1 \
>               NOSE_OPENSTACK_RED=0.05 \
>               NOSE_OPENSTACK_YELLOW=0.025 \
>               NOSE_OPENSTACK_SHOW_ELAPSED=1 \
>               python$i /<<PKGBUILDDIR>>/manage.py test masakaridashboard.test 
> -v 2 --settings=masakaridashboard.test.settings --exclude-tag integration ; \
> done
> Excluding test tag(s): integration.
> Found 0 test(s).
> Skipping setup of unused database(s): default.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/manage.py", line 25, 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 440, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", 
> line 24, in run_from_argv
>     super().run_from_argv(argv)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 414, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 460, in execute
>     output = self.handle(*args, **options)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", 
> line 68, in handle
>     failures = test_runner.run_tests(test_labels)
>   File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1006, in 
> run_tests
>     self.run_checks(databases)
>   File "/usr/lib/python3/dist-packages/django/test/runner.py", line 925, in 
> run_checks
>     call_command("check", verbosity=self.verbosity, databases=databases)
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 198, in call_command
>     return command.execute(*args, **defaults)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 460, in execute
>     output = self.handle(*args, **options)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/check.py", 
> line 76, in handle
>     self.check(
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 487, in check
>     all_issues = checks.run_checks(
>   File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line 
> 88, in run_checks
>     new_errors = check(app_configs=app_configs, databases=databases)
>   File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 42, 
> in check_url_namespaces_unique
>     all_namespaces = _load_all_namespaces(resolver)
>   File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 61, 
> in _load_all_namespaces
>     url_patterns = getattr(resolver, "url_patterns", [])
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 696, 
> in url_patterns
>     patterns = getattr(self.urlconf_module, "urlpatterns", 
> self.urlconf_module)
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 689, 
> in urlconf_module
>     return import_module(self.urlconf_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 "/usr/lib/python3/dist-packages/openstack_dashboard/test/urls.py", 
> line 41, in <module>
>     re_path(r'', horizon.base._wrapped_include(horizon.urls)),
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 101, in 
> _wrapped_include
>     return include((pattern_list, app_namespace), 
> namespace=instance_namespace)
>   File "/usr/lib/python3/dist-packages/django/urls/conf.py", line 37, in 
> include
>     if isinstance(urlconf_module, str):
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 258, 
> in inner
>     self._setup()
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 398, 
> in _setup
>     self._wrapped = self._setupfunc()
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 842, in 
> url_patterns
>     return self._urls()[0]
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 849, in _urls
>     self._autodiscover()
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 898, in 
> _autodiscover
>     import_module('%s.%s' % (app, mod_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>>/masakaridashboard/dashboard.py", line 18, 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)
> Excluding test tag(s): integration.
> Found 0 test(s).
> Skipping setup of unused database(s): default.
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/manage.py", line 25, 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 440, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", 
> line 24, in run_from_argv
>     super().run_from_argv(argv)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 414, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 460, in execute
>     output = self.handle(*args, **options)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", 
> line 68, in handle
>     failures = test_runner.run_tests(test_labels)
>   File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1006, in 
> run_tests
>     self.run_checks(databases)
>   File "/usr/lib/python3/dist-packages/django/test/runner.py", line 925, in 
> run_checks
>     call_command("check", verbosity=self.verbosity, databases=databases)
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 198, in call_command
>     return command.execute(*args, **defaults)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 460, in execute
>     output = self.handle(*args, **options)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/check.py", 
> line 76, in handle
>     self.check(
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 487, in check
>     all_issues = checks.run_checks(
>   File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line 
> 88, in run_checks
>     new_errors = check(app_configs=app_configs, databases=databases)
>   File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 14, 
> in check_url_config
>     return check_resolver(resolver)
>   File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 24, 
> in check_resolver
>     return check_method()
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 480, 
> in check
>     for pattern in self.url_patterns:
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 696, 
> in url_patterns
>     patterns = getattr(self.urlconf_module, "urlpatterns", 
> self.urlconf_module)
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 689, 
> in urlconf_module
>     return import_module(self.urlconf_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 "/usr/lib/python3/dist-packages/openstack_dashboard/test/urls.py", 
> line 41, in <module>
>     re_path(r'', horizon.base._wrapped_include(horizon.urls)),
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 101, in 
> _wrapped_include
>     return include((pattern_list, app_namespace), 
> namespace=instance_namespace)
>   File "/usr/lib/python3/dist-packages/django/urls/conf.py", line 37, in 
> include
>     if isinstance(urlconf_module, str):
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 258, 
> in inner
>     self._setup()
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 398, 
> in _setup
>     self._wrapped = self._setupfunc()
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 842, in 
> url_patterns
>     return self._urls()[0]
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 849, in _urls
>     self._autodiscover()
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 898, in 
> _autodiscover
>     import_module('%s.%s' % (app, mod_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>>/masakaridashboard/dashboard.py", line 18, 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)
> make[1]: *** [debian/rules:46: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/masakari-dashboard_6.0.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&[email protected]&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: masakari-dashboard
Source-Version: 6.0.0-2
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
masakari-dashboard, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated masakari-dashboard 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 30 Jul 2022 10:31:29 +0200
Source: masakari-dashboard
Architecture: source
Version: 6.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1015104
Changes:
 masakari-dashboard (6.0.0-2) unstable; urgency=medium
 .
   * Add Django 4 compat patches (Closes: #1015104):
     - django-4-django.conf.urls.url-is-removed.patch
     - django-4-ugettext_lazy-is-removed.patch
Checksums-Sha1:
 6007a5a3530706ae49d84b931049446059cf53e7 2421 masakari-dashboard_6.0.0-2.dsc
 19b435ad7e1c4754f018a72576494038fb97d3a9 4444 
masakari-dashboard_6.0.0-2.debian.tar.xz
 3057a0b8e8eaec5e08bf2dcb994490f37e020b37 16465 
masakari-dashboard_6.0.0-2_amd64.buildinfo
Checksums-Sha256:
 72a2028b494dc42be1d27e70b16b7d9b0524beffd8ab55459d9d4c21826848d1 2421 
masakari-dashboard_6.0.0-2.dsc
 d276134087cad308dd46d7c0c2816c07606ef2d2a5963a6c8a7255c6463bfe82 4444 
masakari-dashboard_6.0.0-2.debian.tar.xz
 fda424b76e53cbf67079c2be7637632df5f421a9b17053ef365e5c4ae2858441 16465 
masakari-dashboard_6.0.0-2_amd64.buildinfo
Files:
 1775b18794e1ea1ba43320ad45ae7525 2421 python optional 
masakari-dashboard_6.0.0-2.dsc
 ba6d40e0edbfb309f26749a5d83da7d7 4444 python optional 
masakari-dashboard_6.0.0-2.debian.tar.xz
 b0cdfe548876ba0b41d7b98b48cb385e 16465 python optional 
masakari-dashboard_6.0.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmLk7PUACgkQ1BatFaxr
Q/6NrBAAjNu7eGURD7MYo4CH/uklNcTjkEEkFQk15DxMECmHqWQt+/In7oziimxJ
74QV9hHt4f2sAGl9axd7xXUEg3+0wJuxY5Se4r/EakmoM5BCIUDBl3diFQfirp1k
FNnoWbTIuPYCDtVE/rWtWzx83gmvyQAmq9A2NaL7mH+NjZjqQKH94pzC0SavQrvJ
8WRaHT91th94AwEwWuxdSbyT8i5R3tm0AYFGODIxWcWymHRJchr3HS2Q0uTg890a
LHJjBVIHoIU0ZkV1UztIbEXzjoEiKCG7NhIbifU49Sgbltwbd8juHiMmQgExQ8e/
h7IOZuxxcKp5CwTIqi6VoezKjNxFxgog4aMg7MSjHWqH4aNleRI25aE3am6hyGG/
6nnSVu68hBuA0uJHE3+Zq/Ht6j/fNuXomp22wZrSyKlEuGyoAeeI0YfTj5gFpZ2f
8mx4WAnv1DxPH92+Dz5oAbTlJDOKe+3flCP3PyiuqdHwjdTXQnlbE89354OLDCjK
dvW2WrqoBe7EEYnzPiBsuEHTjBZbvJo3ZngQ/coXmeyDEZtbeINco3niblieIfTR
ZAOy5RiSVDVZBmjwCOkbAz8WgJsJG63LRLHlSaGHA3eLb0Lvc1Ng2JuW2gh0Rt8F
QBkGqfTu3DhmSw1dAKemsY/YX7RqFk8Smlsr00BGwfRPIOt978o=
=jjaC
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to