Public bug reported:

Setting up python3-django-maas (2.5.0~beta2-7291-gd0345ced5-0ubuntu1) ...
  File "/usr/lib/python3/dist-packages/maasserver/clusterrpc/boot_images.py", 
line 30
    from maasserver.utils import async
                                     ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/maasserver/clusterrpc/osystems.py", line 
22
    from maasserver.utils import async
                                     ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/maasserver/clusterrpc/utils.py", line 20
    from maasserver.utils import async
                                     ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 77
    from maasserver.utils.async import DeferredHooks
                              ^
SyntaxError: invalid syntax

dpkg: error processing package python3-django-maas (--configure):
 installed python3-django-maas package post-installation script subprocess 
returned error exit status 1
dpkg: dependency problems prevent configuration of maas:
 maas depends on python3-django-maas (= 2.5.0~beta2-7291-gd0345ced5-0ubuntu1); 
however:
  Package python3-django-maas is not configured yet.


This thus prevents building disco server subiquity images.

I guess async.py needs to be renamed to something else.

** Affects: maas
     Importance: Undecided
         Status: New

** Affects: maas (Ubuntu)
     Importance: Critical
         Status: New

** Changed in: maas (Ubuntu)
   Importance: Undecided => Critical

** Also affects: maas
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801899

Title:
  cannot install with python3.7 as default async is a reserved keyword

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1801899/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to